Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有1个bug想请教一下 #17

Open
yancie-yjr opened this issue Nov 12, 2020 · 0 comments
Open

有1个bug想请教一下 #17

yancie-yjr opened this issue Nov 12, 2020 · 0 comments

Comments

@yancie-yjr
Copy link

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需要怎么改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant