taming-transformers icon indicating copy to clipboard operation
taming-transformers copied to clipboard

update the file /traming-transformers/taming/data/utils.py

Open markhliu opened this issue 5 months ago • 0 comments
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").

markhliu avatar May 27 '25 12:05 markhliu