Open Amazon90 opened 2 months ago
Where should I put the custom model, and how should I change the code if I want to use the model in the checkpoints folder
Where should I put the custom model, and how should I change the code if I want to use the model in the checkpoints folder
To use a custom model, please modify the content of line 16 in the following file: "ComfyUI\custom_nodes\ComfyUI_MagicClothing\nodes.py” pipe_path = ["Add your preferred model", "SG161222/Realistic_Vision_V4.0_noVAE", "Lykon/dreamshaper-8", "redstonehero/xxmix_9realistic_v40"]
Where should I put the custom model, and how should I change the code if I want to use the model in the checkpoints folder
To use a custom model, please modify the content of line 16 in the following file: "ComfyUI\custom_nodes\ComfyUI_MagicClothing\nodes.py” pipe_path = ["Add your preferred model", "SG161222/Realistic_Vision_V4.0_noVAE", "Lykon/dreamshaper-8", "redstonehero/xxmix_9realistic_v40"]
I think my previous expression caused you to misunderstand. I understand that the code at this location should be modified, but I don’t know how to fill in my model path. Do I need to fill in the absolute path? The example gives a relative path, and the model is placed In the cache directory of huggingface, my current model is placed under models/checkpoints.
For example, if you want to use the "majicMIX_realistic_v6" model, you can modify
pipe_path = ["Add your preferred model", "SG161222/Realistic_Vision_V4.0_noVAE", "Lykon/dreamshaper-8", "redstonehero/xxmix_9realistic_v40"]
to: pipe_path = ["digiplay/majicMIX_realistic_v6", "SG161222/Realistic_Vision_V4.0_noVAE", "Lykon/dreamshaper-8", "redstonehero/xxmix_9realistic_v40"]
Create a text file, rename it to "run_gui.ps1", and use a text editor to add the following content:
To use a custom model, please modify the content of line 16 in the following file: "ComfyUI\custom_nodes\ComfyUI_MagicClothing\nodes.py”
pipe_path = ["Add your preferred model", "SG161222/Realistic_Vision_V4.0_noVAE", "Lykon/dreamshaper-8", "redstonehero/xxmix_9realistic_v40"]
Thank Frank Chieng for his response to the following issues. https://github.com/frankchieng/ComfyUI_MagicClothing/issues/31#issuecomment-2090007965 https://github.com/frankchieng/ComfyUI_MagicClothing/issues/39#issuecomment-2095379433 https://github.com/frankchieng/ComfyUI_MagicClothing/issues/47#issuecomment-2132509615