AbdullahAlfaraj / AbdullahAlfaraj/Comfy-Photoshop-SD

RuntimeError when running Outpaint

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
321
Forks
20
PR merge metrics
No merged PRs in 30d

Description

I followed the video instructions for Outpaint but I'm consistently getting this error:

RuntimeError: The size of tensor a (4) must match the size of tensor b (16) at non-singleton dimension 1

Appreciate your help!

Contributor guide

No contributing guide indexed for this repository

Research direction

The error mentions a tensor size mismatch (4 vs 16) in dimension 1. Look at the Outpaint workflow in ComfyUI, likely in nodes handling image tensors or latent space operations. Check the ComfyUI manager extension code and the Auto-Photoshop-SD plugin integration points. Run the Outpaint process with debug logging to see where the tensors are generated and where the mismatch occurs.

Written by the indexing model from the issue text.

Assessment

Domain
ai, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.