Skip to content

Commit

Permalink
feat(label): add support of trailer (#8)
Browse files Browse the repository at this point in the history
Signed-off-by: ktro2828 <[email protected]>

Signed-off-by: ktro2828 <[email protected]>
  • Loading branch information
ktro2828 authored Oct 6, 2022
1 parent 849fa2d commit 83a897f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/ja/perception/label.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
| `AutowareLabel.TRUCK` | "truck" | truck |
| | | TRUCK |
| | | vehicle.truck |
| | | trailer |
| | | TRAILER |
| | | vehicle.trailer |
| `AutowareLabel.BUS` | "bus" | bus |
| | | BUS |
Expand Down Expand Up @@ -61,6 +63,8 @@
| | | truck |
| | | TRUCK |
| | | vehicle.truck |
| | | trailer |
| | | TRAILER |
| | | vehicle.trailer |
| | | bus |
| | | BUS |
Expand Down
4 changes: 4 additions & 0 deletions perception_eval/perception_eval/common/label.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ def _set_pair_list(merge_similar_labels: bool) -> List[Tuple[AutowareLabel, str]
(AutowareLabel.CAR, "truck"),
(AutowareLabel.CAR, "TRUCK"),
(AutowareLabel.CAR, "vehicle.truck"),
(AutowareLabel.CAR, "trailer"),
(AutowareLabel.CAR, "TRAILER"),
(AutowareLabel.CAR, "vehicle.trailer"),
(AutowareLabel.BICYCLE, "motorbike"),
(AutowareLabel.BICYCLE, "MOTORBIKE"),
Expand All @@ -178,6 +180,8 @@ def _set_pair_list(merge_similar_labels: bool) -> List[Tuple[AutowareLabel, str]
(AutowareLabel.TRUCK, "truck"),
(AutowareLabel.TRUCK, "TRUCK"),
(AutowareLabel.TRUCK, "vehicle.truck"),
(AutowareLabel.TRUCK, "trailer"),
(AutowareLabel.TRUCK, "TRAILER"),
(AutowareLabel.TRUCK, "vehicle.trailer"),
(AutowareLabel.MOTORBIKE, "motorbike"),
(AutowareLabel.MOTORBIKE, "MOTORBIKE"),
Expand Down

0 comments on commit 83a897f

Please sign in to comment.