Spaces:
Running
on
Zero
Running
on
Zero
rlawjdghek
commited on
Commit
Β·
14d52ed
1
Parent(s):
929fb7f
remove pl
Browse files
ldm/models/autoencoder.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import torch
|
2 |
# import pytorch_lightning as pl
|
|
|
3 |
import torch.nn.functional as F
|
4 |
from contextlib import contextmanager
|
5 |
|
|
|
1 |
import torch
|
2 |
# import pytorch_lightning as pl
|
3 |
+
import torch.nn as nn
|
4 |
import torch.nn.functional as F
|
5 |
from contextlib import contextmanager
|
6 |
|