Skip to content

Commit 3b8f245

Browse files
upload
1 parent ef4365c commit 3b8f245

File tree

2 files changed

+1
-161
lines changed

2 files changed

+1
-161
lines changed

examples/sample_loop.py

Lines changed: 0 additions & 157 deletions
This file was deleted.

models/vision/ddpm/example.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
#!/usr/bin/env python3
2-
import tempfile
3-
import sys
42
import os
53
import pathlib
64
from modeling_ddpm import DDPM
75
import PIL.Image
86
import numpy as np
97

10-
model_ids = ["ddpm-lsun-cat", "ddpm-lsun-cat-ema", "ddpm-lsun-church-ema", "ddpm-lsun-church", "ddpm-lsun-bedroom", "ddpm-lsun-bedroom-ema", "ddpm-cifar10-ema", "ddpm-lsun-cifar10", "ddpm-lsun-celeba-hq", "ddpm-lsun-celeba-hq-ema"]
8+
model_ids = ["ddpm-lsun-cat", "ddpm-lsun-cat-ema", "ddpm-lsun-church-ema", "ddpm-lsun-church", "ddpm-lsun-bedroom", "ddpm-lsun-bedroom-ema", "ddpm-cifar10-ema", "ddpm-cifar10", "ddpm-celeba-hq", "ddpm-celeba-hq-ema"]
119

1210
for model_id in model_ids:
13-
1411
path = os.path.join("/home/patrick/images/hf", model_id)
1512
pathlib.Path(path).mkdir(parents=True, exist_ok=True)
1613

0 commit comments

Comments
 (0)