TODO: Lazy download for Inspyrenet models please :) + inspyrenet loader/selector node !
Opened this issue · 5 comments
ckpt_base.pth:
https://github.com/plemeri/transparent-background/releases/download/1.2.12/ckpt_base.pth
ckpt_fast.pth:
https://github.com/plemeri/transparent-background/releases/download/1.2.12/ckpt_fast.pth
ckpt_base_nightly.pth:
https://github.com/plemeri/transparent-background/releases/download/1.2.12/ckpt_base_nightly.pth
InSPyReNet_SwinB_HU.pth: https://drive.google.com/file/d/1HB02tiInEgo-pNzwqyvyV6eSN1Y2xPRJ/view?usp=sharing
InSPyReNet_SwinB_DIS5K.pth: https://drive.google.com/file/d/1aCxHMbhvj8ah77jXVgqvqImQA_Y0G-Yg/view?usp=sharing
InSPyReNet_SwinB_Plus_Ultra.pth: https://drive.google.com/file/d/13oBl5MTVcWER3YU4fSxW3ATlVfueFQPY/view?usp=sharing
InSPyReNet_Clothing_latest4.pth: https://huggingface.co/crapthings/inspyrenet-clothing/tree/main
@john-mnz @doombeaker
@lldacing @tgitit
I made a fork here: https://github.com/RGX650/ComfyUI-Inspyrenet-Rembg.git
It is working ^^ and uses instead 'ComfyUI/models/transparent-background' directory.
Cheers ;)
Since I can't log in to Google, can you add Hugging Face's download address?thanks.
How to toggle ckpt_fast.pth from ckpt_base.pth ? Your node does not have a selector as well...
I didn't review the fork, but at the least I think would be good to standardize the download directory to be under ComfyUI.
Ok, here is the state of things:
- @john-mnz created this original repo (thank you)
- @doombeaker created a fork that added a separate Remover node with the
torchscript_jit
propert on it - @RGX650 forked @doombeaker's repo and updated the node so it will use its own pre-downloaded models (thank you)
I switched to using @RGX650's fork and it works. @john-mnz would you accept a PR if @RGX650 PRs to your repo instead of to @doombeaker's?
Once that is merged, it will be easy to add the model selector @LiJT asked for as well.
When I use other people's workflows, I often encounter the problem shown in the picture above. I have this branch installed locally: https://github.com/RGX650/ComfyUI-Inspyrenet-Rembg.git, so I need to drag it again Adjust the two nodes as shown in the figure below:
I have another doubt, what does it mean when torchscript_jif =deafult, then I downloaded 4 model files (stored in ComfyUI/models/transparent-background), which one is used by default, and where can I switch it?@RGX650