Skip to content

Commit

Permalink
object gen for arbitrary classes
Browse files Browse the repository at this point in the history
  • Loading branch information
EllingtonKirby committed Jun 13, 2024
1 parent ca1f134 commit 185e51d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lidiff/tools/object_pcd_denoising.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
def get_min_points_from_class(object_class):
return {
'vehicle.car':300,
'vehicle.bicycle':50
'vehicle.bicycle':100
}[object_class]

def find_eligible_objects(num_to_find=1, object_class='vehicle.car'):
Expand Down Expand Up @@ -171,7 +171,7 @@ def find_pcd_and_test_on_object(output_path, name, model, class_name):
center_cyl,
size,
yaw,
1,
5,
)
np.savetxt(f'{output_path}/{name}/generated.txt', x_gen)
np.savetxt(f'{output_path}/{name}/orig.txt', x_orig)
Expand Down

0 comments on commit 185e51d

Please sign in to comment.