Skip to content

Commit

Permalink
Combine 3 into 1
Browse files Browse the repository at this point in the history
Fix format with pre-commit

Add yaml sample

Squash commits
  • Loading branch information
kokseang committed Jan 16, 2025
1 parent 335ce7e commit b6bbc1e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 3 deletions.
31 changes: 31 additions & 0 deletions config/convert_deepen_to_t4_lidarseg_3d_painting_sample.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
task: convert_deepen_to_t4
description:
visibility:
full: "No occlusion of the object."
most: "Object is occluded, but by less than 50%."
partial: "The object is occluded by more than 50% (but not completely)."
none: "The object is 90-100% occluded and no points/pixels are visible in the label."
camera_index:
CAM_BACK_RIGHT: 0
CAM_BACK: 1
CAM_BACK_LEFT: 2
CAM_FRONT: 3
CAM_FRONT_LEFT: 4
CAM_FRONT_NARROW: 5
CAM_FRONT_RIGHT: 6
CAM_FRONT_WIDE: 7
with_lidar: true
with_lidarseg: true

conversion:
label_info: # for 3D/2D box only annotations, it is OK to skip specifying this field
label_type: 3d_point
label_format: paint_3d
input_base: ./data/non_annotated_t4_format
input_anno_file: ./data/deepen_format/lidarseg_annotations_accepted_deepen.json
input_bag_base: ./data/rosbag2
output_base: ./data/t4_format
topic_list: ./config/topic_list_sample.yaml
ignore_interpolate_label: true
dataset_corresponding:
Dataset_name: dataset_id_in_Deepen_AI
13 changes: 10 additions & 3 deletions perception_dataset/deepen/download_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,16 @@ def get_paint3d_labels(dataset_ids: List[str], dataset_dir: str, output_name: st
177048, 176775, 176997, 177271, 177864, 179341, 178986, 179670, 179973, 178885, 178424, 179233, 179766, 178644, 179057, 177871, 178286, 178570,
177410, 176688, 176961, 176871, 176862, 176740, 177872, 179313, 179414, 179496, 178974, 178653, 178992, 178861, 178823, 178690, 178815, 178966, 178960, 178907]
}',
'vary': 'Accept, Cookie, Accept-Encoding', 'allow': 'POST, GET, OPTIONS', 'x-frame-options': 'DENY',
'x-content-type-options': 'nosniff', 'referrer-policy': 'same-origin', 'content-encoding': 'gzip', 'via': '1.1 google',
'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'Alt-Svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', 'Transfer-Encoding': 'chunked'
'vary': 'Accept, Cookie, Accept-Encoding',
'allow': 'POST, GET, OPTIONS',
'x-frame-options': 'DENY',
'x-content-type-options': 'nosniff',
'referrer-policy': 'same-origin',
'content-encoding': 'gzip',
'via': '1.1 google',
'Strict-Transport-Security': 'max-age=31536000; includeSubDomains',
'Alt-Svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000',
'Transfer-Encoding': 'chunked'
}
<output_name>.json is in the following format:
Expand Down

0 comments on commit b6bbc1e

Please sign in to comment.