Skip to content

Commit b3071a3

Browse files
committed
fix(process): the minimum condition for cluster should be set as larger than k (20).
1 parent f53ea3f commit b3071a3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

envprocess.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ dependencies:
1818
- nuscenes-devkit
1919
- av2==0.2.1
2020
- waymo-open-dataset-tf-2.11.0==1.5.0
21-
- open3d==0.16.0
21+
- open3d==0.18.0
2222
- linefit
2323
- dztimer
2424
- dufomap==1.0.0
2525
- evalai
2626

2727
# Reason about the version fixed:
28-
# numpy==1.22: package conflicts, need numpy higher or same 1.22
28+
# numpy==1.22: package conflicts, need numpy higher or same 1.22
29+
# open3d==0.18.0: because 0.17.0 have bug on set the view json file
30+
# dufomap==1.0.0: in case later updating may not compatible with the code.

process.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def run_cluster(
5757
if "dufo_label" not in data:
5858
print(f"Warning: {scene_id} {data['timestamp']} has no dufo_label, will be skipped. Better to rerun dufomap again in this scene.")
5959
continue
60-
elif data["dufo_label"].sum() == 0:
60+
elif data["dufo_label"].sum() < 20:
6161
print(f"Warning: {scene_id} {data['timestamp']} has no dynamic points, will be skipped. Better to check this scene.")
6262
continue
6363

0 commit comments

Comments
 (0)