Skip to content
Advertisement

ModuleNotFoundError: No module named ‘taming’

ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-14-2683ccd40dcb> in <module>
     16 from omegaconf import OmegaConf
     17 from PIL import Image
---> 18 from taming.models import cond_transformer, vqgan
     19 import taming.modules
     20 import torch

ModuleNotFoundError: No module named 'taming'

I’ve tried everything can you please help me? I’ve tried putting it in the same folder and stuff so please help!

1

Advertisement

Answer

Try the following command:

pip install taming-transformers
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement