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

KeyError: 'categories' #197

Open
EMCL opened this issue Apr 9, 2018 · 3 comments
Open

KeyError: 'categories' #197

EMCL opened this issue Apr 9, 2018 · 3 comments

Comments

@EMCL
Copy link

EMCL commented Apr 9, 2018

lanka@ubuntu:~/work/FastMaskRCNN$ python download_and_convert_data.py
loading annotations into memory...
Done (t=5.22s)
creating index...
index created!
Traceback (most recent call last):
File "download_and_convert_data.py", line 39, in
tf.app.run()
File "/home/lanka/.local/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "download_and_convert_data.py", line 33, in main
download_and_convert_coco.run(FLAGS.dataset_dir, FLAGS.dataset_split_name)
File "/home/lanka/work/FastMaskRCNN/libs/datasets/download_and_convert_coco.py", line 457, in run
dataset_split_name)
File "/home/lanka/work/FastMaskRCNN/libs/datasets/download_and_convert_coco.py", line 245, in _add_to_tfrecord
cats = coco.loadCats(coco.getCatIds())
File "/home/lanka/work/FastMaskRCNN/libs/datasets/pycocotools/coco.py", line 165, in getCatIds
cats = self.dataset['''categories''']
KeyError: 'categories'

@Yuli555
Copy link

Yuli555 commented Jul 23, 2018

How did you solve the problem?

@satish1901
Copy link

any solution to this.?

@diliprc96
Copy link

Any update on 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

4 participants