prepare_detection_dataset icon indicating copy to clipboard operation
prepare_detection_dataset copied to clipboard

有1个bug想请教一下

Open yancie-yjr opened this issue 4 years ago • 0 comments

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']) File "/home/hustget/miniconda2/envs/open-mmlab/lib/python3.7/site-packages/labelme/utils/image.py", line 24, in img_b64_to_arr img_data = base64.b64decode(img_b64) File "/home/hustget/miniconda2/envs/open-mmlab/lib/python3.7/base64.py", line 87, in b64decode return binascii.a2b_base64(s) binascii.Error: Invalid base64-encoded string: number of data characters (73941) cannot be 1 more than a multiple of 4 这个bug需要怎么改

yancie-yjr avatar Nov 12 '20 09:11 yancie-yjr