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

RuntimeError: the derivative for 'target' is not implemented #11

Closed zhuyingSeu closed 5 years ago

zhuyingSeu commented 5 years ago

Thanks for your sharing! When I ran the train.py and changed the bachsize to 8, the error occured as below. problem I can not figure out how to solve it.

winper001 commented 5 years ago

Thanks for your sharing! When I ran the train.py and changed the bachsize to 8, the error occured as below. problem I can not figure out how to solve it.

hi,do you solve this problem?

yxgeee commented 5 years ago

Please check if the target is empty or not.

mehdirostami commented 5 years ago

I restarted my ipython and it worked.