Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

its not working at all in sd.next #9

Open
Kedaranatha opened this issue Aug 3, 2023 · 0 comments
Open

its not working at all in sd.next #9

Kedaranatha opened this issue Aug 3, 2023 · 0 comments

Comments

@Kedaranatha
Copy link

also imposable to set the height or width . it's instantly resets to 0

22:02:33-821337 ERROR Running script postprocess image:
C:\sd.next\extensions\custom-hires-fix-for-automatic1111\scripts\custom_hires_fix.py: RuntimeError
╭─────────────────────────────────────────── Traceback (most recent call last) ────────────────────────────────────────────╮
│ C:\sd.next\modules\scripts.py:466 in postprocess_image │
│ │
│ 465 │ │ │ │ args = p.per_script_args.get(script.title(), p.script_args[script.args_f │
│ ❱ 466 │ │ │ │ script.postprocess_image(p, pp, *args) │
│ 467 │ │ │ │ s.append(f'{script.title()}:{round(time.time()-t0, 2)}s') │
│ │
│ C:\sd.next\extensions\custom-hires-fix-for-automatic1111\scripts\custom_hires_fix.py:180 in postprocess_image │
│ │
│ 179 │ │ │ shared.state.nextjob() │
│ ❱ 180 │ │ │ x = self.gen(pp.image) │
│ 181 │ │ │ shared.state.nextjob() │
│ │
│ C:\sd.next\extensions\custom-hires-fix-for-automatic1111\scripts\custom_hires_fix.py:242 in gen │
│ │
│ 241 │ │ if x_big is not None and self.config.first_latent != 1: │
│ ❱ 242 │ │ │ sample = (sample * (1 - self.config.first_latent)) + (x_big * self.config.fi │
│ 243 │ │ image_conditioning = self.p.img2img_image_conditioning(decoded_sample, sample) │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
RuntimeError: The size of tensor a (96) must match the size of tensor b (112) at non-singleton dimension 3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant