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

Using our own dataset for testing #42

Closed
xertxiao opened this issue Aug 3, 2018 · 6 comments
Closed

Using our own dataset for testing #42

xertxiao opened this issue Aug 3, 2018 · 6 comments

Comments

@xertxiao
Copy link

xertxiao commented Aug 3, 2018

Is there a way to prepare our own dataset and test the models on it? Thanks

@KaiyangZhou
Copy link
Owner

Yes, you could follow .py files in dataset_manager/ and write your own dataset classes.

@xertxiao
Copy link
Author

xertxiao commented Aug 3, 2018

Thanks!

@xertxiao
Copy link
Author

xertxiao commented Aug 5, 2018

Hi, I was trying to use a pre-trained market1501 model on my own dataset but failed. The error messages says that this pre-trained model expect a "torch.Size([751])" (I suspect this 751 is the total ids of people in market) but my dataset has "torch.Size([16])", where 16 is total ids of my dataset. Is there anything I can do to resolve this? Thanks again.

@xertxiao
Copy link
Author

xertxiao commented Aug 5, 2018

@KaiyangZhou thanks!

@KaiyangZhou
Copy link
Owner

use --load-weights.

@xertxiao
Copy link
Author

xertxiao commented Aug 6, 2018

Thanks for helping!

@xertxiao xertxiao closed this as completed Aug 6, 2018
kprokofi added a commit to sovrasov/deep-person-reid that referenced this issue Aug 4, 2021
* fix strat script

* remove print
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