Pipeline v2 (#258)

* Model class done, pipeline class still needs more visualization stuffs

* Renaming the BaseDataContainer to DataloaderOutputs and adding documentation

* Pushing more documentation, removing some trivial functions

* Updating dict typing

* Removing config dicts for collider

* Passing tests

* Pushing shell new dataloader

* Saving work, need to fix NGP model's get_loss_dict and Pipeline

* V1 of the ngp pipeline should be done. Need train script and debugging

* Updating with latest instant-ngp code

* Syntax updates from latest ngp graph code

* Linter, removing unneeded code in new NGP graph code

* Style

* Should be good now. Linter is happy and the code is verbatum current instant-ngp

* Everything done except novel view testing code

* Fixing some nitpicks

* Debugging dataloader

* merged master

* WOP. integrating pipeline with configs and notebook demo

* removing model folder

* a lot of name changing from Graph to Model

* in progress... changing trainer to use pipeline... broken right now

* pipeline code runs

* switched to val dataset

* makes run_eval.py work

* updated configs for pipeline change

* fixing test_run_train script

* fixing black and linting

* fix docs

* small updates to trainer

Co-authored-by: Jake Austin <jake-austin@berkeley.edu>
This commit is contained in:
Ethan WeberandJake Austin authored and GitHub committed 2022-08-10 14:59:45 -07:00
1 parent 670c2a01db
commit 0b042be956
55 files changed
+8595 -8263

No files matched your search

+23 -27
View File
@@ -5,30 +5,26 @@ defaults:
experiment_name: friends_TBBT-big_living_room
method_name: nerfw
# the data
data:
# Train dataloading.
dataset_inputs_train:
_target_: nerfactory.data.datasets.Friends
data_directory: data/friends/TBBT-big_living_room
downscale_factor: 1
image_dataset_train:
_target_: nerfactory.data.image_dataset.PanopticImageDataset
# Eval dataloading
dataset_inputs_eval:
_target_: nerfactory.data.datasets.Friends
data_directory: data/friends/TBBT-big_living_room
downscale_factor: 1
image_dataset_eval:
_target_: nerfactory.data.image_dataset.PanopticImageDataset
graph:
_target_: nerfactory.graphs.semantic_nerf.SemanticNerfGraph
collider_config:
_target_: nerfactory.graphs.modules.scene_colliders.AABBBoxCollider
num_coarse_samples: 64
num_importance_samples: 64
loss_coefficients:
rgb_loss_coarse: 1.0
rgb_loss_fine: 1.0
semantic_loss_fine: 0.05
pipeline:
dataloader:
image_dataset_type: panoptic
# Train dataloading.
train_dataset:
_target_: nerfactory.dataloaders.datasets.Friends
data_directory: data/friends/TBBT-big_living_room
downscale_factor: 1
# Eval dataloading
eval_dataset:
_target_: nerfactory.dataloaders.datasets.Friends
data_directory: data/friends/TBBT-big_living_room
downscale_factor: 1
model:
_target_: nerfactory.models.semantic_nerf.SemanticNerfModel
collider_config:
_target_: nerfactory.models.modules.scene_colliders.AABBBoxCollider
num_coarse_samples: 64
num_importance_samples: 64
loss_coefficients:
rgb_loss_coarse: 1.0
rgb_loss_fine: 1.0
semantic_loss_fine: 0.05