-
Notifications
You must be signed in to change notification settings - Fork 7
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
dataset shape not match in AVS #18
Comments
May I ask if you've solved the issue? |
I'll fix it recently. |
Thank you for your excellent work. I've recently encountered a similar problem with debugging code. |
Most of the bugs come from the version of timm. please use the exact version of timm and single gpu |
Thank you very much for your reply. I installed timm==0.6.7 and set up single GPU, but it still prompts the same error "RuntimeError:Given normalized_shape=[1536],expected input with shape[*,1536],but got input of size[10,3,192,192]", the error occurs at line 492 x=self.swin.norm(x) in PVT_AVSModel.py. May I ask where else the problem could be caused? Looking forward to hearing from you, thanks again.
At 2024-03-19 00:25:00, "GenjiB" ***@***.***> wrote:
Most of the bugs come from the version of timm. please use the exact version of timm and single gpu
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
I try to run the code of avs, but the following error occurs:
XXXXXXXXXXXXXXXXX
File "../LAVISH/AVS/avs_scripts/avs_s4/model/PVT_AVSModel.py", line 492, in forward
x = self.swin.norm(x)
XXXXXXXXXXXXXXXXX
RuntimeError: Given normalized_shape=[1536], expected input with shape [*, 1536], but got input of size[5, 3, 192, 192]
The text was updated successfully, but these errors were encountered: