yxgeee / FD-GAN

[NeurIPS-2018] FD-GAN: Pose-guided Feature Distilling GAN for Robust Person Re-identification.
https://yxgeee.github.io/projects/fdgan.html
281 stars 80 forks source link

stageII #16

Closed ahuwangsheng closed 5 years ago

ahuwangsheng commented 5 years ago

default

cppntn commented 5 years ago

I've encountered the same error

ahuwangsheng commented 5 years ago

我遇到了同样的错误

Have you solved your problem

yxgeee commented 5 years ago

Please check the key names for state_dict and SiameseNet, if they begins with 'module.' or not.

ahuwangsheng commented 5 years ago

Do you have any reference materials that you can recommend @yxgeee

yxgeee commented 5 years ago

Do you have any reference materials that you can recommend @yxgeee

You can print the state_dict.keys() and SiameseNet.state_dict().keys() for reference, the load_state_dict() function works when the key names match.

ahuwangsheng commented 5 years ago

thank you! @yxgeee