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

Questions about PyTorch version #52

Open
wwq66 opened this issue Nov 27, 2019 · 3 comments
Open

Questions about PyTorch version #52

wwq66 opened this issue Nov 27, 2019 · 3 comments

Comments

@wwq66
Copy link

wwq66 commented Nov 27, 2019

Why should the Pytorch version be 0.3 ? Problems occur when using PyTorch 0.3. What's more, .item() and with torch.no_grad(): should be used in version 0.4 and higher.

@habout632
Copy link

Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method

@habout632
Copy link

problem occurs when loading data

@rajendrac3
Copy link

Cannot re-initialize CUDA in forked subprocess. To use CUDA with multiprocessing, you must use the 'spawn' start method

To resolve this:
Change 'self.num_workers = 4' to 'self.num_workers = 0' at line 22 in dataloader.py

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

3 participants