mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git
synced 2026-11-04 23:27:26 +00:00
[GH-ISSUE #45] Can't change u2_cloth_seg arg (cloth_category), resulting in the output image being triple the expected height #34
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AUTOMATIC1111/stable-diffusion-webui-rembg#34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dev-asya on GitHub (Jul 24, 2024).
Original GitHub issue: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/issues/45
After reading through @danielgatis rembg code, I'm quite certain the argument "cloth_category" is missing, and this is what's causing Issue #1
Here are the original rembg
github.com/danielgatis/rembg@d1e00734f8/rembg/sessions/u2net_cloth_seg.py (L94)I've forked this repo and added a few lines of code, though I haven't tested it.
My fork.
Hopefully someone much more experienced than me can look at my changes and fix the issue.