{
  "id": 379209,
  "title": "Problem in Submisison",
  "url": "/competitions/rsna-breast-cancer-detection/discussion/379209",
  "author_name": "Ridhi Arora",
  "post_date": "2023-01-18T16:37:21.436000",
  "votes": 0,
  "comment_count": 9,
  "views": 0,
  "content": "<p>I am trying to submit my Notebook, but during submission, it says no output file selected.<br>\nI have the part of the code where the submission.csv file is generated at the end but still in submission process, it says no output file selected and therefore, the submit button does not get active.</p>\n<p>Does this happen with anyone else?</p>",
  "messages": [
    {
      "id": 2105693,
      "postDate": "2023-01-18T16:53:06.857Z",
      "content": "<p>Yes, it happened to me when <code>/kaggle/working</code> directory contained lots of files other than <code>submission.csv</code></p>\n<p>You can try to clear this directory with following snippet, and save submission right after that:</p>\n<pre><code>import glob\nimport os\nimport shutil\ndef clear_dir(directory):\n    for d in os.listdir(directory):\n        try:\n            shutil.rmtree(osp.join(directory, d))\n        except:\n            os.remove(osp.join(directory, d))\nclear_dir('/kaggle/working/')\n## save submission here\n</code></pre>",
      "rawMarkdown": "Yes, it happened to me when ```/kaggle/working``` directory contained lots of files other than ```submission.csv```\n\nYou can try to clear this directory with following snippet, and save submission right after that:\n```\nimport glob\nimport os\nimport shutil\ndef clear_dir(directory):\n    for d in os.listdir(directory):\n        try:\n            shutil.rmtree(osp.join(directory, d))\n        except:\n            os.remove(osp.join(directory, d))\nclear_dir('/kaggle/working/')\n## save submission here\n```",
      "replies": [
        {
          "id": 2105878,
          "postDate": "2023-01-18T19:56:46.710Z",
          "content": "<p>Thank You. I'll try this.</p>",
          "rawMarkdown": "Thank You. I'll try this."
        },
        {
          "id": 2106060,
          "postDate": "2023-01-18T23:32:44.730Z",
          "content": "<p><a href=\"https://www.kaggle.com/martynoveduard\" target=\"_blank\">@martynoveduard</a> how long it took for your submission to be visible on the leaderboard and get submitted to the competition? because for my submissions it is taking a very long time and still it is processing.</p>",
          "rawMarkdown": "@martynoveduard how long it took for your submission to be visible on the leaderboard and get submitted to the competition? because for my submissions it is taking a very long time and still it is processing.",
          "replies": [
            {
              "id": 2106371,
              "postDate": "2023-01-19T05:40:34.510Z",
              "content": "<p>Mine takes more than 8. Some others lesser, like 6-7 hours.</p>",
              "rawMarkdown": "Mine takes more than 8. Some others lesser, like 6-7 hours."
            },
            {
              "id": 2106376,
              "postDate": "2023-01-19T05:47:52.463Z",
              "content": "<p>And then it got submitted in the competition? <br>\nbecause one of my submission got the NETWORK TIMEOUT message after 8 hours.</p>",
              "rawMarkdown": "And then it got submitted in the competition? \nbecause one of my submission got the NETWORK TIMEOUT message after 8 hours."
            },
            {
              "id": 2106388,
              "postDate": "2023-01-19T05:57:15.167Z",
              "content": "<p>I guess,for a successful your notebook should infer all the private+public test images in under 9 hours. If it goes above that, timeout error happens. Mine might have done it with a few minutes to spare.</p>",
              "rawMarkdown": "I guess,for a successful your notebook should infer all the private+public test images in under 9 hours. If it goes above that, timeout error happens. Mine might have done it with a few minutes to spare."
            },
            {
              "id": 2106457,
              "postDate": "2023-01-19T06:49:53.440Z",
              "content": "<p>Use DALI it is very much recommended and your submission can only take time ~3 hours </p>",
              "rawMarkdown": "Use DALI it is very much recommended and your submission can only take time ~3 hours ",
              "votes": 1
            },
            {
              "id": 2106484,
              "postDate": "2023-01-19T07:13:30.190Z",
              "content": "<p>Thanks for the suggestion. I had been planning on that.</p>",
              "rawMarkdown": "Thanks for the suggestion. I had been planning on that."
            },
            {
              "id": 2106979,
              "postDate": "2023-01-19T13:40:15.527Z",
              "content": "<p>Thanks for this suggestion. I'll try that.</p>",
              "rawMarkdown": "Thanks for this suggestion. I'll try that."
            }
          ]
        }
      ]
    },
    {
      "id": 2105659,
      "postDate": "2023-01-18T16:37:21.437Z",
      "content": "<p>I am trying to submit my Notebook, but during submission, it says no output file selected.<br>\nI have the part of the code where the submission.csv file is generated at the end but still in submission process, it says no output file selected and therefore, the submit button does not get active.</p>\n<p>Does this happen with anyone else?</p>",
      "rawMarkdown": "I am trying to submit my Notebook, but during submission, it says no output file selected.\nI have the part of the code where the submission.csv file is generated at the end but still in submission process, it says no output file selected and therefore, the submit button does not get active.\n\nDoes this happen with anyone else?"
    }
  ],
  "comments": [
    {
      "id": 2105693,
      "author_name": "slime",
      "author_url": "",
      "post_date": "2023-01-18T16:53:06.857000",
      "content": "<p>Yes, it happened to me when <code>/kaggle/working</code> directory contained lots of files other than <code>submission.csv</code></p>\n<p>You can try to clear this directory with following snippet, and save submission right after that:</p>\n<pre><code>import glob\nimport os\nimport shutil\ndef clear_dir(directory):\n    for d in os.listdir(directory):\n        try:\n            shutil.rmtree(osp.join(directory, d))\n        except:\n            os.remove(osp.join(directory, d))\nclear_dir('/kaggle/working/')\n## save submission here\n</code></pre>",
      "votes": 0,
      "replies": [
        {
          "id": 2105878,
          "author_name": "Ridhi Arora",
          "author_url": "",
          "post_date": "2023-01-18T19:56:46.710000",
          "content": "<p>Thank You. I'll try this.</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 2106060,
          "author_name": "Ridhi Arora",
          "author_url": "",
          "post_date": "2023-01-18T23:32:44.730000",
          "content": "<p><a href=\"https://www.kaggle.com/martynoveduard\" target=\"_blank\">@martynoveduard</a> how long it took for your submission to be visible on the leaderboard and get submitted to the competition? because for my submissions it is taking a very long time and still it is processing.</p>",
          "votes": 0,
          "replies": [
            {
              "id": 2106371,
              "author_name": "Sandy",
              "author_url": "",
              "post_date": "2023-01-19T05:40:34.510000",
              "content": "<p>Mine takes more than 8. Some others lesser, like 6-7 hours.</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 2106376,
              "author_name": "Ridhi Arora",
              "author_url": "",
              "post_date": "2023-01-19T05:47:52.463000",
              "content": "<p>And then it got submitted in the competition? <br>\nbecause one of my submission got the NETWORK TIMEOUT message after 8 hours.</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 2106388,
              "author_name": "Sandy",
              "author_url": "",
              "post_date": "2023-01-19T05:57:15.167000",
              "content": "<p>I guess,for a successful your notebook should infer all the private+public test images in under 9 hours. If it goes above that, timeout error happens. Mine might have done it with a few minutes to spare.</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 2106457,
              "author_name": "Vjestica",
              "author_url": "",
              "post_date": "2023-01-19T06:49:53.440000",
              "content": "<p>Use DALI it is very much recommended and your submission can only take time ~3 hours </p>",
              "votes": 1,
              "replies": []
            },
            {
              "id": 2106484,
              "author_name": "Sandy",
              "author_url": "",
              "post_date": "2023-01-19T07:13:30.190000",
              "content": "<p>Thanks for the suggestion. I had been planning on that.</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 2106979,
              "author_name": "Ridhi Arora",
              "author_url": "",
              "post_date": "2023-01-19T13:40:15.527000",
              "content": "<p>Thanks for this suggestion. I'll try that.</p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2105693": "Yes, it happened to me when ```/kaggle/working``` directory contained lots of files other than ```submission.csv```\n\nYou can try to clear this directory with following snippet, and save submission right after that:\n```\nimport glob\nimport os\nimport shutil\ndef clear_dir(directory):\n    for d in os.listdir(directory):\n        try:\n            shutil.rmtree(osp.join(directory, d))\n        except:\n            os.remove(osp.join(directory, d))\nclear_dir('/kaggle/working/')\n## save submission here\n```",
    "2105659": "I am trying to submit my Notebook, but during submission, it says no output file selected.\nI have the part of the code where the submission.csv file is generated at the end but still in submission process, it says no output file selected and therefore, the submit button does not get active.\n\nDoes this happen with anyone else?"
  }
}