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

cannot run inference mismatch sizes #17

Open
kirk86 opened this issue Aug 23, 2019 · 2 comments
Open

cannot run inference mismatch sizes #17

kirk86 opened this issue Aug 23, 2019 · 2 comments

Comments

@kirk86
Copy link

kirk86 commented Aug 23, 2019

Hi, I was trying to run inference on the trained model using the test.py script but first there's an error on ordered dict iteritems() method which should be chnaged into items() and the other thing is that there are a lot of mismatches when loading the weighst into the model. Here's a screenshot:

image

Any ideas how to resolve those?

@prlz77
Copy link
Owner

prlz77 commented Aug 26, 2019

Hi @kirk86 there was an update on train.py that wasn't reflected in test.py. I have updated it. Thanks for pointing it out :)

https://github.com/prlz77/ResNeXt.pytorch/blob/master/test.py#L73

@ma3252788
Copy link

The same problem!!!

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