Skip to content
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

Shape error when running test.sh #34

Open
chinmaypr opened this issue Sep 29, 2021 · 3 comments
Open

Shape error when running test.sh #34

chinmaypr opened this issue Sep 29, 2021 · 3 comments

Comments

@chinmaypr
Copy link

chinmaypr commented Sep 29, 2021

@menyifang I am trying to reproduce your work via pre-trained model privided in your google drive link. After following all your steps, when I run bash ./scripts/test.sh I get the following error

RuntimeError: The size of tensor a (256) must match the size of tensor b (176) at non-singleton dimension 3

This seems to arise from the following operation in the file model_adgen.py
xi = x.mul(semi)

My arguments are the same as the one mentioned in #6. What is the reason for this error? Please help.

@little-misfit
Copy link

Hey,i also have been encountered this error, have you solve this question?
or can you give me some suggestion about it?
Thanks,best wish

@bill20th
Copy link

Run resize_fashion.py before test.py and you should be fine !

@little-misfit
Copy link

Run resize_fashion.py before test.py and you should be fine !

thanks for your answer ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants