StableSwarmUI icon indicating copy to clipboard operation
StableSwarmUI copied to clipboard

New (Comfy-only) auto-segmentation-detailer! aka, "ADetailer"++

Open samliu315 opened this issue 1 year ago • 4 comments

Hi, I got an error when I tried to use this function: ComfyUI execution error: expected str, bytes or os.PathLike object, not NoneType.

My usage is to fill in the end of the prompt directly: <segment:girl's face>

Also, a photo of a woman standing in the street smiling segment:yolo-face_yolov8m-seg_60.pt-1 a ​​beautiful woman's smiling face, it works for me.

What's wrong? Or can you give a more detailed tutorial?

samliu315 avatar Nov 04 '24 05:11 samliu315

This repo is way out of date. The new version of (now called) SwarmUI, is located here.. This version is no longer maintained. You need to install the new version.

Also join the discord to get find the entire Swarm community.. https://discord.gg/XDGYCWBG

https://github.com/mcmonkeyprojects/SwarmUI

southbayjay avatar Nov 04 '24 05:11 southbayjay

This repo is way out of date. The new version of (now called) SwarmUI, is located here.. This version is no longer maintained. You need to install the new version.这个仓库已经过时了。新版本的(现在称为)SwarmUI,位于此处。该版本不再维护。您需要安装新版本。

Also join the discord to get find the entire Swarm community.. https://discord.gg/XDGYCWBG还可以加入不和谐来找到整个 Swarm 社区.. https://discord.gg/XDGYCWBG

https://github.com/mcmonkeyprojects/SwarmUI

Thank you. Actually I have already got the new version. Does the current version support this detailer?

samliu315 avatar Nov 04 '24 05:11 samliu315

Yes, there's a few ways you can do it but the most practical (imo) is with segmentation, type out your prompt as normal and then add something like this..

<segment:face> a beautiful hd photo of a woman's face

or as you did it it like this

<segment:yolo-face_yolov8n-seg2_60.pt> a ​​beautiful woman's smiling face

southbayjay avatar Nov 04 '24 05:11 southbayjay

@samliu315 let me know if you need anymore help. I’m signing out for the evening but your welcome to swing by the Discord and post there. Tag me if you do @southbayjay

southbayjay avatar Nov 04 '24 07:11 southbayjay