taming-transformers
taming-transformers copied to clipboard
update the file /traming-transformers/taming/data/utils.py
trafficstars
Due to recent changes in PyTorch, the original CompVis/taming-transformers repository requires small updates to remain compatible.
In the file /traming-transformers/taming/data/utils.py, I have changed string_classes to str in line 152. After that, I deleted line 11 of the file (the line that says "from torch._six import string_classes").