mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
use right value for step arg in img_callback
This commit is contained in:
parent
8e97bc24a4
commit
7c6dbcb14a
@ -272,7 +272,7 @@ class Sampler(object):
|
||||
if callback:
|
||||
callback(i)
|
||||
if img_callback:
|
||||
img_callback(img,step)
|
||||
img_callback(img,i)
|
||||
|
||||
if index % log_every_t == 0 or index == total_steps - 1:
|
||||
intermediates['x_inter'].append(img)
|
||||
|
Loading…
Reference in New Issue
Block a user