This repository was archived by the owner on Jul 26, 2023. It is now read-only.
[Bug]: ImportError: cannot import name 'VectorQuantizer2' from 'taming.modules.vqvae.quantize' #35
Labels
bug
Something isn't working
What happened?
ImportError: cannot import name 'VectorQuantizer2' from 'taming.modules.vqvae.quantize'
File "/content/stable-diffusion/optimizedSD/ddpm.py", line 14, in
from ldm.models.autoencoder import VQModelInterface
File "/content/stable-diffusion/ldm/models/autoencoder.py", line 6, in
from taming.modules.vqvae.quantize import VectorQuantizer2 as VectorQuantizer
ImportError: cannot import name 'VectorQuantizer2' from 'taming.modules.vqvae.quantize' (/usr/local/lib/python3.8/site-packages/taming/modules/vqvae/quantize.py)
In addition, there are other things that need to be installed, pip
!pip install gradio pynvml einops omegaconf pytorch_lightning taming-transformers
Version
0.0.1 (Default)
What browsers are you seeing the problem on?
No response
Where are you running the webui?
No response
Custom settings
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: