Open
Description
Lines 207 to 225 in f9d988c
For an obvious reason:
File "FlowEdit/FlowEdit_utils.py", line 223, in FlowEditSD3
prev_sample = prev_sample.to(noise_pred_tar.dtype)
NameError: name 'noise_pred_tar' is not defined
I would also suggest changing
Line 215 in f9d988c
to
src_tar_latent_model_input = torch.cat([xt_src, xt_src, xt_tar, xt_tar]) if pipe.do_classifier_free_guidance else (xt_src, xt_tar)
for consistency, and to avoid misleading code readersMetadata
Metadata
Assignees
Labels
No labels