prepare_detection_dataset icon indicating copy to clipboard operation
prepare_detection_dataset copied to clipboard

convert dataset to coco/voc format

Results 5 prepare_detection_dataset issues
Sort by recently updated
recently updated
newest added

你好,对于多个类别的情况,classname_to_id 中不止一个类别时,感觉是否存在一定问题? 因为这里,划分数据集是这样做的: `train_path, val_path = train_test_split(json_list_path, test_size=0.12)` 期待大佬的回复,谢谢啦

Hi, I found that the annotation id starts with 0 in the `csv2coco.py` file: https://github.com/spytensor/prepare_detection_dataset/blob/4ae42f652fd5e0ef7a5eec29b3018a4ae9e601e2/csv2coco.py#L29 But for current official coco evaluation toolkit (https://github.com/cocodataset/cocoapi), it requires that the annotation id in...

Traceback (most recent call last): File "labelme2coco.py", line 115, in train_instance = l2c_train.to_coco(train_path) File "labelme2coco.py", line 30, in to_coco self.images.append(self._image(obj, json_path)) File "labelme2coco.py", line 58, in _image img_x = utils.img_b64_to_arr(obj['imageData'])...