lllyasviel / lllyasviel/LayerDiffuse_DiffusersCLI

I find a i2i problem,RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 128 but got size 127 for tensor number 1 in the list

Open
#1 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
425
Forks
40
PR merge metrics
No merged PRs in 30d

Description

I used a 1016*1536 pattern to perform img2img, but an error was reported. Currently, the length and width must be 64 characters.
![image](https://github.com/lllyasviel/LayerDiffuse_DiffusersCLI/assets/42538257/51de4a04-86e5-45bd-b0eb-ff2e43dcfbff)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the issue. Start by reproducing img2img with the 1016×1536 pattern and tracing the tensor shapes around the reported concatenation; done means this input no longer raises the size-mismatch RuntimeError while the existing 64-aligned behavior still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.