-
Notifications
You must be signed in to change notification settings - Fork 2
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
Problem with inference UFONE class #2
Comments
Hi, we use the function ‘check_image_size’ in the DITN class to ensure that the image size matches the model. Please check whether it is used in your code. |
Hi, yes it is used, but the error is still present.
|
What is the size of your input image? Or how should I reproduce your problem? |
Hi, I can successfully run the program using the pictures provided and cannot reproduce the problem you describe.
I suggest you re-download the code from our repository and run it again to make sure your code has not been modified incorrectly~ |
Thank you, i will try :) |
I want to add also that i am using torch 1.13.1 |
For the specified image, using your code without changing.
|
Hi, thank you for the wonderful work :)
Trying to do inference on some images, some are successful, while others gives error in the UFONE class in the forward function, in particular the error is:
in particular it seems to happen with images that are not compatible with patch_size = 8
Thank you :)
The text was updated successfully, but these errors were encountered: