Skip to content

Commit 3d15eb4

Browse files
committed
Add FAQ entry about randomized background colors in NeRF training
1 parent ceec42a commit 3d15eb4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,13 @@ __A:__ There could be multiple issues:
190190
- Carefully read [our NeRF training & dataset tips](https://github.com/NVlabs/instant-ngp/blob/master/docs/nerf_dataset_tips.md).
191191

192192
##
193-
__Q:__ How can I mask away dynamic objects for NeRF training?
193+
__Q:__ Why are background colors randomized during NeRF training?
194+
195+
__A:__ Transparency in the training data indicates a desire for transparency in the learned model. Using solid background colors, the model can minimize its loss by simply predicting the background colors, rather than transparency (zero density). By randomizing the background colors, the model is _forced_ to learn zero density to let the randomized colors "shine through".
196+
197+
198+
##
199+
__Q:__ How to mask away NeRF training pixels (e.g. for dynamic object removal)?
194200

195201
__A:__ For any training image `xyz.*` with dynamic objects, you can provide a `dynamic_mask_xyz.png` in the same folder. This file must be in PNG format, where _non-zero_ pixel values indicate masked-away regions.
196202

0 commit comments

Comments
 (0)