Skip to content

Commit

Permalink
Fix format'
Browse files Browse the repository at this point in the history
  • Loading branch information
kokseang committed Feb 3, 2025
1 parent b0c36fc commit a83c5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perception_dataset/deepen/deepen_to_t4_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def _format_annotations(self) -> Dict[str, Dict[str, Any]]:
raise ValueError(f"Unexpected label type: {self._label_info.label_type}")

# format deepen annotations
if self._label_info.label_type == LabelType.POINT_3D:
if self._label_info is not None and self._label_info.label_type == LabelType.POINT_3D:
# Call format_deepen_annotations() from the dataclass if it's POINT_3D
scenes_anno_dict: Dict[str, Dict[str, Any]] = (
deepen_annotations.format_deepen_annotations()
Expand Down

0 comments on commit a83c5fb

Please sign in to comment.