Skip to content

Commit c41f83d

Browse files
committed
black formatting
1 parent 6562e19 commit c41f83d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/cifar10/utils_cifar.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111

1212
def generate_samples(
13-
node_, model, savedir, step, net_="normal", batch_size=512,
14-
num_gen=1000):
13+
node_, model, savedir, step, net_="normal", batch_size=512, num_gen=1000
14+
):
1515
model.eval()
1616
gen_path = savedir + f"{net_}_generated_FM_images_step_{step}.png"
17-
for batch in tqdm(range(num_gen//batch_size + 1)):
17+
for batch in tqdm(range(num_gen // batch_size + 1)):
1818
with torch.no_grad():
1919
traj = node_.trajectory(
2020
torch.randn(64, 3, 32, 32).to(device),

0 commit comments

Comments
 (0)