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

Missing files #1

Open
Roberto7766 opened this issue Nov 21, 2020 · 1 comment
Open

Missing files #1

Roberto7766 opened this issue Nov 21, 2020 · 1 comment

Comments

@Roberto7766
Copy link

Hello,
I'm trying to run the project but I'm unable to find some required files, although I think I downloaded all the files from Google drive.
In particular, if I run:
gpus=0 python_exc=python train_set=msmt17 testset_names=msmt17 only_test=True bash train_mgn.sh
I obtain:
No such file or directory: '.../msmt17/MSMT17_V1/list_train.txt'
I was not able to find list_train.txt within the downloaded files.

If I run instead:
gpus=0 python_exc=python train_set=market1501 testset_names=market1501 only_test=True bash train_mgn.sh
I obtain:
model_weight_file exp/train_mgn/market1501/model_weight.pth does not exist!
The same applies for cuhk03 and duke.

I see lot of ckpt.pth files in the \exp\eanet\test_paper_models\ subdirectories, but even if I modify the name into model_weight.pth and copy it in the right directory, it does not work as well (unexpected key(s) in state dict). I also tried to use model_weight.pth for MSMT17->MSMT17 on Google drive but I get size mismatches when I load the weight.

Am I doing something wrong?
Thanks

@huanghoujing
Copy link
Owner

  1. Hi, do you have this file .../msmt17/MSMT17_V1/list_train.txt on your disk? You may check that first.
  2. This project only provides model weight for MGN and MGN+PS trained on MSMT17.
    Model weight for MGN: Baidu Cloud (password l5vk) or Google Drive
    Model weight for MGN+PS: Baidu Cloud (password 3u8a) or Google Drive
    You may refer to the README for details.
  3. The directory exp/eanet/test_paper_models is not for this project. Maybe you encounter this directory when downloading dataset files. You can not use it to run this project. Sorry if I made it unclear in the README introduction.

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

2 participants