mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 19:04:03 +08:00
Shading hyperparameter tuning
This commit is contained in:
1 parent
2525749974
commit
f1b3e6dd6b
1 file changed
+1
-1
@@ -218,7 +218,7 @@ class DreamFusionModel(Model):
|
||||
light_d = ray_bundle.origins[0]
|
||||
light_d = math.safe_normalize(light_d)
|
||||
|
||||
if self.train_shaded:
|
||||
if self.train_shaded and np.random.random_sample() > 0.75:
|
||||
ratio = 0.1
|
||||
else:
|
||||
ratio = 0.0
|
||||
|
||||
Reference in new issue
Block a user