how to save latent setting into png info
YuiZhushi opened this issue · 2 comments
YuiZhushi commented
spc11400 commented
If you are using ashen-sensored's fork, I believe uncommenting line 577(the line with p.extra_generation_params["Latent Couple"]
) in scripts/two_shot.py solves it.
# TODO: handle different cases for generation info: 'mask' and 'rect'
# if self.end_at_step != 0:
# p.extra_generation_params["Latent Couple"] = f"divisions={raw_divisions} positions={raw_positions} weights={raw_weights} end at step={raw_end_at_step}"
andupotorac commented
If you are using ashen-sensored's fork, I believe uncommenting line 577(the line with
p.extra_generation_params["Latent Couple"]
) in scripts/two_shot.py solves it.# TODO: handle different cases for generation info: 'mask' and 'rect' # if self.end_at_step != 0: # p.extra_generation_params["Latent Couple"] = f"divisions={raw_divisions} positions={raw_positions} weights={raw_weights} end at step={raw_end_at_step}"
It works. But you need to remove the comments of both lines. The file is two_shot.py in scripts folder of the extension.