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

I need help with google colab #83

Open
R3dPhil opened this issue Aug 28, 2023 · 3 comments
Open

I need help with google colab #83

R3dPhil opened this issue Aug 28, 2023 · 3 comments

Comments

@R3dPhil
Copy link

R3dPhil commented Aug 28, 2023

Errormessage:
/content/DL-Art-School/codes
Traceback (most recent call last):
File "/content/DL-Art-School/codes/train.py", line 12, in
from data.data_sampler import DistIterSampler
File "/content/DL-Art-School/codes/data/init.py", line 6, in
from utils.util import opt_get
File "/content/DL-Art-School/codes/utils/util.py", line 25, in
from torch._six import inf
ModuleNotFoundError: No module named 'torch._six'

@R3dPhil
Copy link
Author

R3dPhil commented Aug 28, 2023

I got this error when running the training code btw

@bibidentuhanoi
Copy link

I fixed this problem by removing the torch._six import inf in /content/DL-Art-School/codes/utils/util.py

@1AakashK
Copy link

1AakashK commented Apr 2, 2024

I fixed this by updating from torch._six import inf to from torch import inf. In line 25 of /content/DL-Art-School/codes/utils/util.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