{
  "id": 149809,
  "title": "Submission csv not found",
  "url": "/competitions/global-wheat-detection/discussion/149809",
  "author_name": "",
  "post_date": "2020-05-10T01:19:40.650117Z",
  "votes": 5,
  "comment_count": 8,
  "views": 0,
  "content": "<p>Anyone konw how to solve it ?<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1805026%2F92dff6cda19e960a44903874a73867b4%2F1589073547609.jpg?generation=1589073577358248&amp;alt=media\" alt=\"\"></p>",
  "messages": [
    {
      "id": "840390",
      "postDate": "05/10/2020 01:19:40",
      "content": "<p>Anyone konw how to solve it ?<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1805026%2F92dff6cda19e960a44903874a73867b4%2F1589073547609.jpg?generation=1589073577358248&amp;alt=media\" alt=\"\"></p>",
      "rawMarkdown": "Anyone konw how to solve it ?![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1805026%2F92dff6cda19e960a44903874a73867b4%2F1589073547609.jpg?generation=1589073577358248&amp;alt=media)",
      "votes": null
    },
    {
      "id": "840578",
      "postDate": "05/10/2020 06:47:20",
      "content": "<ul>\n<li>Make sure the submission file is named \"submission.csv\"</li>\n<li>Make sure it is saved in the working directory (I think it is \"/kaggle/working\")</li>\n</ul>",
      "rawMarkdown": "Make sure the submission file is named \"submission.csv\"\n- Make sure it is saved in the working directory (I think it is \"/kaggle/working\")",
      "votes": null
    },
    {
      "id": "840768",
      "postDate": "05/10/2020 11:10:11",
      "content": "<p>Thank you for your reply, I have checked them，nothing is wrong.</p>",
      "rawMarkdown": "Thank you for your reply, I have checked them，nothing is wrong.",
      "votes": null
    },
    {
      "id": "844852",
      "postDate": "05/12/2020 22:20:12",
      "content": "<p>Did you check if your code still works when no bounding boxes are found? It is likely that your code may stop with an error for the actual testing phase, not producing the submission file. What your code does when your model cannot find any matches can be the exception that is causing the error?</p>",
      "rawMarkdown": "Did you check if your code still works when no bounding boxes are found? It is likely that your code may stop with an error for the actual testing phase, not producing the submission file. What your code does when your model cannot find any matches can be the exception that is causing the error?",
      "votes": null
    },
    {
      "id": "844929",
      "postDate": "05/12/2020 23:51:33",
      "content": "<p>It's caused because there is an issue with your inference code which causes it to crash when it runs on the private test set images.</p>\n\n<p>One likely cause is that you do not attempt to resize the images after loading. For some reason, at least one image in the private test set is not 1024^2 and thus will cause your script to crash if you dont have a line like <code>cv2.resize(img, (1024, 1024))</code> in your data loader.</p>\n\n<p>Hope that fixes it for you</p>",
      "rawMarkdown": "It's caused because there is an issue with your inference code which causes it to crash when it runs on the private test set images.\n\nOne likely cause is that you do not attempt to resize the images after loading. For some reason, at least one image in the private test set is not 1024^2 and thus will cause your script to crash if you dont have a line like `cv2.resize(img, (1024, 1024))` in your data loader.\n\nHope that fixes it for you",
      "votes": null
    },
    {
      "id": "850903",
      "postDate": "05/17/2020 06:34:24",
      "content": "<p>I face the same problem. Have you already handled it? How did you handle it?</p>",
      "rawMarkdown": "I face the same problem. Have you already handled it? How did you handle it?",
      "votes": null
    },
    {
      "id": "873508",
      "postDate": "06/04/2020 07:55:54",
      "content": "<p>how you solved it?</p>",
      "rawMarkdown": "how you solved it?",
      "votes": null
    },
    {
      "id": "874511",
      "postDate": "06/05/2020 04:11:28",
      "content": "<p>Resize</p>",
      "rawMarkdown": "Resize",
      "votes": null
    },
    {
      "id": "875590",
      "postDate": "06/06/2020 01:04:19",
      "content": "<p>resize also worked for me when facing the same error.</p>",
      "rawMarkdown": "resize also worked for me when facing the same error.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 840578,
      "author_name": "hekimgil",
      "author_url": "",
      "post_date": "05/10/2020 06:47:20",
      "content": "<ul>\n<li>Make sure the submission file is named \"submission.csv\"</li>\n<li>Make sure it is saved in the working directory (I think it is \"/kaggle/working\")</li>\n</ul>",
      "votes": null,
      "replies": [
        {
          "id": 840768,
          "author_name": "spytensor",
          "author_url": "",
          "post_date": "05/10/2020 11:10:11",
          "content": "<p>Thank you for your reply, I have checked them，nothing is wrong.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 844852,
      "author_name": "hekimgil",
      "author_url": "",
      "post_date": "05/12/2020 22:20:12",
      "content": "<p>Did you check if your code still works when no bounding boxes are found? It is likely that your code may stop with an error for the actual testing phase, not producing the submission file. What your code does when your model cannot find any matches can be the exception that is causing the error?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 844929,
      "author_name": "matthewmasters",
      "author_url": "",
      "post_date": "05/12/2020 23:51:33",
      "content": "<p>It's caused because there is an issue with your inference code which causes it to crash when it runs on the private test set images.</p>\n\n<p>One likely cause is that you do not attempt to resize the images after loading. For some reason, at least one image in the private test set is not 1024^2 and thus will cause your script to crash if you dont have a line like <code>cv2.resize(img, (1024, 1024))</code> in your data loader.</p>\n\n<p>Hope that fixes it for you</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 850903,
      "author_name": "caicaicaicaicai",
      "author_url": "",
      "post_date": "05/17/2020 06:34:24",
      "content": "<p>I face the same problem. Have you already handled it? How did you handle it?</p>",
      "votes": null,
      "replies": [
        {
          "id": 873508,
          "author_name": "cswwp347724",
          "author_url": "",
          "post_date": "06/04/2020 07:55:54",
          "content": "<p>how you solved it?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 874511,
          "author_name": "caicaicaicaicai",
          "author_url": "",
          "post_date": "06/05/2020 04:11:28",
          "content": "<p>Resize</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 875590,
          "author_name": "ilu000",
          "author_url": "",
          "post_date": "06/06/2020 01:04:19",
          "content": "<p>resize also worked for me when facing the same error.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "840390": "Anyone konw how to solve it ?![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F1805026%2F92dff6cda19e960a44903874a73867b4%2F1589073547609.jpg?generation=1589073577358248&amp;alt=media)",
    "840578": "Make sure the submission file is named \"submission.csv\"\n- Make sure it is saved in the working directory (I think it is \"/kaggle/working\")",
    "840768": "Thank you for your reply, I have checked them，nothing is wrong.",
    "844852": "Did you check if your code still works when no bounding boxes are found? It is likely that your code may stop with an error for the actual testing phase, not producing the submission file. What your code does when your model cannot find any matches can be the exception that is causing the error?",
    "844929": "It's caused because there is an issue with your inference code which causes it to crash when it runs on the private test set images.\n\nOne likely cause is that you do not attempt to resize the images after loading. For some reason, at least one image in the private test set is not 1024^2 and thus will cause your script to crash if you dont have a line like `cv2.resize(img, (1024, 1024))` in your data loader.\n\nHope that fixes it for you",
    "850903": "I face the same problem. Have you already handled it? How did you handle it?",
    "873508": "how you solved it?",
    "874511": "Resize",
    "875590": "resize also worked for me when facing the same error."
  },
  "source": "meta"
}