You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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需要怎么改
The text was updated successfully, but these errors were encountered:
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需要怎么改
The text was updated successfully, but these errors were encountered: