4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00
nerfstudio/.vscode/launch.json
Pablo Vela ddfa463f4d
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
2023-03-12 16:01:18 -04:00

117 lines
3.4 KiB
JSON

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Chrome against localhost",
"request": "launch",
"type": "chrome",
"url": "http://localhost:4000",
"webRoot": "${workspaceFolder}/nerfstudio/viewer/app"
},
{
"name": "Python: Attach using Process ID",
"type": "python",
"request": "attach",
"processId": "${command:pickProcess}",
"justMyCode": true
},
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "Python: train",
"type": "python",
"request": "launch",
"program": "scripts/train.py",
"console": "integratedTerminal",
"args": [
"instant_ngp",
"--viewer.no-enable",
"--logging.event-writer=wandb"
]
},
{
"name": "Python: train ngp",
"type": "python",
"request": "launch",
"program": "scripts/train.py",
"console": "integratedTerminal",
"args": ["instant_ngp"]
},
{
"name": "Python: train ngp nerfstudio",
"type": "python",
"request": "launch",
"program": "scripts/train.py",
"console": "integratedTerminal",
"args": [
"instant_ngp",
// "--experiment_name=nerfstudio_experiment",
"--logging.local-writer.max-log-size=0",
"--viewer.no-enable"
// viewer
// "--viewer.enable",
// "--viewer.zmq-url=tcp://127.0.0.1:6001",
// "--viewer.websocket-port=8014",
// "--pipeline.model.randomize-background",
// "--pipeline.model.cone-angle=0.00390625",
// "nerfstudio-data"
]
},
{
"name": "Python: train ngp-friends",
"type": "python",
"request": "launch",
"program": "scripts/train.py",
"console": "integratedTerminal",
"args": [
"instant_ngp",
"--viewer.enable",
"--viewer.zmq-url=tcp://127.0.0.1:6001",
"--viewer.websocket-port=8014",
"--steps_per_save=1000000",
"--steps_per_test=1000000",
"--pipeline.model.density-field-params.base-scale=4",
"--pipeline.model.density-field-params.num-cascades=1",
"pipeline.datamanager.train-dataparser:friends-data-parser-config",
"--pipeline.datamanager.train-dataparser.scene-scale=4"
]
},
{
"name": "Python: train semantic_nerfw",
"type": "python",
"request": "launch",
"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"
]
},
]
}