{
  "id": 285519,
  "title": "Efficient conversion to COCO Dataset",
  "url": "/competitions/sartorius-cell-instance-segmentation/discussion/285519",
  "author_name": "",
  "post_date": "2021-11-05T03:41:26.525161800Z",
  "votes": 11,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Notebook <a href=\"https://www.kaggle.com/coldfir3/efficient-coco-dataset-generator?scriptVersionId=78875004\" target=\"_blank\">HERE</a></p>\n<p>Dataset <a href=\"https://www.kaggle.com/coldfir3/sartorius-coco-dataset\" target=\"_blank\">HERE</a></p>\n<p>This notebook was Inspired by <a href=\"https://www.kaggle.com/slawekbiel/positive-score-with-detectron-1-3-input-data?scriptVersionId=77658860\" target=\"_blank\">this</a> great notebook. I made a few improvements in the <code>rle2mask</code> code to make it more efficient and used the tools provided in <code>pycocotools</code> for everything else. This results in a massive reduction of computing time and dataset size.</p>",
  "messages": [
    {
      "id": "1571640",
      "postDate": "11/05/2021 03:41:26",
      "content": "<p>Notebook <a href=\"https://www.kaggle.com/coldfir3/efficient-coco-dataset-generator?scriptVersionId=78875004\" target=\"_blank\">HERE</a></p>\n<p>Dataset <a href=\"https://www.kaggle.com/coldfir3/sartorius-coco-dataset\" target=\"_blank\">HERE</a></p>\n<p>This notebook was Inspired by <a href=\"https://www.kaggle.com/slawekbiel/positive-score-with-detectron-1-3-input-data?scriptVersionId=77658860\" target=\"_blank\">this</a> great notebook. I made a few improvements in the <code>rle2mask</code> code to make it more efficient and used the tools provided in <code>pycocotools</code> for everything else. This results in a massive reduction of computing time and dataset size.</p>",
      "rawMarkdown": "Notebook [HERE](https://www.kaggle.com/coldfir3/efficient-coco-dataset-generator?scriptVersionId=78875004)\n\nDataset [HERE](https://www.kaggle.com/coldfir3/sartorius-coco-dataset)\n\nThis notebook was Inspired by [this](https://www.kaggle.com/slawekbiel/positive-score-with-detectron-1-3-input-data?scriptVersionId=77658860) great notebook. I made a few improvements in the `rle2mask` code to make it more efficient and used the tools provided in `pycocotools` for everything else. This results in a massive reduction of computing time and dataset size.",
      "votes": null
    },
    {
      "id": "1572002",
      "postDate": "11/05/2021 10:47:16",
      "content": "<p>Oh, that's cool. I actually tried doing it that way but failed on saving the compressed representation to json. It's possible I was only missing <code>.decode('utf-8')</code> /facepalm</p>\n<p>Thanks for fixing I've added a note in my notebook to redirect to yours. What's the size of the file with all the samples?</p>",
      "rawMarkdown": "Oh, that's cool. I actually tried doing it that way but failed on saving the compressed representation to json. It's possible I was only missing `.decode('utf-8')` /facepalm\n\nThanks for fixing I've added a note in my notebook to redirect to yours. What's the size of the file with all the samples?",
      "votes": null
    },
    {
      "id": "1572073",
      "postDate": "11/05/2021 11:50:56",
      "content": "<blockquote>\n  <p>What's the size of the file with all the samples?</p>\n</blockquote>\n<p>It's around 38 MB.</p>\n<p>Btw, thanks for sharing your baseline. I learned a lot from it.</p>",
      "rawMarkdown": "> What's the size of the file with all the samples?\n\nIt's around 38 MB.\n\nBtw, thanks for sharing your baseline. I learned a lot from it.",
      "votes": null
    },
    {
      "id": "1572253",
      "postDate": "11/05/2021 14:59:01",
      "content": "<p><a href=\"https://www.kaggle.com/slawekbiel\" target=\"_blank\">@slawekbiel</a> don't be ashamed, I spent like 1h googling to find a fix for that! lmao</p>",
      "rawMarkdown": "slawekbiel don't be ashamed, I spent like 1h googling to find a fix for that! lmao",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1572002,
      "author_name": "slawekbiel",
      "author_url": "",
      "post_date": "11/05/2021 10:47:16",
      "content": "<p>Oh, that's cool. I actually tried doing it that way but failed on saving the compressed representation to json. It's possible I was only missing <code>.decode('utf-8')</code> /facepalm</p>\n<p>Thanks for fixing I've added a note in my notebook to redirect to yours. What's the size of the file with all the samples?</p>",
      "votes": null,
      "replies": [
        {
          "id": 1572073,
          "author_name": "atharvaingle",
          "author_url": "",
          "post_date": "11/05/2021 11:50:56",
          "content": "<blockquote>\n  <p>What's the size of the file with all the samples?</p>\n</blockquote>\n<p>It's around 38 MB.</p>\n<p>Btw, thanks for sharing your baseline. I learned a lot from it.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1572253,
          "author_name": "coldfir3",
          "author_url": "",
          "post_date": "11/05/2021 14:59:01",
          "content": "<p><a href=\"https://www.kaggle.com/slawekbiel\" target=\"_blank\">@slawekbiel</a> don't be ashamed, I spent like 1h googling to find a fix for that! lmao</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1571640": "Notebook [HERE](https://www.kaggle.com/coldfir3/efficient-coco-dataset-generator?scriptVersionId=78875004)\n\nDataset [HERE](https://www.kaggle.com/coldfir3/sartorius-coco-dataset)\n\nThis notebook was Inspired by [this](https://www.kaggle.com/slawekbiel/positive-score-with-detectron-1-3-input-data?scriptVersionId=77658860) great notebook. I made a few improvements in the `rle2mask` code to make it more efficient and used the tools provided in `pycocotools` for everything else. This results in a massive reduction of computing time and dataset size.",
    "1572002": "Oh, that's cool. I actually tried doing it that way but failed on saving the compressed representation to json. It's possible I was only missing `.decode('utf-8')` /facepalm\n\nThanks for fixing I've added a note in my notebook to redirect to yours. What's the size of the file with all the samples?",
    "1572073": "> What's the size of the file with all the samples?\n\nIt's around 38 MB.\n\nBtw, thanks for sharing your baseline. I learned a lot from it.",
    "1572253": "slawekbiel don't be ashamed, I spent like 1h googling to find a fix for that! lmao"
  },
  "source": "meta"
}