Volumentations
Python library for 3d data augmentaiton. Hard fork from alumentations.
For more information on available augmentations check documentation.
Or, check simple example in colab:
Setup
pip install volumentations
Usage example
import volumentations as V
import numpy as np
augmentation = V.Compose(
[
V.Scale3d(scale_limit=(0.2, 0.2, 0.1), p=0.75),
V.OneOrOther(
V.Compose(
[
V.RotateAroundAxis3d(
rotation_limit=np.pi, axis=(0, 0, 1), always_apply=True
),
V.RotateAroundAxis3d(
rotation_limit=np.pi / 3, axis=(0, 1, 0), always_apply=True
),
V.RotateAroundAxis3d(
rotation_limit=np.pi / 3, axis=(1, 0, 0), always_apply=True
),
],
p=1,
),
V.Flip3d(axis=(0, 0, 1)),
),
V.OneOf(
[
V.RandomDropout3d(dropout_ratio=0.2, p=0.75),
V.RandomDropout3d(dropout_ratio=0.3, p=0.5),
]
),
]
)
augmented_teapot = augmentation(points=teapot.copy())["points"]
show_augmentation(teapot, augmented_teapot)
Metadata
Release files for volumentations 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| volumentations-0.1.9.tar.gz | 126.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| volumentations-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 142.0 kB
Release files / volumentations-0.1.9.tar.gz
| Download URL | volumentations-0.1.9.tar.gz |
|---|---|
| Size | 126.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aba5d1f79a905297d5ddc51af941a86ee61b01eb8832c1049aee4fb9b220b24a
|
|
BLAKE2b-256 checksum How to use checksums |
2d8cd9fd97d8bfb13007fde059e1e22b14cc1e88a7ef940b1d5d3b085e1d2774
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.4
|
Release files / volumentations-0.1.9-py3-none-any.whl
| Download URL | volumentations-0.1.9-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a660a5776269f520424d047ad5bfced7e60ae852b3c3c8bd3ba445cef4a8e19
|
|
BLAKE2b-256 checksum How to use checksums |
b7045f4e659093c7860b3a390bb2850c2d92f5e815e253943a5f98c9eb7a8d0f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.4
|