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

Something error in dataloader multiprocessing #13

Open
Frreed opened this issue Oct 30, 2022 · 2 comments
Open

Something error in dataloader multiprocessing #13

Frreed opened this issue Oct 30, 2022 · 2 comments

Comments

@Frreed
Copy link

Frreed commented Oct 30, 2022

Hi,
i try to re-train the model from scratch, but after the first epoch, there is an AssertionError. But the program still can execute the next epoch, i wanna ask is that a normal phenomenon or influence the final results?
屏幕截图(15)

@sanghiad
Copy link
Collaborator

@Frreed can you try the training with num_workers = 1 in dataloader.

@Frreed
Copy link
Author

Frreed commented Oct 31, 2022

Hi, thanks for your reply.
i try the training with num_worker = 1 in dataloader, but there still the same error.I try the training with num_worker = 0, it can work, but the training time will be double and even more.

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