{
  "id": 48047,
  "title": "Submission Exception (index is out of bounds)",
  "url": "/competitions/data-science-bowl-2018/discussion/48047",
  "author_name": "",
  "post_date": "2018-01-22T21:44:48.397915Z",
  "votes": 5,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Sorry if it is a dumb question, but this is the first time it happens with me:</p>\n\n<p>When I try to submit my prediction I get: <code>Evaluation Exception: Index was outside the bounds of the array.</code> And I just don't know what is wrong with my submission.</p>\n\n<p>I am using the already written method for creating the run-length encoding and I also checked that every test_id is included in the submission. Also, no index in the .csv file, just the 2 columns.</p>",
  "messages": [
    {
      "id": "272357",
      "postDate": "01/22/2018 21:44:48",
      "content": "<p>Sorry if it is a dumb question, but this is the first time it happens with me:</p>\n\n<p>When I try to submit my prediction I get: <code>Evaluation Exception: Index was outside the bounds of the array.</code> And I just don't know what is wrong with my submission.</p>\n\n<p>I am using the already written method for creating the run-length encoding and I also checked that every test_id is included in the submission. Also, no index in the .csv file, just the 2 columns.</p>",
      "rawMarkdown": "Sorry if it is a dumb question, but this is the first time it happens with me:\n\nWhen I try to submit my prediction I get: `Evaluation Exception: Index was outside the bounds of the array.` And I just don't know what is wrong with my submission.\n\nI am using the already written method for creating the run-length encoding and I also checked that every test_id is included in the submission. Also, no index in the .csv file, just the 2 columns.",
      "votes": null
    },
    {
      "id": "272436",
      "postDate": "01/23/2018 03:17:37",
      "content": "<p>Each line in your submission file refers to a mask, a mask is shown using at least one pixel index and a run length. Probably somewhere in your file you have an index which is out of bound for that image. </p>\n\n<p>If you resize images in your code, make sure you recover to the original size before running run-length encoding.</p>",
      "rawMarkdown": "Each line in your submission file refers to a mask, a mask is shown using at least one pixel index and a run length. Probably somewhere in your file you have an index which is out of bound for that image. \n\nIf you resize images in your code, make sure you recover to the original size before running run-length encoding.",
      "votes": null
    },
    {
      "id": "272563",
      "postDate": "01/23/2018 08:28:47",
      "content": "<p>I found the problem and somehow in one of my segmented images, it contained only value 150 instead of just {0, 255}.</p>",
      "rawMarkdown": "I found the problem and somehow in one of my segmented images, it contained only value 150 instead of just {0, 255}.",
      "votes": null
    },
    {
      "id": "273014",
      "postDate": "01/24/2018 02:42:26",
      "content": "<p>I also found a problem of submission that is not updated on the LB. I tried to submit the same result but nothing happened again. I'm wondering if there is a bug in the submission system.</p>",
      "rawMarkdown": "I also found a problem of submission that is not updated on the LB. I tried to submit the same result but nothing happened again. I'm wondering if there is a bug in the submission system.",
      "votes": null
    },
    {
      "id": "296238",
      "postDate": "03/14/2018 23:47:16",
      "content": "<p>After tackling this myself for a while this is what I found useful to note:</p>\n\n<ul>\n<li>images have arbitrary sizes</li>\n<li>pixel indexing starts with 1, not with 0</li>\n<li>don't forget the header line</li>\n</ul>",
      "rawMarkdown": "After tackling this myself for a while this is what I found useful to note:\n\n* images have arbitrary sizes\n* pixel indexing starts with 1, not with 0\n* don't forget the header line",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 272436,
      "author_name": "mrtzmilani",
      "author_url": "",
      "post_date": "01/23/2018 03:17:37",
      "content": "<p>Each line in your submission file refers to a mask, a mask is shown using at least one pixel index and a run length. Probably somewhere in your file you have an index which is out of bound for that image. </p>\n\n<p>If you resize images in your code, make sure you recover to the original size before running run-length encoding.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 272563,
      "author_name": "gaborvecsei",
      "author_url": "",
      "post_date": "01/23/2018 08:28:47",
      "content": "<p>I found the problem and somehow in one of my segmented images, it contained only value 150 instead of just {0, 255}.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 273014,
      "author_name": "dxchen",
      "author_url": "",
      "post_date": "01/24/2018 02:42:26",
      "content": "<p>I also found a problem of submission that is not updated on the LB. I tried to submit the same result but nothing happened again. I'm wondering if there is a bug in the submission system.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 296238,
      "author_name": "andbot",
      "author_url": "",
      "post_date": "03/14/2018 23:47:16",
      "content": "<p>After tackling this myself for a while this is what I found useful to note:</p>\n\n<ul>\n<li>images have arbitrary sizes</li>\n<li>pixel indexing starts with 1, not with 0</li>\n<li>don't forget the header line</li>\n</ul>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "272357": "Sorry if it is a dumb question, but this is the first time it happens with me:\n\nWhen I try to submit my prediction I get: `Evaluation Exception: Index was outside the bounds of the array.` And I just don't know what is wrong with my submission.\n\nI am using the already written method for creating the run-length encoding and I also checked that every test_id is included in the submission. Also, no index in the .csv file, just the 2 columns.",
    "272436": "Each line in your submission file refers to a mask, a mask is shown using at least one pixel index and a run length. Probably somewhere in your file you have an index which is out of bound for that image. \n\nIf you resize images in your code, make sure you recover to the original size before running run-length encoding.",
    "272563": "I found the problem and somehow in one of my segmented images, it contained only value 150 instead of just {0, 255}.",
    "273014": "I also found a problem of submission that is not updated on the LB. I tried to submit the same result but nothing happened again. I'm wondering if there is a bug in the submission system.",
    "296238": "After tackling this myself for a while this is what I found useful to note:\n\n* images have arbitrary sizes\n* pixel indexing starts with 1, not with 0\n* don't forget the header line"
  },
  "source": "meta"
}