Skip to content

Commit

Permalink
fix bugs in sampling.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cuttle-fish-my committed May 23, 2023
1 parent 87e4601 commit 1e80eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diffusion/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def train(model, optimizer, loader, loader_val, writer, now, step, args):
print(f'starting epoch {e}')

for img, R, T, K, hue_delta in tqdm(loader):
validation(model, loader_val, writer, step, args.timesteps, args.batch_size)
# validation(model, loader_val, writer, step, args.timesteps, args.batch_size)

warmup(optimizer, step, args.warmup_step / args.batch_size, args.lr)

Expand Down

0 comments on commit 1e80eed

Please sign in to comment.