layumi / AICIty-reID-2020

:red_car: The 1st Place Submission to AICity Challenge 2020 re-id track (Baidu-UTS submission)
MIT License
455 stars 108 forks source link

关于prepare_2020生成的gallery这个文件夹 #40

Open hongrunqv opened 3 years ago

hongrunqv commented 3 years ago

你好,在prepare_2020.py中生成了gallery这个文件夹,但并没有程序往这个文件夹中添加,但在运行test_2020.py中会报错,说这个文件夹中没有图片

wanglaotou commented 3 years ago

same problem here.

xh7682 commented 3 years ago

确实没有生成gallery中的图片

Littlecencen commented 2 years ago

请问这个问题如何解决?

layumi commented 2 years ago

Sorry for the late response.

  1. (Test gallery) Actually, the official dataset provide the test gallery to test the model.

  2. (Validation gallery) If you want to use the validation, you may refer to this line. Just use all train_real as the gallery. https://github.com/layumi/AICIty-reID-2020/blob/master/pytorch/prepare_2020.py#L86

  3. (Larger Validation gallery) You even can add the virtual data as well as the test gallery to gallery. These data can be viewed as the distractor to evaluate the model.