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

ZeroDivisionError: division by zero #41

Open
Sususuqii opened this issue Dec 21, 2020 · 0 comments
Open

ZeroDivisionError: division by zero #41

Sususuqii opened this issue Dec 21, 2020 · 0 comments

Comments

@Sususuqii
Copy link

Traceback (most recent call last):
File "train_script.py", line 87, in
continue_training_at_step=0)
File "/disk2/sushunqi/pytorch-wavenet-master/wavenet_training.py", line 90, in train
self.logger.log(step, loss)
File "/disk2/sushunqi/pytorch-wavenet-master/model_logging.py", line 35, in log
self.validate(current_step)
File "/disk2/sushunqi/pytorch-wavenet-master/model_logging.py", line 86, in validate
avg_loss, avg_accuracy = self.trainer.validate()
File "/disk2/sushunqi/pytorch-wavenet-master/wavenet_training.py", line 110, in validate
avg_loss = total_loss / len(self.dataloader)
ZeroDivisionError: division by zero

Thank you very much!!

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