Skip to content

Commit

Permalink
Update custom config; use wireframe cube in view_data
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyu committed Jan 15, 2023
1 parent b11fa43 commit 0986b0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions opt/configs/custom_alt.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"reso": "[[128, 128, 128], [256, 256, 256], [512, 512, 512]]",
"reso": "[[256, 256, 256], [512, 512, 512]]",
"n_iters": 102400,
"background_nlayers": 64,
"background_reso": 1024,
"cam_scale_factor": 0.95,
"upsamp_every": 25600,
"upsamp_every": 51200,
"lr_sigma": 3e1,
"lr_sh": 1e-2,
"lr_sigma_delay_steps": 35000,
"lr_fg_begin_step": 10000,
"lr_fg_begin_step": 50,
"thresh_type": "weight",
"weight_thresh": 1.28,
"lambda_tv": 5e-5,
Expand Down
2 changes: 1 addition & 1 deletion opt/scripts/view_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def get_transform(c2w):
out_dir = path.join(args.data_dir, "visual")
scene.add_axes(length=1.0, visible=False)
scene.add_sphere("Unit Sphere", visible=False)
scene.add_cube("Unit Cube", scale=2, visible=False)
scene.add_wireframe_cube("Unit Cube", scale=2, visible=False)
print('WRITING', out_dir)
scene.display(out_dir, world_up=world_up, cam_origin=origin, cam_center=center, cam_forward=vforward)

Expand Down

0 comments on commit 0986b0d

Please sign in to comment.