Git Product home page Git Product logo

Comments (8)

melMass avatar melMass commented on May 23, 2024 1

So the first screen you must copy the "web" folder to "mtb" not "comfy_mtb" inside the web extensions, I'll make that more obvious for when symlink fails.

The second error is probably due to another extension that rely on an older version of onnx, I believe mtb uses the most recent one 1.15.1, updating onnx might break that said extension...

It would be great to know which extension is causing this issue if you manage to find

from comfy_mtb.

Piscabo avatar Piscabo commented on May 23, 2024 1
    Failed to import faceenhance because ModuleNotFoundError: No module named 'basicsr'
    Failed to import faceswap because ModuleNotFoundError: No module named 'insightface'
    Failed to import fun because ModuleNotFoundError: No module named 'qrcode'
    Failed to import image_interpolation because ModuleNotFoundError: No module named 'tensorflow'

How do I install dependencies for these 4 . I have followed the install dependencies guide according to INSTALL.md .But still show this error. thanks in advance

Just run the MTB requirements install from the python_embbed: (** where you have it installed...)
C:**\ComfyUI_windows_portable\python_embeded\python.exe -m pip install -r requirements.txt

from comfy_mtb.

melMass avatar melMass commented on May 23, 2024

Thanks for the report.

Can you confirm the path is where you did copy the web folder manually?

This is actually optional, I will replace error by a warning to avoid confusion.

The other errors though indicate that the dependencies are not installed for these specific nodes. If you don't need them you can just ignore it, I made it so that part of the extension can fail to register.

from comfy_mtb.

Piscabo avatar Piscabo commented on May 23, 2024
ComfyUI\web\extensions\

image
image
And as soon as roop is installed, this happens?
image

from comfy_mtb.

DarkCoverUnleashed avatar DarkCoverUnleashed commented on May 23, 2024
    Failed to import faceenhance because ModuleNotFoundError: No module named 'basicsr'
    Failed to import faceswap because ModuleNotFoundError: No module named 'insightface'
    Failed to import fun because ModuleNotFoundError: No module named 'qrcode'
    Failed to import image_interpolation because ModuleNotFoundError: No module named 'tensorflow'

How do I install dependencies for these 4 . I have followed the install dependencies guide according to INSTALL.md .But still show this error.
thanks in advance

from comfy_mtb.

melMass avatar melMass commented on May 23, 2024

Exact! I'm taking a bit more time for the next release as I very recently discovered the manager which will be the recommended way to install mtb moving forward, I just need to tune a few things to take various setups into account. That should help with the install issues... 90% of the issues are about that 😅 , I'd rather dedicate time on the nodes

from comfy_mtb.

Piscabo avatar Piscabo commented on May 23, 2024

Exact! I'm taking a bit more time for the next release as I very recently discovered the manager which will be the recommended way to install mtb moving forward, I just need to tune a few things to take various setups into account. That should help with the install issues... 90% of the issues are about that 😅 , I'd rather dedicate time on the nodes

Wish I could help... but too dumb for that. But I'm a good tester... :-)
I have this error for the faceswap setup. (what model should I use?)
Error occurred when executing Load Face Swap Model (mtb):

[ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from C:\AI_Files\ComfyUI_windows_portable\ComfyUI\models\insightface\detection_mobilenet0.25_Final.pth failed:Protobuf parsing failed.

from comfy_mtb.

melMass avatar melMass commented on May 23, 2024

For now only the inswapper_128.onnx model can be loaded from the loadModel, I should probably omit the detection models from this list, they are used by the faceswap node itself but not exposed, they will probably be used in a dedicated load node as requested in #19

from comfy_mtb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.