{"action":"created","issue":{"url":"https://api.github.com/repos/ryouchinsa/Rectlabel-support/issues/50","repository_url":"https://api.github.com/repos/ryouchinsa/Rectlabel-support","labels_url":"https://api.github.com/repos/ryouchinsa/Rectlabel-support/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/ryouchinsa/Rectlabel-support/issues/50/comments","events_url":"https://api.github.com/repos/ryouchinsa/Rectlabel-support/issues/50/events","html_url":"https://github.com/ryouchinsa/Rectlabel-support/issues/50","id":356226350,"node_id":"MDU6SXNzdWUzNTYyMjYzNTA=","number":50,"title":"exported COCO json not contained `annotations`","user":{"login":"chy168","id":424758,"node_id":"MDQ6VXNlcjQyNDc1OA==","avatar_url":"https://avatars1.githubusercontent.com/u/424758?v=4","gravatar_id":"","url":"https://api.github.com/users/chy168","html_url":"https://github.com/chy168","followers_url":"https://api.github.com/users/chy168/followers","following_url":"https://api.github.com/users/chy168/following{/other_user}","gists_url":"https://api.github.com/users/chy168/gists{/gist_id}","starred_url":"https://api.github.com/users/chy168/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chy168/subscriptions","organizations_url":"https://api.github.com/users/chy168/orgs","repos_url":"https://api.github.com/users/chy168/repos","events_url":"https://api.github.com/users/chy168/events{/privacy}","received_events_url":"https://api.github.com/users/chy168/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-01T19:18:19Z","updated_at":"2018-09-02T03:59:20Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm trying to use `rectlabel_create_coco_tf_record.py` to convert COCO to TFRecord.\r\nOnce I run the command, it tell me:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/tester/codes/Rectlabel-support/rectlabel_create_coco_tf_record.py\", line 195, in <module>\r\n    tf.app.run()\r\n  File \"/Users/tester/codes/tensorflow_workspace/lib/python3.6/site-packages/tensorflow/python/platform/app.py\", line 125, in run\r\n    _sys.exit(main(argv))\r\n  File \"/Users/tester/codes/Rectlabel-support/rectlabel_create_coco_tf_record.py\", line 184, in main\r\n    num_shards=1)\r\n  File \"/Users/tester/codes/Rectlabel-support/rectlabel_create_coco_tf_record.py\", line 160, in _create_tf_record_from_coco_annotations\r\n    annotations_list = annotations_index[image['id']]\r\nKeyError: 1\r\n```\r\n\r\nWhen I trying to troubleshot for this error, I found the exported COCO json file not contained `annotations` as below:\r\n\r\n```\r\n...\r\n  \"annotations\" : [\r\n\r\n  ],\r\n...\r\n```\r\n\r\nis that a expected behavior? \r\n\r\nplease advice me if anything else i forget to configure in RectLabel?\r\n\r\nThank you, it a awesome tool! :)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ryouchinsa/Rectlabel-support/issues/comments/417903313","html_url":"https://github.com/ryouchinsa/Rectlabel-support/issues/50#issuecomment-417903313","issue_url":"https://api.github.com/repos/ryouchinsa/Rectlabel-support/issues/50","id":417903313,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzkwMzMxMw==","user":{"login":"chyzz","id":38026454,"node_id":"MDQ6VXNlcjM4MDI2NDU0","avatar_url":"https://avatars0.githubusercontent.com/u/38026454?v=4","gravatar_id":"","url":"https://api.github.com/users/chyzz","html_url":"https://github.com/chyzz","followers_url":"https://api.github.com/users/chyzz/followers","following_url":"https://api.github.com/users/chyzz/following{/other_user}","gists_url":"https://api.github.com/users/chyzz/gists{/gist_id}","starred_url":"https://api.github.com/users/chyzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chyzz/subscriptions","organizations_url":"https://api.github.com/users/chyzz/orgs","repos_url":"https://api.github.com/users/chyzz/repos","events_url":"https://api.github.com/users/chyzz/events{/privacy}","received_events_url":"https://api.github.com/users/chyzz/received_events","type":"User","site_admin":false},"created_at":"2018-09-02T03:59:20Z","updated_at":"2018-09-02T03:59:20Z","author_association":"NONE","body":"Hi,\r\n\r\nI found a clue might related to my problem.\r\nMy registered labels are not selected any `attribute`  for them. Is that a problem?\r\n"}}
{"actor":{"display_login":"chyzz"}}