Spaces:
Paused
Paused
Anton Forsman
commited on
Commit
•
17b3ae7
1
Parent(s):
ee3757e
new weights
Browse files- inference.py +1 -1
inference.py
CHANGED
@@ -28,7 +28,7 @@ def inference(cond, x0=None, gif=False, callback=None):
|
|
28 |
unet=model,
|
29 |
num_classes=13,
|
30 |
)
|
31 |
-
model.load_state_dict(torch.load("./
|
32 |
|
33 |
diffusion = GaussianDiffusion(
|
34 |
model=model,
|
|
|
28 |
unet=model,
|
29 |
num_classes=13,
|
30 |
)
|
31 |
+
model.load_state_dict(torch.load("./model_final2.pt", map_location=device))
|
32 |
|
33 |
diffusion = GaussianDiffusion(
|
34 |
model=model,
|