refactoring configs; pulled network out of graph; created trainer heirarchy (#51)

* changed config graph structure

* removed network udner graphs; added new heirarchy trainer

* fixed callback in occupancy graph

* lint

* changed register callback to setter method
This commit is contained in:
evonneng authored and GitHub committed 2022-06-15 09:06:43 -07:00
1 parent 41073540c1
commit 91ef54963c
19 files changed
+163 -134

No files matched your search

+6 -7
View File
@@ -10,13 +10,12 @@ data:
num_rays_per_chunk: 16384 # for evaluation
graph:
network:
_target_: pyrad.graphs.instant_ngp.NGPGraph
collider_config:
_target_: pyrad.graphs.modules.scene_colliders.AABBBoxCollider
field_implementation: tcnn # torch, tcnn, ...
loss_coefficients: # loss coefficients
rgb_loss: 1.0
_target_: pyrad.graphs.instant_ngp.NGPGraph
collider_config:
_target_: pyrad.graphs.modules.scene_colliders.AABBBoxCollider
field_implementation: tcnn # torch, tcnn, ...
loss_coefficients: # loss coefficients
rgb_loss: 1.0
# optimizer options for network
optimizers: