BCNet
BCNet copied to clipboard
reading custom ''instances_train_2017_transform_slight_correct.json" file failed
hi, I followed the installation step, when I tried to run all.bash
, the error occured:
File "/usr/local/lib/python3.8/site-packages/pycocotools-2.0-py3.8-linux-x86_64.egg/pycocotools/coco.py", line 84, in __init__ dataset = json.load(open(annotation_file, 'r')) File "/usr/local/lib/python3.8/json/__init__.py", line 293, in load return loads(fp.read(), File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads return _default_decoder.decode(s) File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/local/lib/python3.8/json/decoder.py", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 650681102 (char 650681101)
The coco files are structured as below:
any idea?
what is worse. the json can't open with any software, there is invalid characters.
I have the same problem