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

Difference with WeightedRandomSampler #14

Open
hossein-h opened this issue May 22, 2020 · 1 comment
Open

Difference with WeightedRandomSampler #14

hossein-h opened this issue May 22, 2020 · 1 comment

Comments

@hossein-h
Copy link

hossein-h commented May 22, 2020

What is the difference between this sampler and WeightedRandomSampler in pytorch?
Is it only that in WeightedRandomSampler we need to give the weights and num_samples as input? But, here we give dataset as input?

Thanks

@david-siqi-liu
Copy link

Based on my experimentation, these two samplers appear to behave in the same way

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