Skip to content
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

Great work! But I met some issues #12

Open
a791702141 opened this issue Oct 20, 2021 · 3 comments
Open

Great work! But I met some issues #12

a791702141 opened this issue Oct 20, 2021 · 3 comments

Comments

@a791702141
Copy link

Great works! It can get amazing results in image classification generalization. But when I run the reid code, I met this problem:

Traceback (most recent call last):
File "main.py", line 214, in
main()
File "main.py", line 139, in main
cfg.merge_from_list(args.opts)
File "/opt/conda/lib/python3.8/site-packages/yacs/config.py", line 223, in merge_from_list
_assert_with_logging(
File "/opt/conda/lib/python3.8/site-packages/yacs/config.py", line 545, in _assert_with_logging
assert cond, msg
AssertionError: Override list has odd length: ['osnet_x1_0_ms23_a0d1', 'data.save_dir', 'output/osnet_x1_0_ms23_a0d1/market2duke']; it must be a list of pairs
Traceback (most recent call last):
File "main.py", line 214, in
main()
File "main.py", line 139, in main
cfg.merge_from_list(args.opts)
File "/opt/conda/lib/python3.8/site-packages/yacs/config.py", line 223, in merge_from_list
_assert_with_logging(
File "/opt/conda/lib/python3.8/site-packages/yacs/config.py", line 545, in _assert_with_logging
assert cond, msg
AssertionError: Override list has odd length: ['osnet_x1_0_ms23_a0d1', 'data.save_dir', 'output/osnet_x1_0_ms23_a0d1/duke2market']; it must be a list of pairs

And another problem is I don't find how to organize the data and where to download them, should I just put Market1501 and Duke in the same folder as "data_dir"?

@KaiyangZhou
Copy link
Owner

The error is probably caused by a incorrect command. What command did you use?

For the datasets, you can follow Torchreid's documentation.

@a791702141
Copy link
Author

Thanks, I have solved the problem.

@Nirmala891
Copy link

Thanks, I have solved the problem.

Hi, I am facing the same issue. Can you please help me out.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants