Skip to content

Commit

Permalink
Fix(BOP): Reset max samples to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSmeyer committed Feb 17, 2022
1 parent 550faeb commit 0471896
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/datasets/bop_challenge/main_hb_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def sample_pose_func(obj: bproc.types.MeshObject):

# activate depth rendering without antialiasing and set amount of samples for color rendering
bproc.renderer.enable_depth_output(activate_antialiasing=False)
bproc.renderer.set_max_amount_of_samples(50)

for i in range(args.num_scenes):

Expand Down
1 change: 1 addition & 0 deletions examples/datasets/bop_challenge/main_icbin_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def sample_pose_func(obj: bproc.types.MeshObject):

# activate depth rendering without antialiasing and set amount of samples for color rendering
bproc.renderer.enable_depth_output(activate_antialiasing=False)
bproc.renderer.set_max_amount_of_samples(50)

for i in range(args.num_scenes):

Expand Down
1 change: 1 addition & 0 deletions examples/datasets/bop_challenge/main_itodd_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def sample_pose_func(obj: bproc.types.MeshObject):

# activate depth rendering without antialiasing and set amount of samples for color rendering
bproc.renderer.enable_depth_output(activate_antialiasing=False)
bproc.renderer.set_max_amount_of_samples(50)

for i in range(args.num_scenes):

Expand Down
1 change: 1 addition & 0 deletions examples/datasets/bop_challenge/main_lm_upright.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def sample_pose_func(obj: bproc.types.MeshObject):

# activate depth rendering without antialiasing and set amount of samples for color rendering
bproc.renderer.enable_depth_output(activate_antialiasing=False)
bproc.renderer.set_max_amount_of_samples(50)

for i in range(args.num_scenes):

Expand Down
1 change: 1 addition & 0 deletions examples/datasets/bop_challenge/main_tless_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def sample_pose_func(obj: bproc.types.MeshObject):

# activate depth rendering without antialiasing and set amount of samples for color rendering
bproc.renderer.enable_depth_output(activate_antialiasing=False)
bproc.renderer.set_max_amount_of_samples(50)

for i in range(args.num_scenes):

Expand Down
1 change: 1 addition & 0 deletions examples/datasets/bop_challenge/main_tudl_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def sample_pose_func(obj: bproc.types.MeshObject):

# activate depth rendering without antialiasing and set amount of samples for color rendering
bproc.renderer.enable_depth_output(activate_antialiasing=False)
bproc.renderer.set_max_amount_of_samples(50)

for i in range(args.num_scenes):

Expand Down
1 change: 1 addition & 0 deletions examples/datasets/bop_challenge/main_ycbv_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def sample_pose_func(obj: bproc.types.MeshObject):

# activate depth rendering without antialiasing and set amount of samples for color rendering
bproc.renderer.enable_depth_output(activate_antialiasing=False)
bproc.renderer.set_max_amount_of_samples(50)

for i in range(args.num_scenes):

Expand Down
1 change: 1 addition & 0 deletions examples/datasets/bop_object_on_surface_sampling/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def sample_initial_pose(obj: bproc.types.MeshObject):

# activate depth rendering
bproc.renderer.enable_depth_output(activate_antialiasing=False)
bproc.renderer.set_max_amount_of_samples(50)

# render the whole pipeline
data = bproc.renderer.render()
Expand Down
1 change: 1 addition & 0 deletions examples/datasets/bop_object_physics_positioning/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def sample_pose_func(obj: bproc.types.MeshObject):

# activate depth rendering
bproc.renderer.enable_depth_output(activate_antialiasing=False)
bproc.renderer.set_max_amount_of_samples(50)

# render the whole pipeline
data = bproc.renderer.render()
Expand Down
1 change: 1 addition & 0 deletions examples/datasets/bop_object_pose_sampling/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def sample_pose_func(obj: bproc.types.MeshObject):

# activate depth rendering
bproc.renderer.enable_depth_output(activate_antialiasing=False)
bproc.renderer.set_max_amount_of_samples(50)

# Render five different scenes
for _ in range(5):
Expand Down
1 change: 1 addition & 0 deletions examples/datasets/bop_scene_replication/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

# activate depth rendering
bproc.renderer.enable_depth_output(activate_antialiasing=False)
bproc.renderer.set_max_amount_of_samples(50)

# render the cameras of the current scene
data = bproc.renderer.render()
Expand Down

0 comments on commit 0471896

Please sign in to comment.