Comments (2)
Hello @ktertikas,
We used a standard float32 MLP mostly for compatibility reasons so that the code was running on more servers.
If you want to run the encoder + MLP in tcnn in float16 there may be some gradient scaling issues to consider.
Please refer to the tcnn code base to see the recommended gradient scaling approach for that use case. Note also that we currently scale the gradients for the encoder, which may need to be removed/adapted in case you run everything through tcnn.
For a general overview of gradient scaling and some best practices, please refer to
https://docs.nvidia.com/deeplearning/performance/mixed-precision-training/index.html
from nvdiffrec.
Thank you for the immediate response @jmunkberg ! I have played around with gradient scaling a bit, but maybe it needs to be done in a more principled way. In any case thank you for the reference link!
from nvdiffrec.
Related Issues (20)
- Train datasets
- Not able to learn specular and diffuse properties HOT 1
- What's the purpose of custom mipmap build function. HOT 2
- Add a how to cite! HOT 3
- Large gradient at mesh vertices HOT 1
- JSON parameter optimization for Mesh extraction HOT 2
- The results generated by the nerd dataset are poor HOT 4
- what's the poses_bounds.npy's data format HOT 3
- question about code details HOT 2
- is there any way to use multi lights? HOT 2
- How to train from a pre-defined mesh? HOT 2
- Creating a new bsdf_256_256.bin HOT 5
- util.rotate_x seems inverse from gl's right hand rule HOT 1
- Use DMTet on udf. HOT 2
- OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root. Building PyTorch extension for tiny-cuda-nn version 1.7 Obtained compute capabilities [86] from environment variable TCNN_CUDA_ARCHITECTURES Detected CUDA version 11.6 Targeting C++ standard 17 [end of output] HOT 1
- Getting stuck during installation HOT 2
- Normal map for training HOT 2
- `groupshared` is not supported in slangtorch. HOT 1
- Optimize Mesh of an Indoor Scene HOT 1
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 nvdiffrec.