qiaoguan / Person-reid-GAN-pytorch

A Pytorch Implementation of "Unlabeled Samples Generated by GAN Improve the Person Re-identification Baseline in vitro"(ICCV17)
158 stars 49 forks source link

I meet a problem and have no ideal to solve It #13

Open XXXxiaoxiaoxia opened 6 years ago

XXXxiaoxiaoxia commented 6 years ago

logpt = logpt.gather(1, target) # here is a problem RuntimeError: Invalid index in gather at c:\users\administrator\downloads\new-builder\win-wheel\pytorch\aten\src\th\generic/THTensorMath.c:600

qiaoguan commented 6 years ago

just change the index of the image using changeIndex.py, someone have issued this question before!