{
  "id": 272224,
  "title": "How can I transfer the file I created in the output directory to the input directory?",
  "url": "/competitions/rsna-miccai-brain-tumor-radiogenomic-classification/discussion/272224",
  "author_name": "",
  "post_date": "2021-09-14T16:22:37.112851700Z",
  "votes": null,
  "comment_count": 4,
  "views": 0,
  "content": "<p>I created files and I don't want to generate this files again and again. I created those in my machine and tried to upload but that took 8 hours and rejected. On the other hand If I create that files at run time, that proccess takes too much time. I just want to create files and transfer it to the input directory. Files  in the output are not available in submission.  </p>",
  "messages": [
    {
      "id": "1512835",
      "postDate": "09/14/2021 16:22:37",
      "content": "<p>I created files and I don't want to generate this files again and again. I created those in my machine and tried to upload but that took 8 hours and rejected. On the other hand If I create that files at run time, that proccess takes too much time. I just want to create files and transfer it to the input directory. Files  in the output are not available in submission.  </p>",
      "rawMarkdown": "I created files and I don't want to generate this files again and again. I created those in my machine and tried to upload but that took 8 hours and rejected. On the other hand If I create that files at run time, that proccess takes too much time. I just want to create files and transfer it to the input directory. Files  in the output are not available in submission.",
      "votes": null
    },
    {
      "id": "1512859",
      "postDate": "09/14/2021 16:35:02",
      "content": "<p>You could try zipping and uploading them, unzipping at runtime.<br>\n<code>import shutil\nshutil.make_archive(FILE_NAME, 'zip', DIRECTORY)</code> </p>",
      "rawMarkdown": "You could try zipping and uploading them, unzipping at runtime.\n`import shutil\nshutil.make_archive(FILE_NAME, 'zip', DIRECTORY)`",
      "votes": null
    },
    {
      "id": "1512870",
      "postDate": "09/14/2021 16:48:01",
      "content": "<p>I did it. I zipped all documents.However when upload was completed, kaggle made preprocessing and said failed :(. It took 8 hours. I dont want to do same thing.  </p>",
      "rawMarkdown": "I did it. I zipped all documents.However when upload was completed, kaggle made preprocessing and said failed :(. It took 8 hours. I dont want to do same thing.",
      "votes": null
    },
    {
      "id": "1513655",
      "postDate": "09/15/2021 09:53:34",
      "content": "<p>Why dont you save it as a dataset and upload them to your input data ?😀</p>",
      "rawMarkdown": "Why dont you save it as a dataset and upload them to your input data ?😀",
      "votes": null
    },
    {
      "id": "1515208",
      "postDate": "09/16/2021 19:44:56",
      "content": "<p>You can add the output of your notebook as input data source. see <a href=\"https://www.kaggle.com/docs/notebooks#adding-data-sources\" target=\"_blank\">https://www.kaggle.com/docs/notebooks#adding-data-sources</a></p>",
      "rawMarkdown": "You can add the output of your notebook as input data source. see [https://www.kaggle.com/docs/notebooks#adding-data-sources](https://www.kaggle.com/docs/notebooks#adding-data-sources)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1512859,
      "author_name": "divyanuhan",
      "author_url": "",
      "post_date": "09/14/2021 16:35:02",
      "content": "<p>You could try zipping and uploading them, unzipping at runtime.<br>\n<code>import shutil\nshutil.make_archive(FILE_NAME, 'zip', DIRECTORY)</code> </p>",
      "votes": null,
      "replies": [
        {
          "id": 1512870,
          "author_name": "firatkurt",
          "author_url": "",
          "post_date": "09/14/2021 16:48:01",
          "content": "<p>I did it. I zipped all documents.However when upload was completed, kaggle made preprocessing and said failed :(. It took 8 hours. I dont want to do same thing.  </p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1513655,
      "author_name": "tongkhangte",
      "author_url": "",
      "post_date": "09/15/2021 09:53:34",
      "content": "<p>Why dont you save it as a dataset and upload them to your input data ?😀</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1515208,
      "author_name": "rluethy",
      "author_url": "",
      "post_date": "09/16/2021 19:44:56",
      "content": "<p>You can add the output of your notebook as input data source. see <a href=\"https://www.kaggle.com/docs/notebooks#adding-data-sources\" target=\"_blank\">https://www.kaggle.com/docs/notebooks#adding-data-sources</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1512835": "I created files and I don't want to generate this files again and again. I created those in my machine and tried to upload but that took 8 hours and rejected. On the other hand If I create that files at run time, that proccess takes too much time. I just want to create files and transfer it to the input directory. Files  in the output are not available in submission.",
    "1512859": "You could try zipping and uploading them, unzipping at runtime.\n`import shutil\nshutil.make_archive(FILE_NAME, 'zip', DIRECTORY)`",
    "1512870": "I did it. I zipped all documents.However when upload was completed, kaggle made preprocessing and said failed :(. It took 8 hours. I dont want to do same thing.",
    "1513655": "Why dont you save it as a dataset and upload them to your input data ?😀",
    "1515208": "You can add the output of your notebook as input data source. see [https://www.kaggle.com/docs/notebooks#adding-data-sources](https://www.kaggle.com/docs/notebooks#adding-data-sources)"
  },
  "source": "meta"
}