Comments (15)
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.
Thank you very much for your reply and help
from softras.
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.
from softras.
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.
I have created a gist here regarding it. The module and function are to be placed in models.py
from softras.
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.
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.
I get it, thank you very much
from softras.
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.
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.
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 themultiview_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.
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 themultiview_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.
Provided samples of reconstructed color meshes in the repo!
from softras.
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)
- I got the error :No module soft_renderer.cuda.load_textures ,when I run the command :CUDA_VISIBLE_DEVICES=0 python examples/demo_render.py HOT 2
- functional/soft_rasterize.py bug: lagacy branch HOT 5
- Some questions about source.npy
- How to avoid the different light/dark areas in the rasterized mesh image?
- About parameters of get_ points_ from_ Angles function
- Index out of array boundary of a corner case
- how to make my own datasets?
- error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX86\\x64\\link.exe' failed with exit code 1120 HOT 1
- Installation issue
- Why SoftRasterizer render a mesh mask to different colors (i.e., surfaces are white, edges are gray)?
- Explanation regarding camera parameters
- FAILED: load_textures_cuda_kernel.obj HOT 5
- How to Reconstruct Target Geometry with RGB images
- undefined symbol: cudaSetupArgument HOT 5
- Install Problem: FAILED: C:/.../SoftRas-master/build/temp.win-amd64-3.6/Release/soft_renderer/cuda/soft_rasterize_cuda_kernel.obj HOT 1
- Symmetry Problem
- g++ error: load_textures_cuda.o: No such file or directory HOT 2
- libtorch C++ API
- Limitations on the number of vertices
- How to use opencv style matrix instead of OpenGL style?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from softras.