We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
4th cell
ModuleNotFoundError Traceback (most recent call last) in <cell line: 13>() 11 from PIL import Image 12 import requests ---> 13 from taming.models import cond_transformer, vqgan 14 import torch 15 from torch import nn, optim
2 frames /content/taming-transformers/taming/data/utils.py in 9 import torch 10 from taming.data.helper_types import Annotation ---> 11 from torch._six import string_classes 12 from torch.utils.data._utils.collate import np_str_obj_array_pattern, default_collate_err_msg_format 13 from tqdm import tqdm
ModuleNotFoundError: No module named 'torch._six'
The text was updated successfully, but these errors were encountered:
instead of from torch._six import string_classes. use string_classes = str
it works for me.
Sorry, something went wrong.
No branches or pull requests
4th cell
ModuleNotFoundError Traceback (most recent call last)
in <cell line: 13>()
11 from PIL import Image
12 import requests
---> 13 from taming.models import cond_transformer, vqgan
14 import torch
15 from torch import nn, optim
2 frames
/content/taming-transformers/taming/data/utils.py in
9 import torch
10 from taming.data.helper_types import Annotation
---> 11 from torch._six import string_classes
12 from torch.utils.data._utils.collate import np_str_obj_array_pattern, default_collate_err_msg_format
13 from tqdm import tqdm
ModuleNotFoundError: No module named 'torch._six'
The text was updated successfully, but these errors were encountered: