implementing l1 and tv reg in the original tensorf paper (#1855)

* implementing l1 and tv reg in the original tensorf paper

* added documentation for tv loss

* added test for tv loss

* fix formating

* fix formatting

---------

Co-authored-by: Yan Xiao <yax010@ucsd.edu>
This commit is contained in:
Yan XiaoandYan Xiao authored and GitHub committed 2023-05-09 09:32:51 -07:00
1 parent f92275603a
commit 38cbb0f358
4 files changed
+77 -3

No files matched your search

+3 -1
View File
@@ -367,7 +367,9 @@ method_configs["tensorf"] = TrainerConfig(
train_num_rays_per_batch=4096,
eval_num_rays_per_batch=4096,
),
model=TensoRFModelConfig(),
model=TensoRFModelConfig(
regularization="tv",
),
),
optimizers={
"fields": {