Spaces:
Runtime error
Runtime error
first commit
Browse files
model.py
CHANGED
@@ -25,7 +25,7 @@ from torchvision.utils import make_grid
|
|
25 |
from lib.attention import SpatialTransformer
|
26 |
from lib.openaimodel import UNetModel, TimestepEmbedSequential, ResBlock, Downsample, AttentionBlock
|
27 |
from lib.ddpm_multi import LatentDiffusion
|
28 |
-
from
|
29 |
from lib.ddim_multi import DDIMSampler
|
30 |
|
31 |
|
|
|
25 |
from lib.attention import SpatialTransformer
|
26 |
from lib.openaimodel import UNetModel, TimestepEmbedSequential, ResBlock, Downsample, AttentionBlock
|
27 |
from lib.ddpm_multi import LatentDiffusion
|
28 |
+
from utils import log_txt_as_img, exists, instantiate_from_config
|
29 |
from lib.ddim_multi import DDIMSampler
|
30 |
|
31 |
|