ResNeXt.pytorch icon indicating copy to clipboard operation
ResNeXt.pytorch copied to clipboard

cannot run inference mismatch sizes

Open kirk86 opened this issue 6 years ago • 2 comments

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?

kirk86 avatar Aug 23 '19 10:08 kirk86

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

prlz77 avatar Aug 26 '19 17:08 prlz77

The same problem!!!

ma3252788 avatar Aug 01 '20 16:08 ma3252788