Contribute¶
Report your past augmentation practice¶
Fill in this short survey
Propose your customize functions¶
beacon_aug
will automatically mode your operator to augmentation operator
Name: Class name has to be the same with python file name
if classname exist in json file in standard :
append a
custom
library function to the existing beacon_aug class
else:
create a beacon_aug class with the same name that only support the
custom
library
See example in KeepSizeCrop.py
Test the operator function itself:
from beacon_aug.generator.custom.KeepSizeCrop import KeepSizeCrop
op = KeepSizeCrop( scale=(0.08, 1.0))
img_transformed = op(img )
Test the augmentation wrapper:
import beacon_aug as BA
aug = BA.KeepSizeCrop(p=1, height=64,width=64, library="custom")
image_auged = aug(image=image)["image"]
Contribute to the repo¶
Create your own branch git branch -d {Your_LDAP}/{branch_name}