You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing recipes, an error was thrown for all MetricGAN recipes. This report points to one log only, but it is alike for all three MetricGAN recipes.
RuntimeError: cannot sample n_sample > prob_dist.size(-1) samples without replacement
Expected behaviour
No error
To Reproduce
No response
Versions
No response
Relevant log output
File "speechbrain/recipes/Voicebank/enhance/MetricGAN/train.py", line 371, in train_discriminator
self.fit(
...
File "torch/utils/data/sampler.py", line 203, in __iter__
rand_tensor = torch.multinomial(self.weights, self.num_samples, self.replacement, generator=self.generator)
RuntimeError: cannot sample n_sample > prob_dist.size(-1) samples without replacement
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
While testing recipes, an error was thrown for all MetricGAN recipes. This report points to one log only, but it is alike for all three MetricGAN recipes.
RuntimeError: cannot sample n_sample > prob_dist.size(-1) samples without replacement
Expected behaviour
No error
To Reproduce
No response
Versions
No response
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: