Code Monkey home page Code Monkey logo

Comments (15)

ShichenLiu avatar ShichenLiu commented on July 21, 2024 1

Hi there,

In our experiments we used surface texture type and the Laplacian neighbor is set to the adjacent triangles in order to compute the Laplacian loss on color. We used about 10~20 as color palette size. We think relatively small size could impose the networks to learn better concept of color palette.

from softras.

zyz-notebooks avatar zyz-notebooks commented on July 21, 2024 1

Thank you very much for your reply and help

from softras.

tejank10 avatar tejank10 commented on July 21, 2024

Thank you very much @ShichenLiu for clarifying the details. The texture generated is directly passed on to the renderer, or does it undergo transformation (like in case of generated displacement, which is then added to vertices)?

from softras.

ShichenLiu avatar ShichenLiu commented on July 21, 2024

from softras.

zyz-notebooks avatar zyz-notebooks commented on July 21, 2024

Thank you very much @ShichenLiu for clarifying the details. The texture generated is directly passed on to the renderer, or does it undergo transformation (like in case of generated displacement, which is then added to vertices)?

Hi, did you implement the texture reconstruction module of the project, would you mind sharing it for learning, looking forward to your reply

from softras.

tejank10 avatar tejank10 commented on July 21, 2024

I have created a gist here regarding it. The module and function are to be placed in models.py

from softras.

zyz-notebooks avatar zyz-notebooks commented on July 21, 2024

I have created a gist here regarding it. The module and function are to be placed in models.py

hi, sorry to disturb you, you can share the color loss code, looking forward to your reply,

from softras.

tejank10 avatar tejank10 commented on July 21, 2024

I have updated the gist with Texture Laplacian Loss, I assume that's what you mean by the color loss code.
Other than this, there is L1 loss over rendered vs input RGB image whichis also a color loss.

from softras.

zyz-notebooks avatar zyz-notebooks commented on July 21, 2024

I get it, thank you very much

from softras.

zyz-notebooks avatar zyz-notebooks commented on July 21, 2024

I have updated the gist with Texture Laplacian Loss, I assume that's what you mean by the color loss code.
Other than this, there is L1 loss over rendered vs input RGB image whichis also a color loss.

Thanks again for your help, I have initially achieved texture reconstruction, but there are some problems with the effect, the textures I get are almost all black and white tones, here are my train.py and model.py , can help me see my settings there Is there something wrong, looking forward to your reply!

from softras.

tejank10 avatar tejank10 commented on July 21, 2024

Maybe this is the culprit, the losses is taken wrt images_a[-1] which is a single image. I have updated the gist with L1 loss that I had used. It is analogous to the multiview_iou_loss which is in losses.py of SoftRas.

from softras.

zyz-notebooks avatar zyz-notebooks commented on July 21, 2024

Maybe this is the culprit, the losses is taken wrt images_a[-1] which is a single image. I have updated the gist with L1 loss that I had used. It is analogous to the multiview_iou_loss which is in losses.py of SoftRas.

Thank you very much. At present, the texture reconstruction effect is good. I believe the code you contributed on texture reconstruction will help more people.

from softras.

xiehousen avatar xiehousen commented on July 21, 2024

demo_0003000

Maybe this is the culprit, the losses is taken wrt images_a[-1] which is a single image. I have updated the gist with L1 loss that I had used. It is analogous to the multiview_iou_loss which is in losses.py of SoftRas.

Thank you very much. At present, the texture reconstruction effect is good. I believe the code you contributed on texture reconstruction will help more people.

hello, sorry to disturb you, can you share the code of model.py?
I meet the same question as you when I recompile the loss and put the col_gen in model.py. Look forward to your reply

from softras.

ShichenLiu avatar ShichenLiu commented on July 21, 2024

Provided samples of reconstructed color meshes in the repo!

from softras.

zoezhou1999 avatar zoezhou1999 commented on July 21, 2024

Hi @ShichenLiu
I followed the code snippets provided by @tejank10 . The texture reconstruction seems to work. But I noticed that the current texture reconstruction code and the descriptions in paper supplementary materials generate batch_size x face_num x 1 x 3 textures but the saving obj of SoftRas requires texture_res>=2, so I just repeat the 2nd dim. But I think it may affect the performance? So do you mind providing some hints on your texture reconstruction implementation about this? Thank you!

from softras.

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.