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

Something about the Sampler #39

Open
Frost-Yang-99 opened this issue Apr 3, 2021 · 1 comment
Open

Something about the Sampler #39

Frost-Yang-99 opened this issue Apr 3, 2021 · 1 comment

Comments

@Frost-Yang-99
Copy link

Hi, I have read the code about the dist_samplers, and I have a question about it. It seems that in a epoch you don't sample all qualified images in a dataset. the number of images in a epoch seems depend on the 'num_instance' and the 'num of pid' in this dataset(For example, if we use market1501, we should sampler more than 10000 images in a epoch, but now we only sample 'num_instances * pids' images in a epoch). Will this have a bad effect on the model and final results due to the lack of images diversity in a epoch?
3Q >_<

@yxgeee
Copy link
Contributor

yxgeee commented Apr 4, 2021

A good question. Actually, I am not sure about it. I used such an identity sampler according to its wide usage in person re-id applications. You could try to modify it for more diverse samples for training. Welcome to show your results here.

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