Giter Club home page Giter Club logo

Comments (4)

Wangt-CN avatar Wangt-CN commented on June 6, 2024 1

Hi @wnzhyee , it's a bit weird. Could you please check if it is because the rgb format? The color should affect the results as the pose info is injected through the image. It would be better if you could keep the pose color consistent to the demo.

from disco.

wnzhyee avatar wnzhyee commented on June 6, 2024 1

@Wangt-CN I changed the rgb format and result is correct, thanks a lot!

from disco.

Wangt-CN avatar Wangt-CN commented on June 6, 2024

Hi @wnzhyee ,

  1. Could you please check if there is the .json output for the openpose pre-process? Then you may refer to this code for achieving the pose image (https://github.com/Wangt-CN/DisCo/blob/main/dataset/tiktok_controlnet_t2i_imagevar_combine_mask.py#L218).
  2. Yes, you need to crop and resize.

BTW, current model may get inferior results if the person is too small (issue from the original SD). And we will update a new model soon if you wanna to perform body change for the full human body.

from disco.

wnzhyee avatar wnzhyee commented on June 6, 2024

thanks for your reply! I'm still a little confused about the pose image generation. Now i try the demo image 00035.png with pose image, and i draw the skeleton with coco2openpose and draw_bodypose from tiktok_controlnet_t2i_imagevar_combine_mask.py, but the skeleton colors are not exactly same. Is this ok for pose encoder if the color order changed?

MINE(create with demo_data/bg/images/00035.png):
show

(demo_data/pose_img/0144.png)
0144

from disco.

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.