Spaces:
Runtime error
Runtime error
Update models/vae.py
Browse files- models/vae.py +1 -1
models/vae.py
CHANGED
|
@@ -4,7 +4,7 @@ import pytorch_lightning as pl
|
|
| 4 |
class VAEModel(pl.LightningModule):
|
| 5 |
def __init__(self):
|
| 6 |
super().__init__()
|
| 7 |
-
#
|
| 8 |
self.encoder = torch.nn.Sequential(
|
| 9 |
torch.nn.Conv2d(1, 16, kernel_size=3, stride=2, padding=1),
|
| 10 |
torch.nn.ReLU()
|
|
|
|
| 4 |
class VAEModel(pl.LightningModule):
|
| 5 |
def __init__(self):
|
| 6 |
super().__init__()
|
| 7 |
+
# VAE implementation
|
| 8 |
self.encoder = torch.nn.Sequential(
|
| 9 |
torch.nn.Conv2d(1, 16, kernel_size=3, stride=2, padding=1),
|
| 10 |
torch.nn.ReLU()
|