Giter Site home page Giter Site logo

Comments (4)

Danamir avatar Danamir commented on August 11, 2024 1

It's all good when it comes to generating images but can't trace them. I guess that's something to solve.

The problem was with the default threshold values used. MLSD detector is now working after #47 .

from sdpaint.

Danamir avatar Danamir commented on August 11, 2024

It seems you are using MLSD as a detector, ie. the modules (preprocessors) part of ControlNet, not the models (rendering). The detectors/preprocessors are used to detect features in an image, or do some computations before the image can be used by the models for rendering.

Check your http://127.0.0.1:7860/controlnet/model_list URL to find the correct model to add to config.json controlnet_models list. For example on my system it's control_v11p_sd15_mlsd_fp16.

Once added to the configuration, restart the application and use the shortcut shift + m to select the MLSD model. Check your webui log, it should display something like ControlNet model control_v11p_sd15_mlsd_fp16 [77b5ad24] loaded before rendering.

There seems to be a bug with the mlsd detector at the moment. I can detect features in an image with the webui, but calling the same detector with ctrl + d gets a white image. It may be due to the image format sent by the API.

from sdpaint.

CodeMonkey80 avatar CodeMonkey80 commented on August 11, 2024

No, no, you misread. MLSD model loaded and worked for me and the detector doesn't seem to do anything, just as you replied. It's all good when it comes to generating images but can't trace them. I guess that's something to solve.

Any comment on segmentation painting? Is it doable?

from sdpaint.

Danamir avatar Danamir commented on August 11, 2024

Ok I was not sure you were using MLSD for the rendering part also.

In theory segmentation painting should work, but would necessitate at least a color picker and a paint filler of some kind. It's not something I expect to code anytime soon, but maybe someone will. ๐Ÿ˜…

Another approach could be to modify the img2img mode to send the image data to ControlNet instead, and use an external editor with the correct editing capabilities.

from sdpaint.

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.