comfy_mtb: [bug] Not able to install Models, Install of mtb in ComfyUI still shows missing nodes
Describe the bug
I’m trying to use the mtb nodes. I’ve installed through the manager, but ComfyUI still shows the following nodes missing.
When loading the graph, the following node types were not found: Face Swap (mtb) Load Face Enhance Model (mtb) Load Face Analysis Model (mtb) Load Face Swap Model (mtb) Restore Face (mtb) Nodes that have failed to load will show as red on the graph
I’ve tried uninstalling and reinstalling mtb, but received the same error each time.
I thought perhaps that it was because the models were missing so I tried the python download_models.py script in the script folder, but I received the following error message:
ModuleNotFoundError: No module named ‘requests’
I also tried to install the dependencies, but received this error when running python get_deps.py
\ComfyUI\custom_nodes\comfy_mtb\scripts\get_deps.py", line 5, in <module> from rich.console import Console ModuleNotFoundError: No module named ‘rich’
Reproduction
No response
Expected behavior
No response
Platform and versions
Windows
Console output
[comfy_mtb] | INFO -> Some nodes failed to load:
Failed to import module faceenhance because ModuleNotFoundError: No module named 'gfpgan'
Failed to import module faceswap because ModuleNotFoundError: No module named 'insightface'
Failed to import module image_interpolation because ModuleNotFoundError: No module named 'frame_interpolation.eval'
Check that you properly installed the dependencies.
If you think this is a bug, please report it on the github page (https://github.com/melMass/comfy_mtb/issues)
Additional context
No response
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 17 (8 by maintainers)
Understandable! I will gather the recent feedbacks to try and fix some of these, I linked other projects for the faceswap and facerestore nodes in the README since most recent errors seems related to that, i think my install script is doing something that trip Comfy Manager
Hi,
The problematic nodes are removed in the next version as comfy portable is now on python 11, more precisely they are optional, you can learn more about it in the readme where I link to alternatives: https://github.com/melMass/comfy_mtb#optional-nodes
I introduced this issue when trying to handle space in path (#73) I just fixed it
I have all the models loaded… I will run from the start and I will share the issues displayed in the cmd window
The OP has multiple issues:
gfpgan
andframe_interpolation
), this is apparently a thing on very old git, I just learned that from DataIt after this issue was posted on the element board.That’s why I usually suggest openining dedicated issues with your own log unless it’s not a generic issue but “not able to install” is too broad and it’s unclear what you mean by “same” here