-
Notifications
You must be signed in to change notification settings - Fork 19
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
Cannot reshape tensor of 0 elements into shape [0, -1, 256, 256] because the unspecified dimension size -1 can be any value and is ambiguous #1
Comments
Having tested this again, it works only with the default photo on Replicate, any other photo, it fails. I've tried different formats, color profiles, sizes, compression levels, but alway hit this error either via the replicate web form or the Replicate API. I guess it has somthing to do with the source image but I can't figure out what.. Any help much appreciated! |
Thanks for reporting, Il check it in following days |
Ok thanks! 👌🏽 |
I just tried it, same problem. |
I think i have figured out the problem, you have to define the correct negative prompt(items you don't want masked). |
Hi, I'm not sure because the script has a default negative prompt and running it on Replicate doesn't fail if you remove it |
Hi! Both the web form and API calls to Replicate fail when I run this model: https://replicate.com/schananas/grounded_sam
The text was updated successfully, but these errors were encountered: