diff --git a/datumaro/README.md b/datumaro/README.md index f7f1c46e..5139976d 100644 --- a/datumaro/README.md +++ b/datumaro/README.md @@ -32,15 +32,26 @@ VOC-like dataset -- ---> Publication etc. - Dataset format conversions: - COCO (`image_info`, `instances`, `person_keypoints`, `captions`, `labels`*) - [Format specification](http://cocodataset.org/#format-data) + - [Dataset example](tests/assets/coco_dataset) - `labels` are our extension - like `instances` with only `category_id` - PASCAL VOC (`classification`, `detection`, `segmentation` (class, instances), `action_classification`, `person_layout`) - [Format specification](http://host.robots.ox.ac.uk/pascal/VOC/voc2012/htmldoc/index.html) + - [Dataset example](tests/assets/voc_dataset) - YOLO (`bboxes`) - [Format specification](https://github.com/AlexeyAB/darknet#how-to-train-pascal-voc-data) + - [Dataset example](tests/assets/yolo_dataset) - TF Detection API (`bboxes`, `masks`) - Format specifications: [bboxes](https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/using_your_own_dataset.md), [masks](https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/instance_segmentation.md) + - [Dataset example](tests/assets/tf_detection_api_dataset) + - MOT sequences + - [Format specification](https://arxiv.org/pdf/1906.04567.pdf) + - [Dataset example](tests/assets/mot_dataset) - CVAT - [Format specification](https://github.com/opencv/cvat/blob/develop/cvat/apps/documentation/xml_format.md) + - [Dataset example](tests/assets/cvat_dataset) + - LabelMe + - [Format specification](http://labelme.csail.mit.edu/Release3.0) + - [Dataset example](tests/assets/labelme_dataset) - Dataset building operations: - Merging multiple datasets into one - Dataset filtering with custom conditions, for instance: @@ -52,7 +63,7 @@ VOC-like dataset -- ---> Publication etc. - Annotation conversions, for instance - polygons to instance masks and vise-versa - apply a custom colormap for mask annotations - - remap dataset labels + - rename or remove dataset labels - Dataset comparison - Model integration: - Inference (OpenVINO and custom models) diff --git a/datumaro/tests/assets/coco_dataset/annotations/instances_val.json b/datumaro/tests/assets/coco_dataset/annotations/instances_val.json new file mode 100644 index 00000000..a7f566cc --- /dev/null +++ b/datumaro/tests/assets/coco_dataset/annotations/instances_val.json @@ -0,0 +1,59 @@ +{ + "licenses": [ + { + "name": "", + "id": 0, + "url": "" + } + ], + "info": { + "contributor": "", + "date_created": "", + "description": "", + "url": "", + "version": "", + "year": "" + }, + "categories": [ + { + "id": 1, + "name": "TEST", + "supercategory": "" + } + ], + "images": [ + { + "id": 1, + "width": 5, + "height": 10, + "file_name": "000000000001.jpg", + "license": 0, + "flickr_url": "", + "coco_url": "", + "date_captured": 0 + } + ], + "annotations": [ + { + "id": 1, + "image_id": 1, + "category_id": 1, + "segmentation": [[0, 0, 1, 0, 1, 2, 0, 2]], + "area": 2, + "bbox": [0, 0, 1, 2], + "iscrowd": 0 + }, + { + "id": 2, + "image_id": 1, + "category_id": 1, + "segmentation": { + "counts": [0, 10, 5, 5, 5, 5, 0, 10, 10, 0], + "size": [10, 5] + }, + "area": 30, + "bbox": [0, 0, 10, 4], + "iscrowd": 1 + } + ] + } \ No newline at end of file diff --git a/datumaro/tests/assets/coco_dataset/images/val/000000000001.jpg b/datumaro/tests/assets/coco_dataset/images/val/000000000001.jpg new file mode 100644 index 00000000..8bce84d3 Binary files /dev/null and b/datumaro/tests/assets/coco_dataset/images/val/000000000001.jpg differ diff --git a/datumaro/tests/assets/cvat_dataset/for_images/images/img0.jpg b/datumaro/tests/assets/cvat_dataset/for_images/images/img0.jpg new file mode 100644 index 00000000..9d28e0c1 Binary files /dev/null and b/datumaro/tests/assets/cvat_dataset/for_images/images/img0.jpg differ diff --git a/datumaro/tests/assets/cvat_dataset/for_images/images/img1.jpg b/datumaro/tests/assets/cvat_dataset/for_images/images/img1.jpg new file mode 100644 index 00000000..ee889d22 Binary files /dev/null and b/datumaro/tests/assets/cvat_dataset/for_images/images/img1.jpg differ diff --git a/datumaro/tests/assets/cvat_dataset/for_images/train.xml b/datumaro/tests/assets/cvat_dataset/for_images/train.xml new file mode 100644 index 00000000..02346484 --- /dev/null +++ b/datumaro/tests/assets/cvat_dataset/for_images/train.xml @@ -0,0 +1,45 @@ + + 1.1 + + + True + annotation + + + + + + + + + true + v3 + + + + + + + + diff --git a/datumaro/tests/assets/cvat_dataset/for_video/annotations.xml b/datumaro/tests/assets/cvat_dataset/for_video/annotations.xml new file mode 100644 index 00000000..5a68f811 --- /dev/null +++ b/datumaro/tests/assets/cvat_dataset/for_video/annotations.xml @@ -0,0 +1,92 @@ + + + 1.1 + + + 5 + v1 + 4 + interpolation + 2 + + 2020-04-23 08:57:24.614217+00:00 + 2020-04-23 09:04:48.168008+00:00 + 10 + 19 + step=3 + True + + + + + + + + 3 + 0 + 3 + http://localhost:7000/?id=3 + + + 4 + 2 + 3 + http://localhost:7000/?id=4 + + + + max + + + + + 25 + 20 + + + 2020-04-23 09:05:02.335612+00:00 + t.mp4 + + + + + + + + + + + + hgkf + + + jk + + + + + + + + + diff --git a/datumaro/tests/assets/cvat_dataset/for_video/images/frame_000010.png b/datumaro/tests/assets/cvat_dataset/for_video/images/frame_000010.png new file mode 100644 index 00000000..14996e0c Binary files /dev/null and b/datumaro/tests/assets/cvat_dataset/for_video/images/frame_000010.png differ diff --git a/datumaro/tests/assets/cvat_dataset/for_video/images/frame_000013.png b/datumaro/tests/assets/cvat_dataset/for_video/images/frame_000013.png new file mode 100644 index 00000000..14996e0c Binary files /dev/null and b/datumaro/tests/assets/cvat_dataset/for_video/images/frame_000013.png differ diff --git a/datumaro/tests/assets/mot_dataset/gt/gt.txt b/datumaro/tests/assets/mot_dataset/gt/gt.txt new file mode 100644 index 00000000..f4b7c0d4 --- /dev/null +++ b/datumaro/tests/assets/mot_dataset/gt/gt.txt @@ -0,0 +1 @@ +1,-1,0,4,4,8,1,3,1.0 diff --git a/datumaro/tests/assets/mot_dataset/gt/labels.txt b/datumaro/tests/assets/mot_dataset/gt/labels.txt new file mode 100644 index 00000000..6d9c393d --- /dev/null +++ b/datumaro/tests/assets/mot_dataset/gt/labels.txt @@ -0,0 +1,10 @@ +label_0 +label_1 +label_2 +label_3 +label_4 +label_5 +label_6 +label_7 +label_8 +label_9 \ No newline at end of file diff --git a/datumaro/tests/assets/mot_dataset/img1/000001.jpg b/datumaro/tests/assets/mot_dataset/img1/000001.jpg new file mode 100644 index 00000000..3588867b Binary files /dev/null and b/datumaro/tests/assets/mot_dataset/img1/000001.jpg differ diff --git a/datumaro/tests/assets/tf_detection_api_dataset/label_map.pbtxt b/datumaro/tests/assets/tf_detection_api_dataset/label_map.pbtxt new file mode 100644 index 00000000..dbf2b339 --- /dev/null +++ b/datumaro/tests/assets/tf_detection_api_dataset/label_map.pbtxt @@ -0,0 +1,50 @@ +item { + id: 1 + name: 'label_0' +} + +item { + id: 2 + name: 'label_1' +} + +item { + id: 3 + name: 'label_2' +} + +item { + id: 4 + name: 'label_3' +} + +item { + id: 5 + name: 'label_4' +} + +item { + id: 6 + name: 'label_5' +} + +item { + id: 7 + name: 'label_6' +} + +item { + id: 8 + name: 'label_7' +} + +item { + id: 9 + name: 'label_8' +} + +item { + id: 10 + name: 'label_9' +} + diff --git a/datumaro/tests/assets/tf_detection_api_dataset/test.tfrecord b/datumaro/tests/assets/tf_detection_api_dataset/test.tfrecord new file mode 100644 index 00000000..81dafa70 Binary files /dev/null and b/datumaro/tests/assets/tf_detection_api_dataset/test.tfrecord differ diff --git a/datumaro/tests/assets/tf_detection_api_dataset/train.tfrecord b/datumaro/tests/assets/tf_detection_api_dataset/train.tfrecord new file mode 100644 index 00000000..3ca38331 Binary files /dev/null and b/datumaro/tests/assets/tf_detection_api_dataset/train.tfrecord differ diff --git a/datumaro/tests/assets/tf_detection_api_dataset/val.tfrecord b/datumaro/tests/assets/tf_detection_api_dataset/val.tfrecord new file mode 100644 index 00000000..34fa9ce1 Binary files /dev/null and b/datumaro/tests/assets/tf_detection_api_dataset/val.tfrecord differ diff --git a/datumaro/tests/assets/voc_dataset/Annotations/2007_000001.xml b/datumaro/tests/assets/voc_dataset/Annotations/2007_000001.xml new file mode 100644 index 00000000..e6de2513 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/Annotations/2007_000001.xml @@ -0,0 +1,54 @@ + + + VOC2007 + 2007_000001.jpg + + 10 + 20 + 3 + + 1 + + cat + Unspecified + 1 + 0 + + 1 + 2 + 3 + 4 + + + + person + + 4 + 5 + 6 + 7 + + + head + + 5.5 + 6 + 7.5 + 8 + + + + 1 + 0 + 1 + 0 + 1 + 0 + 1 + 0 + 1 + 0 + 1 + + + \ No newline at end of file diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Action/test.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Action/test.txt new file mode 100644 index 00000000..c9fdc251 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Action/test.txt @@ -0,0 +1 @@ +2007_000002 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Action/train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Action/train.txt new file mode 100644 index 00000000..640b0d53 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Action/train.txt @@ -0,0 +1 @@ +2007_000001 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Layout/test.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Layout/test.txt new file mode 100644 index 00000000..c9fdc251 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Layout/test.txt @@ -0,0 +1 @@ +2007_000002 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Layout/train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Layout/train.txt new file mode 100644 index 00000000..640b0d53 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Layout/train.txt @@ -0,0 +1 @@ +2007_000001 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/aeroplane_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/aeroplane_train.txt new file mode 100644 index 00000000..a3decd42 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/aeroplane_train.txt @@ -0,0 +1 @@ +2007_000001 1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/background_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/background_train.txt new file mode 100644 index 00000000..d4385b69 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/background_train.txt @@ -0,0 +1 @@ +2007_000001 -1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/bicycle_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/bicycle_train.txt new file mode 100644 index 00000000..d4385b69 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/bicycle_train.txt @@ -0,0 +1 @@ +2007_000001 -1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/bird_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/bird_train.txt new file mode 100644 index 00000000..a3decd42 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/bird_train.txt @@ -0,0 +1 @@ +2007_000001 1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/boat_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/boat_train.txt new file mode 100644 index 00000000..d4385b69 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/boat_train.txt @@ -0,0 +1 @@ +2007_000001 -1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/bottle_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/bottle_train.txt new file mode 100644 index 00000000..a3decd42 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/bottle_train.txt @@ -0,0 +1 @@ +2007_000001 1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/bus_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/bus_train.txt new file mode 100644 index 00000000..d4385b69 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/bus_train.txt @@ -0,0 +1 @@ +2007_000001 -1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/car_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/car_train.txt new file mode 100644 index 00000000..a3decd42 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/car_train.txt @@ -0,0 +1 @@ +2007_000001 1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/cat_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/cat_train.txt new file mode 100644 index 00000000..d4385b69 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/cat_train.txt @@ -0,0 +1 @@ +2007_000001 -1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/chair_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/chair_train.txt new file mode 100644 index 00000000..a3decd42 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/chair_train.txt @@ -0,0 +1 @@ +2007_000001 1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/cow_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/cow_train.txt new file mode 100644 index 00000000..d4385b69 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/cow_train.txt @@ -0,0 +1 @@ +2007_000001 -1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/diningtable_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/diningtable_train.txt new file mode 100644 index 00000000..a3decd42 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/diningtable_train.txt @@ -0,0 +1 @@ +2007_000001 1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/dog_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/dog_train.txt new file mode 100644 index 00000000..d4385b69 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/dog_train.txt @@ -0,0 +1 @@ +2007_000001 -1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/horse_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/horse_train.txt new file mode 100644 index 00000000..a3decd42 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/horse_train.txt @@ -0,0 +1 @@ +2007_000001 1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/ignored_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/ignored_train.txt new file mode 100644 index 00000000..a3decd42 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/ignored_train.txt @@ -0,0 +1 @@ +2007_000001 1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/motorbike_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/motorbike_train.txt new file mode 100644 index 00000000..d4385b69 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/motorbike_train.txt @@ -0,0 +1 @@ +2007_000001 -1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/person_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/person_train.txt new file mode 100644 index 00000000..a3decd42 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/person_train.txt @@ -0,0 +1 @@ +2007_000001 1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/pottedplant_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/pottedplant_train.txt new file mode 100644 index 00000000..d4385b69 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/pottedplant_train.txt @@ -0,0 +1 @@ +2007_000001 -1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/sheep_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/sheep_train.txt new file mode 100644 index 00000000..a3decd42 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/sheep_train.txt @@ -0,0 +1 @@ +2007_000001 1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/sofa_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/sofa_train.txt new file mode 100644 index 00000000..d4385b69 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/sofa_train.txt @@ -0,0 +1 @@ +2007_000001 -1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/test.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/test.txt new file mode 100644 index 00000000..c9fdc251 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/test.txt @@ -0,0 +1 @@ +2007_000002 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/train.txt new file mode 100644 index 00000000..640b0d53 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/train.txt @@ -0,0 +1 @@ +2007_000001 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/train_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/train_train.txt new file mode 100644 index 00000000..a3decd42 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/train_train.txt @@ -0,0 +1 @@ +2007_000001 1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Main/tvmonitor_train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Main/tvmonitor_train.txt new file mode 100644 index 00000000..d4385b69 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Main/tvmonitor_train.txt @@ -0,0 +1 @@ +2007_000001 -1 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Segmentation/test.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Segmentation/test.txt new file mode 100644 index 00000000..c9fdc251 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Segmentation/test.txt @@ -0,0 +1 @@ +2007_000002 diff --git a/datumaro/tests/assets/voc_dataset/ImageSets/Segmentation/train.txt b/datumaro/tests/assets/voc_dataset/ImageSets/Segmentation/train.txt new file mode 100644 index 00000000..640b0d53 --- /dev/null +++ b/datumaro/tests/assets/voc_dataset/ImageSets/Segmentation/train.txt @@ -0,0 +1 @@ +2007_000001 diff --git a/datumaro/tests/assets/voc_dataset/JPEGImages/2007_000002.jpg b/datumaro/tests/assets/voc_dataset/JPEGImages/2007_000002.jpg new file mode 100644 index 00000000..3c81296b Binary files /dev/null and b/datumaro/tests/assets/voc_dataset/JPEGImages/2007_000002.jpg differ diff --git a/datumaro/tests/assets/voc_dataset/SegmentationClass/2007_000001.png b/datumaro/tests/assets/voc_dataset/SegmentationClass/2007_000001.png new file mode 100644 index 00000000..0b920514 Binary files /dev/null and b/datumaro/tests/assets/voc_dataset/SegmentationClass/2007_000001.png differ diff --git a/datumaro/tests/assets/voc_dataset/SegmentationObject/2007_000001.png b/datumaro/tests/assets/voc_dataset/SegmentationObject/2007_000001.png new file mode 100644 index 00000000..ebbeee61 Binary files /dev/null and b/datumaro/tests/assets/voc_dataset/SegmentationObject/2007_000001.png differ diff --git a/datumaro/tests/assets/yolo_dataset/obj.data b/datumaro/tests/assets/yolo_dataset/obj.data new file mode 100644 index 00000000..16ca4090 --- /dev/null +++ b/datumaro/tests/assets/yolo_dataset/obj.data @@ -0,0 +1,4 @@ +classes = 10 +train = data/train.txt +names = data/obj.names +backup = backup/ diff --git a/datumaro/tests/assets/yolo_dataset/obj.names b/datumaro/tests/assets/yolo_dataset/obj.names new file mode 100644 index 00000000..b24c644d --- /dev/null +++ b/datumaro/tests/assets/yolo_dataset/obj.names @@ -0,0 +1,10 @@ +label_0 +label_1 +label_2 +label_3 +label_4 +label_5 +label_6 +label_7 +label_8 +label_9 diff --git a/datumaro/tests/assets/yolo_dataset/obj_train_data/1.jpg b/datumaro/tests/assets/yolo_dataset/obj_train_data/1.jpg new file mode 100644 index 00000000..8689b956 Binary files /dev/null and b/datumaro/tests/assets/yolo_dataset/obj_train_data/1.jpg differ diff --git a/datumaro/tests/assets/yolo_dataset/obj_train_data/1.txt b/datumaro/tests/assets/yolo_dataset/obj_train_data/1.txt new file mode 100644 index 00000000..1f507909 --- /dev/null +++ b/datumaro/tests/assets/yolo_dataset/obj_train_data/1.txt @@ -0,0 +1,2 @@ +2 0.133333 0.300000 0.266667 0.200000 +4 0.266667 0.450000 0.133333 0.300000 diff --git a/datumaro/tests/assets/yolo_dataset/train.txt b/datumaro/tests/assets/yolo_dataset/train.txt new file mode 100644 index 00000000..f55beb73 --- /dev/null +++ b/datumaro/tests/assets/yolo_dataset/train.txt @@ -0,0 +1 @@ +data/obj_train_data/1.jpg