qiaoguan / Person-reid-GAN-pytorch

A Pytorch Implementation of "Unlabeled Samples Generated by GAN Improve the Person Re-identification Baseline in vitro"(ICCV17)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

when I change the numworks to 0,I meet the new problem

XXXxiaoxiaoxia opened this issue · comments

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

Process finished with exit code 1

commented

check the training data to see the label of the data, do you run changeindex.py?

thank you,I have solved it.

I have another question, how to get train_new? run changeindex.py just can get val_new