Spaces:
Runtime error
Runtime error
- autoencoder.py +3 -3
autoencoder.py
CHANGED
@@ -5,10 +5,10 @@ from contextlib import contextmanager
|
|
5 |
|
6 |
from taming.modules.vqvae.quantize import VectorQuantizer2 as VectorQuantizer
|
7 |
|
8 |
-
from
|
9 |
-
from
|
10 |
|
11 |
-
from
|
12 |
|
13 |
|
14 |
class VQModel(pl.LightningModule):
|
|
|
5 |
|
6 |
from taming.modules.vqvae.quantize import VectorQuantizer2 as VectorQuantizer
|
7 |
|
8 |
+
from model import Encoder, Decoder
|
9 |
+
from distributions import DiagonalGaussianDistribution
|
10 |
|
11 |
+
from util import instantiate_from_config
|
12 |
|
13 |
|
14 |
class VQModel(pl.LightningModule):
|