Code Monkey home page Code Monkey logo

Comments (5)

dancasas avatar dancasas commented on August 18, 2024

Hi, there are a few things
(1) To get rid of the black pixels, we compute a tight silhouette and apply some shrinking before projecting the pixels to the UV. This is to make sure no background pixels are projected from the image to the partial texturemap. I will upload a script soon to do this.
(2) For inpainting, I usually get better results with the A1111 approach, not the diffusers. I will also upload some script to run A1111 from Python, but you could play a little with the web interface meanwhile.
(3) After inpaiting, I usually do an extra img2img step with very low noise factor. This basically fixes a lot of artifacts, but produces a texture that is slightly different than the original subject. If the noise parameter is very low, usually the identity is well kept.

I will try to upload a script that does (1), (2), and (3) exactly how I do in the results from the paper.

from smplitex.

dancasas avatar dancasas commented on August 18, 2024

Hello @StGorazd I've updated the repository with the scripts to create the partial texturemap from image, and the inpainting with Automatic1111.

https://github.com/dancasas/SMPLitex?tab=readme-ov-file#smpl-texture-estimation-from-single-image

Please, check it out and let me know. Thanks!

from smplitex.

StGorazd avatar StGorazd commented on August 18, 2024

Hi @dancasas ,
thank you for notifying me. I am currently trying to run it, but I ran into some problems. I followed the provided tutorial; however, for some reason, I am getting a different dense pose, which subsequently causes issues while generating the partial texture. I attempted to fix it myself but have not been successful so far. Do you have any advice or suggestions?

Here is the debug output:
MEN-Jackets_Vests-id_00003336-09_1_front_debug

from smplitex.

dancasas avatar dancasas commented on August 18, 2024

@StGorazd you are right! I just committed a fix for this, there was an issue with the DensePose IUV ids. Now it should be fixed, could you update and re-run it?

from smplitex.

StGorazd avatar StGorazd commented on August 18, 2024

Thank you for your prompt response. I have re-run it, and the results are significantly improved.

MEN-Jackets_Vests-id_00003336-09_1_front_debug

Tomorrow, I will try using inpaint part. I will let you know if I encounter any problems.
Thank you for your excellent work.

from smplitex.

Related Issues (7)

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.