Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
Add pretrained models: chair, drums, materials
Browse files Browse the repository at this point in the history
Signed-off-by: Krishna Murthy <[email protected]>
  • Loading branch information
krrish94 committed Apr 17, 2020
1 parent 317b14d commit a3d63f9
Show file tree
Hide file tree
Showing 8 changed files with 207 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,11 @@ The organization of code **WILL** change around a lot, because I'm actively expe
**Pretrained models**: Pretrained models for the following scenes are available in the `pretrained` directory (all of them are currently lowres). I will continue adding models herein.
```
# Synthetic (Blender) scenes
chair
drums
hotdog
lego
materials
ship
# Real (LLFF) scenes
Expand Down
Binary file modified assets/blender-lowres.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pretrained/chair-lowres/checkpoint155000.ckpt
Binary file not shown.
68 changes: 68 additions & 0 deletions pretrained/chair-lowres/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
dataset:
basedir: cache/nerf_synthetic/chair
far: 6
half_res: true
near: 2
no_ndc: true
testskip: 1
type: blender
experiment:
id: chair
logdir: logs
print_every: 100
randomseed: 42
save_every: 5000
train_iters: 200000
validate_every: 5000
models:
coarse:
hidden_size: 256
include_input_dir: true
include_input_xyz: true
log_sampling_dir: true
log_sampling_xyz: true
num_encoding_fn_dir: 4
num_encoding_fn_xyz: 10
num_layers: 8
skip_connect_every: 4
type: FlexibleNeRFModel
use_viewdirs: true
fine:
hidden_size: 256
include_input_dir: true
include_input_xyz: true
log_sampling_dir: true
log_sampling_xyz: true
num_encoding_fn_dir: 4
num_encoding_fn_xyz: 10
num_layers: 8
skip_connect_every: 4
type: FlexibleNeRFModel
use_viewdirs: true
nerf:
encode_direction_fn: positional_encoding
encode_position_fn: positional_encoding
train:
chunksize: 16384
lindisp: false
num_coarse: 64
num_fine: 64
num_random_rays: 1024
perturb: true
radiance_field_noise_std: 0.2
white_background: true
use_viewdirs: true
validation:
chunksize: 16384
lindisp: false
num_coarse: 64
num_fine: 64
perturb: false
radiance_field_noise_std: 0.0
white_background: true
optimizer:
lr: 0.005
type: Adam
scheduler:
lr_decay: 250
lr_decay_factor: 0.1
Binary file added pretrained/drums-lowres/checkpoint199999.ckpt
Binary file not shown.
68 changes: 68 additions & 0 deletions pretrained/drums-lowres/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
dataset:
basedir: cache/nerf_synthetic/drums
far: 6
half_res: true
near: 2
no_ndc: true
testskip: 1
type: blender
experiment:
id: drums
logdir: logs
print_every: 100
randomseed: 42
save_every: 5000
train_iters: 200000
validate_every: 5000
models:
coarse:
hidden_size: 256
include_input_dir: true
include_input_xyz: true
log_sampling_dir: true
log_sampling_xyz: true
num_encoding_fn_dir: 4
num_encoding_fn_xyz: 10
num_layers: 8
skip_connect_every: 4
type: FlexibleNeRFModel
use_viewdirs: true
fine:
hidden_size: 256
include_input_dir: true
include_input_xyz: true
log_sampling_dir: true
log_sampling_xyz: true
num_encoding_fn_dir: 4
num_encoding_fn_xyz: 10
num_layers: 8
skip_connect_every: 4
type: FlexibleNeRFModel
use_viewdirs: true
nerf:
encode_direction_fn: positional_encoding
encode_position_fn: positional_encoding
train:
chunksize: 16384
lindisp: false
num_coarse: 64
num_fine: 64
num_random_rays: 1024
perturb: true
radiance_field_noise_std: 0.2
white_background: true
use_viewdirs: true
validation:
chunksize: 16384
lindisp: false
num_coarse: 64
num_fine: 64
perturb: false
radiance_field_noise_std: 0.0
white_background: true
optimizer:
lr: 0.005
type: Adam
scheduler:
lr_decay: 250
lr_decay_factor: 0.1
Binary file added pretrained/materials-lowres/checkpoint199999.ckpt
Binary file not shown.
68 changes: 68 additions & 0 deletions pretrained/materials-lowres/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
dataset:
basedir: cache/nerf_synthetic/materials
far: 6
half_res: true
near: 2
no_ndc: true
testskip: 1
type: blender
experiment:
id: materials
logdir: logs
print_every: 100
randomseed: 42
save_every: 5000
train_iters: 200000
validate_every: 5000
models:
coarse:
hidden_size: 256
include_input_dir: true
include_input_xyz: true
log_sampling_dir: true
log_sampling_xyz: true
num_encoding_fn_dir: 4
num_encoding_fn_xyz: 10
num_layers: 8
skip_connect_every: 4
type: FlexibleNeRFModel
use_viewdirs: true
fine:
hidden_size: 256
include_input_dir: true
include_input_xyz: true
log_sampling_dir: true
log_sampling_xyz: true
num_encoding_fn_dir: 4
num_encoding_fn_xyz: 10
num_layers: 8
skip_connect_every: 4
type: FlexibleNeRFModel
use_viewdirs: true
nerf:
encode_direction_fn: positional_encoding
encode_position_fn: positional_encoding
train:
chunksize: 16384
lindisp: false
num_coarse: 64
num_fine: 64
num_random_rays: 1024
perturb: true
radiance_field_noise_std: 0.2
white_background: true
use_viewdirs: true
validation:
chunksize: 16384
lindisp: false
num_coarse: 64
num_fine: 64
perturb: false
radiance_field_noise_std: 0.0
white_background: true
optimizer:
lr: 0.005
type: Adam
scheduler:
lr_decay: 250
lr_decay_factor: 0.1

0 comments on commit a3d63f9

Please sign in to comment.