{
  "id": 306772,
  "title": "Do not set category_id in COCO to 0",
  "url": "/competitions/tensorflow-great-barrier-reef/discussion/306772",
  "author_name": "",
  "post_date": "2022-02-10T20:52:53.283785Z",
  "votes": 3,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I just wanted to share that <code>category_id</code> should not be set to 0 when you create your COCO dataset, since it's reserved for having no label info. I've wasted some time on it, so I'd like to share this finding. <a href=\"https://github.com/openvinotoolkit/datumaro/issues/156\" target=\"_blank\">https://github.com/openvinotoolkit/datumaro/issues/156</a></p>",
  "messages": [
    {
      "id": "1684895",
      "postDate": "02/10/2022 20:52:53",
      "content": "<p>I just wanted to share that <code>category_id</code> should not be set to 0 when you create your COCO dataset, since it's reserved for having no label info. I've wasted some time on it, so I'd like to share this finding. <a href=\"https://github.com/openvinotoolkit/datumaro/issues/156\" target=\"_blank\">https://github.com/openvinotoolkit/datumaro/issues/156</a></p>",
      "rawMarkdown": "I just wanted to share that `category_id ` should not be set to 0 when you create your COCO dataset, since it's reserved for having no label info. I've wasted some time on it, so I'd like to share this finding. https://github.com/openvinotoolkit/datumaro/issues/156",
      "votes": null
    },
    {
      "id": "1685001",
      "postDate": "02/10/2022 23:26:28",
      "content": "<p>What issue did you see with category_id = 0 ? I havent seen any issues using that. </p>",
      "rawMarkdown": "What issue did you see with category_id = 0 ? I havent seen any issues using that.",
      "votes": null
    },
    {
      "id": "1685005",
      "postDate": "02/10/2022 23:33:59",
      "content": "<p>In fact, there was other reason for my code not working correctly. But I still think this note may be useful. At least, mmdetection/mmtracking also doesn't use 0 as <code>category_id</code>.</p>",
      "rawMarkdown": "In fact, there was other reason for my code not working correctly. But I still think this note may be useful. At least, mmdetection/mmtracking also doesn't use 0 as `category_id`.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1685001,
      "author_name": "trushk",
      "author_url": "",
      "post_date": "02/10/2022 23:26:28",
      "content": "<p>What issue did you see with category_id = 0 ? I havent seen any issues using that. </p>",
      "votes": null,
      "replies": [
        {
          "id": 1685005,
          "author_name": "atamazian",
          "author_url": "",
          "post_date": "02/10/2022 23:33:59",
          "content": "<p>In fact, there was other reason for my code not working correctly. But I still think this note may be useful. At least, mmdetection/mmtracking also doesn't use 0 as <code>category_id</code>.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1684895": "I just wanted to share that `category_id ` should not be set to 0 when you create your COCO dataset, since it's reserved for having no label info. I've wasted some time on it, so I'd like to share this finding. https://github.com/openvinotoolkit/datumaro/issues/156",
    "1685001": "What issue did you see with category_id = 0 ? I havent seen any issues using that.",
    "1685005": "In fact, there was other reason for my code not working correctly. But I still think this note may be useful. At least, mmdetection/mmtracking also doesn't use 0 as `category_id`."
  },
  "source": "meta"
}