-
Notifications
You must be signed in to change notification settings - Fork 88
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
Failed to run image_generator.py because randint arg is negative number #13
Comments
Do you fix this problem? I meet the same error,but I do not know how to fix it. |
I meet the same error too. If you fixed the problem, Could you tell me how to fix it? RuntimeWarning: divide by zero encountered in long_scalars |
I have same problems. But, I can't fix this code. |
try it, and tell me the results. |
I just fix the minimum_crop to a smaller value than before, I chose 0.75 . And the code is gone. |
I fixed it by switching random_overlay_image() function to following scripts,
Please have a try |
@leetenki
Failed to run image_generator.py because randint arg is negative number
I got the errors in the image_generator.py .
First:
Second:
The text was updated successfully, but these errors were encountered: