"RuntimeError: view size is not compatible with input tensor's size and stride" - Mac #3880
magnusasskildt
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just wanted to let you know if you come across the same issues as me. Seems to happen to Mac users.
I got this error message when I tried to inpaint on an already inpainted image:
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
I found the solution in this thread:
comfyanonymous/ComfyUI#5075 (comment)
Just add "x = x.contiguous()" to "RRDB.py" located "Fooocus/ldm_patched/pfn/architecture/RRDB.py".
Around line 280:
Beta Was this translation helpful? Give feedback.
All reactions