Skip to content

Commit

Permalink
only set loopback color corrections if corrections enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrupieski committed Sep 17, 2022
1 parent cf70528 commit 2dbc9c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/loopback.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def run(self, p, loops, denoising_strength_change_factor):
p.n_iter = 1
p.batch_size = 1
p.do_not_save_grid = True
p.color_corrections = initial_color_corrections

if opts.img2img_color_correction:
p.color_corrections = initial_color_corrections

state.job = f"Iteration {i + 1}/{loops}, batch {n + 1}/{batch_count}"

Expand Down

0 comments on commit 2dbc9c5

Please sign in to comment.