We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd43bfa commit a097c3eCopy full SHA for a097c3e
packages/examples/cvat/recording-oracle/src/core/tasks/points.py
@@ -23,7 +23,7 @@ def serialize_gt_annotations(self, gt_dataset: dm.Dataset) -> bytes:
23
def parse_gt_annotations(self, gt_dataset_data: bytes) -> dm.Dataset:
24
with TemporaryDirectory() as temp_dir:
25
annotations_dir = os.path.join(temp_dir, "annotations")
26
- os.makedirs(annotations_dir)
+ Path(annotations_dir).mkdir()
27
28
annotations_filename = os.path.join(annotations_dir, "default.json")
29
with open(annotations_filename, "wb") as f:
0 commit comments