Git Product home page Git Product logo

Comments (2)

dedoogong avatar dedoogong commented on July 28, 2024

I also wonder how to prepare annotation for training CNet segmentation. Your great guide showed custom dataset prepare regarding very simple case, but Segmentation must involve much more sophisticated processes. Can you guide me in more detail?
for example, in your guide, you showed a example of circle images.
If there is one circle and one star in the image, should I make segmentation GT map(is it needed?) like a circle filled with red color and blue color for the star and black color for the background.

Regarding segmentation class id map(e.g., in COCO format), I would set class id 0 for background, and 1 for the red circle and 2 for the blue star.

But are those class ids needed? Maybe no? and just I need to make prompt "vivid red circle and blue star with black background"?

Thank you!

from controlnet-v1-1-nightly.

lllyasviel avatar lllyasviel commented on July 28, 2024

please refer to ade20k or coco's doc for questions related to seg colors

from controlnet-v1-1-nightly.

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.