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

BalancedRandomSampler #32

Open
srguo24 opened this issue Aug 13, 2024 · 0 comments
Open

BalancedRandomSampler #32

srguo24 opened this issue Aug 13, 2024 · 0 comments

Comments

@srguo24
Copy link

srguo24 commented Aug 13, 2024

if hasattr(self.args, 'balanced_sampler') and self.args.balanced_sampler and train:

In the above line there's a BalancedRandomSampler class that does not seem to be defined or imported anywhere, which causes an error when I try to create the dataloader with the corresponding args.

I see in the sampling script that for class conditioning, the model should generate an equal number of samples for each class when calculating FVD. Should this class balance also be enforced for the true samples?

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

1 participant