taming-transformers
taming-transformers copied to clipboard
No module named 'torch._six'
I'm trying to run the VQGAN+CLIP notebook on Google Colab. During the library import I get the following error:
`---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
2 frames
/content/./taming-transformers/taming/data/utils.py in
ModuleNotFoundError: No module named 'torch._six'`
Anyone can help me fix this?
your pytorch version is too new, try pytorch==1.7.0
I tried different versions. It just needed torch==1.13.1 and torchvision==0.14.1. Thank you
I was having the same issue, installing those versions also fixed form. Thank you!
Go to /content/./taming-transformers/taming/data/utils.py
and comment this line from torch._six import string_classes
dose it work if i do that? i just want vqgan back badly
so how do i download torch==1.13.1 and torchvision==0.014.1