ModuleNotFoundError: No module named 'taming'

Question:

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

Asked By: Will

||

Answers:

Try the following command:

pip install taming-transformers
Answered By: Pavel

It also may help:

pip install taming-transformers-rom1504
Answered By: Egor Zamotaev
Categories: questions Tags:
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.