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

Generate extreme point annotation from segmentation #46

Open
keravraj20 opened this issue Oct 3, 2020 · 0 comments
Open

Generate extreme point annotation from segmentation #46

keravraj20 opened this issue Oct 3, 2020 · 0 comments

Comments

@keravraj20
Copy link

@xingyizhou while running python gen_coco_extreme_points.py for generating extreme points, I get this error. I tried looking at the exact column where it shows error, but it seams right.

Error I get:
Traceback (most recent call last):
File "gen_coco_extreme_points.py", line 80, in
data = json.load(open(ANN_PATH.format(split), 'r'))
File "/usr/lib/python3.6/json/init.py", line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 54525953 (char 54525952)

Can you pls help me with this?

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