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

Issue while running test.py #51

Closed
a7b23 opened this issue Mar 1, 2019 · 8 comments
Closed

Issue while running test.py #51

a7b23 opened this issue Mar 1, 2019 · 8 comments

Comments

@a7b23
Copy link

a7b23 commented Mar 1, 2019

Hi, I am getting the following error when running the code. I am using python3.6 and have installed the latest pytorch version(1.0).
screenshot from 2019-03-01 19-35-51

Could you suggest the issue involved ?

@Ibrahim788
Copy link

I'm running into the same issue. I had it working with the edge2handbags dataset then that broke too the next time a pulled down the code base. Any luck solving the issue?

@fishzhouz
Copy link

yeah,that is exactly what I've met.A few days ago,I runned this pre-trained model,it works out on edges2shoes . but in recently days ,It seems broken, as this same problem,Have you fixed that?How?

@shazhongcheng
Copy link

i also meet this question,and i really dont know how to fix it……so sad

@fishzhouz
Copy link

fishzhouz commented Mar 12, 2019

Without having deeper knowledge of this project, a mismatch between [1, 256, 256] and [3, 256, 256] could be due to using a greyscale image where an RGB image is expected (and that the software is not built to handle this gracefully). I would suggest that you ensure, whenever you get this error, that all images used are of the correct type, and modify them if not.

There are so many people have this problem.It can't be the picture's reason,OK? I can't convince you before you clone this project and use it. A few days ago, it worked out .Now,It doesn't work totally!
As you said , you have very deep knowledge of this project? OK ,here is the question:why are these two class different from input_NC? fix it , handsome bro!
NM{Q3_7~8Y KZ9QID7A YPQ
_PG8DU O06` V8J4WUBVO$K

@htoyryla
Copy link

Looks like there's been changes recently to nc handling

a7d3ed3#diff-ed1377284a526e0e538bf75912429515R24:25

so the error could be due to code changes.

@fishzhouz
Copy link

Looks like there's been changes recently to nc handling

a7d3ed3#diff-ed1377284a526e0e538bf75912429515R24:25

so the error could be due to code changes.

Hello,do you remember me?But I'm not the one who argued with you just now.My account was lost.I,m sorry to you.~

@junyanz
Copy link
Owner

junyanz commented Mar 26, 2019

Would it be possible to share with me more details? Are you using the latest code? I ran the following code and haven't been able to reproduce this error.

bash ./datasets/download_testset.sh edges2shoes
bash ./pretrained_models/download_model.sh edges2shoes
bash ./scripts/test_edges2shoes.sh
bash ./scripts/train_edges2shoes.sh

@junyanz
Copy link
Owner

junyanz commented Apr 14, 2019

Hi folks, could you try the latest commit? Hopefully, it can address your issues.

@junyanz junyanz closed this as completed Apr 15, 2019
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

6 participants