-
Notifications
You must be signed in to change notification settings - Fork 91
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
change the size of the input image #9
Comments
same here! |
Have you solved it yet?Is there any way?thanks! |
args.image_size and also loading matched size of pre-trained weights. |
Is the input image size of the SAM model fixed at 1024? It seems that an error occurs when inputting images of other sizes. I tried using a 512-sized image and it resulted in a RuntimeError: The size of tensor a (32) must match the size of tensor b (64) at non-singleton dimension 2. |
now the image size can be changed. just set '-image_size' parameter. sorry for the long wait. |
If I want to change the size of the input image and train it, what should I change
The text was updated successfully, but these errors were encountered: