Skip to content

Commit

Permalink
Update detect func
Browse files Browse the repository at this point in the history
  • Loading branch information
sooahleex committed Sep 25, 2024
1 parent 2f49c3d commit 1c5256b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/datumaro/plugins/data_formats/kitti_3d/importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Kitti3dImporter(Importer):

@classmethod
def detect(cls, context: FormatDetectionContext) -> FormatDetectionConfidence:
context.require_file(f"{Kitti3dPath.CALIB_DIR}/*.txt")
cls._check_ann_file(context.require_file(f"{Kitti3dPath.LABEL_DIR}/*.txt"), context)
return FormatDetectionConfidence.MEDIUM

Expand Down

0 comments on commit 1c5256b

Please sign in to comment.