Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Argument Error in run_nerf.py and adding gitignore file #4

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#IntelliJ
.idea/
11 changes: 11 additions & 0 deletions configs/chairs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
expname: carla_128
data:
imsize: 600
datadir: data/carla
type: carla
radius: 9.6
near: 9
far: 10
fov: 30.0
vmin: 0.1 # 50 deg - todo: need to do proper calculation from deg to number here.
vmax: 0.32898992833716556 # 70 deg
2 changes: 1 addition & 1 deletion submodules/nerf_pytorch/run_nerf.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def config_parser():
parser.add_argument("--netwidth", type=int, default=256, help='channels per layer')
parser.add_argument("--netdepth_fine", type=int, default=8, help='layers in fine network')
parser.add_argument("--netwidth_fine", type=int, default=256, help='channels per layer in fine network')
parser.add_argument("--N_samples", type=int, default=32*32*4, help='batch size (number of random rays per gradient step)')
parser.add_argument("--N_rand", type=int, default=32*32*4, help='batch size (number of random rays per gradient step)')
parser.add_argument("--lrate", type=float, default=5e-4, help='learning rate')
parser.add_argument("--lrate_decay", type=int, default=250, help='exponential learning rate decay (in 1000 steps)')
parser.add_argument("--chunk", type=int, default=1024*32, help='number of rays processed in parallel, decrease if running out of memory')
Expand Down