NeuS Implementation (#1444)

* add initial method configs and data manager

* add neus scheduler

* add initial surface model and neus

* add Neus ray sampler

* add sdf field

* move scale/shift calc to math utils

* add debug and fix sdf_dataset typo

* update vscode neus debug

* fix dataset and get initial working version

* add magic number from original repo

* black fixes

* clean up get weights/transmittance from alphas

* clean up typos in sdf datamanager

* type annotations on neus scheduler and remove unused params

* clean up and annotate sdf field along w/ other fixes

* more clean up

* remove unnessary directions norm

* resolve comments

* update neus scheduler to follow refactor

* fix linter errors

* fix some typos

* remove get_weights_from_alpha

* more comment fixes

* more linter error fixes

* clean up and add comments

* more little fixes for types/comments

* more comments

* rename NeuS Scheduler to DelayedScheduler

* rename DelayedScheduler to CosineDecayScheduler
This commit is contained in:
Pablo Vela authored and GitHub committed 2023-03-12 16:01:18 -04:00
1 parent 1b18b44d81
commit ddfa463f4d
16 files changed
+1376 -53

No files matched your search

+20 -1
View File
@@ -92,6 +92,25 @@
"program": "scripts/train.py",
"console": "integratedTerminal",
"args": ["semantic_nerf"]
}
},
{
"name": "Python: NeuS on Replica",
"type": "python",
"request": "launch",
"program": "scripts/train.py",
"console": "integratedTerminal",
"justMyCode": false,
"env": {"CUDA_VISIBLE_DEVICES":"0"},
"args": [
"neus",
"--pipeline.model.sdf-field.inside-outside=True",
"--pipeline.model.mono-depth-loss-mult=0.1",
"--pipeline.model.mono-normal-loss-mult=0.05",
"--vis=wandb",
"sdfstudio-data",
"--data=data/sdfstudio-demo-data/replica-room0",
"--include_mono_prior=True"
]
},
]
}