mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-29 20:39:48 +08:00
Setting near and far with scene bounds collider. Also LR schedules. (#74)
* some initial cuda code as I learn. using git to save progress. * first cuda kernel for ray sampling that mostly works * cleaning up code. working on lr. structs for scene bounds aabb * added scene bounds collider code * updated setup * setup * setup * black * including some files * exporting env variable * new file * git workflows * github actions * github actions * github actions * removing env var
This commit is contained in:
1 parent
752df417ce
commit
676beebb14
45 files changed
+803
-8354
No files matched your search
@@ -1,4 +1,4 @@
|
||||
data_directory: data/blender/lego
|
||||
dataset_type: blender
|
||||
downscale_factor: 4
|
||||
alpha_color: white
|
||||
dataset_format: blender
|
||||
downscale_factor: 1
|
||||
alpha_color: white
|
||||
@@ -1,3 +1,3 @@
|
||||
data_directory: data/friends/TBBT-big_living_room
|
||||
dataset_type: friends
|
||||
downscale_factor: 8
|
||||
dataset_format: friends
|
||||
downscale_factor: 8
|
||||
@@ -3,7 +3,8 @@ defaults:
|
||||
- dataset: blender_lego
|
||||
|
||||
# validation options
|
||||
validation_image_indices: [0, 10] # Which images to evaluate on.
|
||||
val_image_indices: [0, 10, 20] # Which images to evaluate on.
|
||||
val_downscale_factor: 8
|
||||
|
||||
# dataloader options
|
||||
dataloader:
|
||||
|
||||
@@ -1,15 +1,14 @@
|
||||
# saving model specifications
|
||||
model_dir: /tmp/mattport_models/
|
||||
model_dir: /tmp/mattport_models/
|
||||
steps_per_save: null
|
||||
steps_per_test: 100
|
||||
max_num_iterations: 100000
|
||||
max_num_iterations: 1000000
|
||||
|
||||
# pretrained loading options
|
||||
resume_train:
|
||||
load_dir: # pretrained model directory
|
||||
load_step: # pretrained model's step number
|
||||
|
||||
# NOTE(ethan): currently setting to nothing b/c we're still designing the config format...
|
||||
network:
|
||||
_target_: mattport.nerf.graph.vanilla_nerf.NeRFGraph
|
||||
near_plane: 2.0
|
||||
@@ -25,16 +24,17 @@ network:
|
||||
param_groups:
|
||||
fields:
|
||||
optimizer:
|
||||
type: Adam
|
||||
lr: 5e-4
|
||||
_target_: torch.optim.Adam
|
||||
lr: 0.0005
|
||||
scheduler:
|
||||
type: StepLR
|
||||
step_size: 30 # Period of learning rate decay.
|
||||
gamma: 0.1 # Multiplicative factor of learning rate decay. Default: 0.1.
|
||||
_target_: mattport.nerf.optimizers.ExponentialDecaySchedule
|
||||
lr_final: 0.000005
|
||||
max_steps: 1000000
|
||||
|
||||
cameras:
|
||||
optimizer:
|
||||
type: SGD
|
||||
_target_: torch.optim.SGD
|
||||
lr: 1e-4
|
||||
scheduler:
|
||||
type: ExponentialLR
|
||||
gamma: 0.1
|
||||
_target_: torch.optim.lr_scheduler.ExponentialLR
|
||||
gamma: 0.1
|
||||
@@ -9,5 +9,4 @@ network:
|
||||
param_groups:
|
||||
fields:
|
||||
optimizer:
|
||||
type: Adam
|
||||
lr: 1e-2
|
||||
@@ -8,10 +8,10 @@ machine_config:
|
||||
|
||||
data:
|
||||
dataset:
|
||||
dataset_type: blender
|
||||
dataset_format: blender
|
||||
data_directory: tests/data/lego_test
|
||||
downscale_factor: 8
|
||||
validation_image_indices: [0]
|
||||
val_image_indices: [0]
|
||||
dataloader:
|
||||
num_images_to_sample_from: 1
|
||||
num_rays_per_batch: 8
|
||||
@@ -20,9 +20,9 @@ graph:
|
||||
max_num_iterations: 5
|
||||
|
||||
logging:
|
||||
writer:
|
||||
writer:
|
||||
TensorboardWriter:
|
||||
save_dir: '/tmp/'
|
||||
save_dir: "/tmp/"
|
||||
|
||||
hydra:
|
||||
searchpath:
|
||||
|
||||
Reference in new issue
Block a user