kohya-ss / kohya-ss/sd-scripts
Resolution in the Colab
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.2k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
The colab version handles resolution in a weird way. I think it used to work normally, but today for some reason everything was always resized so that the long side was 1024px. So effectually my wide images became very small.
I edited the notebook so that the bucket_no_upscale flag is set, and each image is treated as is.
I thin the logic should be so that unless the px count is above 1M, no resizing is done.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by opening the Colab notebook and trace the image-resolution handling around the bucket_no_upscale flag. Reproduce the behavior with wide images, then verify that images at or below 1M pixels are not resized while larger images follow the intended handling. No specific file or test is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100