albumentations-team / autoalbument

AutoML for image augmentation. AutoAlbument uses the Faster AutoAugment algorithm to find optimal augmentation policies. Documentation - https://albumentations.ai/docs/autoalbument/

Home Page:https://albumentations.ai/docs/autoalbument/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

empty range for randrange() (0,-xx, -x)

ihamdi opened this issue · comments

I'm trying to use the json file generated by autoaugment but I keep getting "ValueError: empty range for randrange() (0,-xx, -xx)"

The autoalbument is still training and generating new json for each epoch so I tried many epochs hoping randrange would be fixed at some point but its still the same.

commented

Maybe, you tried to train the model with an image size smaller than the image size used in the automatic argument-search. Image size should be more than that.
Or, I think there is a way to change the get_params_dependent_on_targets function of arguments/augments/dropout/coarse_dropout.py so that the randint function has the correct value.