modelscope / modelscope/DiffSynth-Studio
qwen-image-inference-error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.1k
- Forks
- 1.3k
- Avg merge
- 13h 12m
- Merged PRs (30d)
- 45
Description
I am experiencing a persistent error: 'RuntimeError: cannot reshape tensor of 0 elements into shape [1, 24, 0, -1, 2] because the unspecified dimension size -1 can be any value and is ambiguous'. I've tested both Qwen-Image-Layered.py and Qwen-Image-Edit.py from your example folder, and the same issue persists in both cases.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the error in Qwen-Image-Layered.py and Qwen-Image-Edit.py from the example folder, capturing the complete traceback and execution context. Trace the reported reshape failure back to its source and compare both example paths. Done means both examples run without the zero-element reshape error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100