Tiny-cuda-nn and fixed logic for instant-ngp (#102)

* correcting implementation for instant ngp

* instant ngp with tcnn

* black and pylint

* merged master
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-05-23 12:05:41 -07:00
1 parent 8cc4c063df
commit 7d8beaaed4
17 files changed
+477 -43

No files matched your search

@@ -0,0 +1,3 @@
data_directory: data/instant_ngp/fox
dataset_format: instant_ngp
downscale_factor: 1
+3 -2
View File
@@ -3,8 +3,9 @@ defaults:
- dataset: blender_lego
# validation options
val_image_indices: [0, 10, 20] # Which images to evaluate on.
val_image_indices: [0, 10, 20] # which images to evaluate on
val_downscale_factor: 8
val_num_rays_per_chunk: 4096
# dataloader options
dataloader:
@@ -12,4 +13,4 @@ dataloader:
shuffle: true
num_images_to_sample_from: 8
num_rays_per_batch: 1024
num_times_to_repeat_images: 40
num_times_to_repeat_images: 100
+2
View File
@@ -7,6 +7,8 @@ defaults:
- override hydra/hydra_logging: colorlog
- _self_
seed: 0
hydra:
run:
# Configure output dir of each experiment programmatically from the arguments
+3
View File
@@ -4,6 +4,9 @@ defaults:
network:
_target_: mattport.nerf.graph.instant_ngp.NGPGraph
field_implementation: torch # torch, tcnn, ...
loss_coefficients: # loss coefficients
rgb_loss: 1.0
# optimizer options for network
param_groups:
+2
View File
@@ -3,3 +3,5 @@ defaults:
- override graph: instant_ngp_graph
- _self_
method_name: instant_ngp
data.dataloader.num_rays_per_batch: 4096
data.val_num_rays_per_chunk: 16384
+8
View File
@@ -0,0 +1,8 @@
defaults:
- default
- override graph: instant_ngp_graph
- _self_
method_name: instant_ngp
data.dataloader.num_rays_per_batch: 4096
data.val_num_rays_per_chunk: 16384
graph.network.field_implementation: tcnn