Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SOLVED] 'do_restore_first' #39

Closed
Arctycus opened this issue Aug 5, 2023 · 3 comments
Closed

[SOLVED] 'do_restore_first' #39

Arctycus opened this issue Aug 5, 2023 · 3 comments

Comments

@Arctycus
Copy link

Arctycus commented Aug 5, 2023

17:42:13 - ReActor - STATUS - Working: source face index [0], target face index [0]
17:42:13-574981 ERROR Running script postprocess image:
H:\Vladmatic\automatic\extensions\sd-webui-reactor\scripts\faceswap.py: TypeError
┌───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────┐
│ H:\Vladmatic\automatic\modules\scripts.py:422 in postprocess_image │
│ │
│ 421 │ │ │ │ args = p.per_script_args.get(script.title(), p.script_args[script.args_f │
│ > 422 │ │ │ │ script.postprocess_image(p, pp, *args) │
│ 423 │ │ │ except Exception as e: │
│ │
│ H:\Vladmatic\automatic\extensions\sd-webui-reactor\scripts\faceswap.py:235 in postprocess_image │
│ │
│ 234 │ │ │ │ │ model=self.model, │
│ > 235 │ │ │ │ │ upscale_options=self.upscale_options, │
│ 236 │ │ │ │ ) │
│ │
│ H:\Vladmatic\automatic\extensions\sd-webui-reactor\scripts\faceswap.py:151 in upscale_options │
│ │
│ 150 │ def upscale_options(self) -> UpscaleOptions: │
│ > 151 │ │ return UpscaleOptions( │
│ 152 │ │ │ do_restore_first = self.restore_first, │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
TypeError: UpscaleOptions.init() got an unexpected keyword argument 'do_restore_first'

@Gourieff
Copy link
Owner

Gourieff commented Aug 5, 2023

@Arctycus
Copy link
Author

Arctycus commented Aug 5, 2023

I read it, disabling the other Roop versions did not work. Deleting them, however, seemed to have done the trick! Thanks again.

@Gourieff
Copy link
Owner

Gourieff commented Aug 5, 2023

I read it, disabling the other Roop versions did not work. Deleting them, however, seemed to have done the trick! Thanks again.

Hm... I will mark this moment in the README
Thanks to you to for pointing this out

@Gourieff Gourieff changed the title 'do_restore_first' [SOLVED] 'do_restore_first' Aug 5, 2023
@Gourieff Gourieff closed this as completed Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants