Spaces:
Runtime error
Runtime error
bug
Browse files
stable_diffusion/ldm/models/autoencoder.py
CHANGED
@@ -3,7 +3,7 @@ import pytorch_lightning as pl
|
|
3 |
import torch.nn.functional as F
|
4 |
from contextlib import contextmanager
|
5 |
|
6 |
-
from taming.modules.vqvae.quantize import
|
7 |
|
8 |
from ldm.modules.diffusionmodules.model import Encoder, Decoder
|
9 |
from ldm.modules.distributions.distributions import DiagonalGaussianDistribution
|
|
|
3 |
import torch.nn.functional as F
|
4 |
from contextlib import contextmanager
|
5 |
|
6 |
+
from taming.modules.vqvae.quantize import VectorQuantizer
|
7 |
|
8 |
from ldm.modules.diffusionmodules.model import Encoder, Decoder
|
9 |
from ldm.modules.distributions.distributions import DiagonalGaussianDistribution
|