-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
RuntimeError: nonzero is not supported for tensors with more than INT_MAX elements, file a support request #427
Comments
What size image are you using? I got this error when using images of dimension 4096x3072 but after scaling the x-dimension to 3600, the problem went away. I did further testing with different sized images and it seems that small images do not have any problem, but large images produce this error. Unless I'm missing something, it seems that there's an upper limit to the size of images you can use. |
Any updates on that issue? In the paper, chapter 5, section "Images" they state that images are 3300×4950 pixels on average. |
May be related to this issue: |
I have the same problem, still no response |
Resizing the image worked for me with max_dimension =1024
|
I got this error at this line
masks = mask_generator.generate(image)
. What caused the error?The text was updated successfully, but these errors were encountered: