mangye16 / DDAG

Pytorch Code of DDAG for Visible-Infrared Person Re-Identification (ECCV20)
MIT License
71 stars 16 forks source link

NameError: name 'queryset' is not defined #1

Closed hyzl-4869 closed 3 years ago

hyzl-4869 commented 3 years ago

Excuse me. When I test on Regdb , there is a NameError that"name 'queryset' is not defined" How can I solve it? Thank you!!!!

Traceback (most recent call last): File "test_ddag.py",line 152, in query_loader = data.DataLoader(queryset, batchsize=args.test_batch, shuffle=False, num_workers=4) NameError: name 'queryset' is not defined

mangye16 commented 3 years ago

Can you successfully train on RegDB?

You may refer to the test.py for the testing on RegDB. I will update the "test_ddag.py" soon.

hyzl-4869 commented 3 years ago

Can you successfully train on RegDB?

You may refer to the test.py for the testing on RegDB. I will update the "test_ddag.py" soon.

Yes.I can train on RegDB successfully.But I can not test on it by test_ddag.py. I tried to modify the code and can test successfully, but I don't think the code is perfect.

mangye16 commented 3 years ago

Sorry for the caused inconvenience. I may optimize the code soon.