-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReID training #244
Comments
Hi~, what command did you run to generate ReID Dataset? By default, we use |
I think you can check how many IDs in |
Hi |
What is the ID range in the file |
Hi, in the file And I modify slightly |
Thanks for your reply, we will fix the bug soon. |
Hi, most welcome, although I am not sure if its really a bug or maybe my slight modification causes the error. |
Hi, @yonafalinie , It's a bug introduced from tools/convert_datasets/mot2reid.py. |
Thanks for your error report and we appreciate it a lot.
Checklist
Describe the bug
A clear and concise description of what the bug is.
Reproduction
Environment
python mmtrack/utils/collect_env.py
to collect necessary environment information and paste it here.sys.platform: linux
Python: 3.8.11 (default, Jul 3 2021, 17:53:42) [GCC 7.5.0]
CUDA available: True
GPU 0: TITAN Xp
CUDA_HOME: None
GCC: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
PyTorch: 1.7.1+cu101
PyTorch compiling details: PyTorch built with:
TorchVision: 0.8.2+cu101
OpenCV: 4.5.3
MMCV: 1.3.11
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 10.1
MMTracking: 0.6.0+4d78b77
$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)Error traceback
If applicable, paste the error trackback here.
Bug fix
From the error above, I can assume that its because of the number of classes. From the default config, num of class is being set as 378, which is taken from train_80.txt, hence the error appear. However, when I set the num of class as 512, which is the number of samples in imgs folder, Im able to run the training without any error. Is there something that I missed, or the number of classes could be the main problem here?
The text was updated successfully, but these errors were encountered: