minor
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ models = {
|
|
| 8 |
"convae": torch.load("convae.th", map_location="cpu"),
|
| 9 |
"deep_convae": torch.load("deep_convae.th", map_location="cpu"),
|
| 10 |
}
|
| 11 |
-
def gen(model, seed, nb_iter, nb_samples, width, height):
|
| 12 |
torch.manual_seed(int(seed))
|
| 13 |
bs = 64
|
| 14 |
model = models[model]
|
|
|
|
| 8 |
"convae": torch.load("convae.th", map_location="cpu"),
|
| 9 |
"deep_convae": torch.load("deep_convae.th", map_location="cpu"),
|
| 10 |
}
|
| 11 |
+
def gen(md, model, seed, nb_iter, nb_samples, width, height):
|
| 12 |
torch.manual_seed(int(seed))
|
| 13 |
bs = 64
|
| 14 |
model = models[model]
|