Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ihamdi opened this issue Nov 22, 2021 · 1 comment
Open

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

ihamdi opened this issue Nov 22, 2021 · 1 comment

Comments

@ihamdi
Copy link

ihamdi commented Nov 22, 2021

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.

@ptwd
Copy link

ptwd commented Sep 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants