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

TypeError: cannot serialize '_io.BufferedReader' object #37

Open
123wonderland opened this issue Mar 16, 2020 · 1 comment
Open

TypeError: cannot serialize '_io.BufferedReader' object #37

123wonderland opened this issue Mar 16, 2020 · 1 comment

Comments

@123wonderland
Copy link

demo.ipynb
trainer.train(batch_size=8,
epochs=20)
TypeError: cannot serialize '_io.BufferedReader' object

@angeloyeo
Copy link

Would you comment out the line 58 of wavenet_training.py?

In my case,

    self.dataloader = torch.utils.data.DataLoader(self.dataset,
                                                  batch_size=batch_size,
                                                  shuffle=True,
                                                  # num_workers=8,
                                                  pin_memory=False)

commenting out the "num_workers=8" has made progress.

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