{
  "id": 250561,
  "title": "How to use the output of a notebook",
  "url": "/competitions/siim-covid19-detection/discussion/250561",
  "author_name": "",
  "post_date": "2021-07-03T09:56:47.877874200Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Hello,</p>\n<p>I created a notebook, which produces files as output in a specific directory structure(As required to run YOLOV5). I can see the files in output when the session completes. But if I try to edit the notebook and access the files, the files are missing. If I try to access the files from a separate Notebook, I cannot see it. How can we create a notebook, which can work on the output of a previous notebook?</p>\n<p>regards<br>\nSouvik</p>",
  "messages": [
    {
      "id": "1374434",
      "postDate": "07/03/2021 09:56:47",
      "content": "<p>Hello,</p>\n<p>I created a notebook, which produces files as output in a specific directory structure(As required to run YOLOV5). I can see the files in output when the session completes. But if I try to edit the notebook and access the files, the files are missing. If I try to access the files from a separate Notebook, I cannot see it. How can we create a notebook, which can work on the output of a previous notebook?</p>\n<p>regards<br>\nSouvik</p>",
      "rawMarkdown": "Hello,\n\nI created a notebook, which produces files as output in a specific directory structure(As required to run YOLOV5). I can see the files in output when the session completes. But if I try to edit the notebook and access the files, the files are missing. If I try to access the files from a separate Notebook, I cannot see it. How can we create a notebook, which can work on the output of a previous notebook?\n\nregards\nSouvik",
      "votes": null
    },
    {
      "id": "1374636",
      "postDate": "07/03/2021 13:30:24",
      "content": "<p>Perhaps you need to zip the output files to path /kaggle/working/ if these files in a specific directory structure. For example, suppose you create a directory /kaggle/working/tmp, and there are many files under /kaggle/working/tmp, you need to zip all files which under /kaggle/working/tmp to /kaggle/working/tmp.zip. Then you can access these files in a new notebook which import previous notebook's output. Don't forget to unzip tmp.zip in your new notebook, or you don't want to do unzip operation, you can also upload tmp.zip into a Dataset and import this Dataset in your new notebook.😊</p>",
      "rawMarkdown": "Perhaps you need to zip the output files to path /kaggle/working/ if these files in a specific directory structure. For example, suppose you create a directory /kaggle/working/tmp, and there are many files under /kaggle/working/tmp, you need to zip all files which under /kaggle/working/tmp to /kaggle/working/tmp.zip. Then you can access these files in a new notebook which import previous notebook's output. Don't forget to unzip tmp.zip in your new notebook, or you don't want to do unzip operation, you can also upload tmp.zip into a Dataset and import this Dataset in your new notebook.😊",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1374636,
      "author_name": "shangweichen",
      "author_url": "",
      "post_date": "07/03/2021 13:30:24",
      "content": "<p>Perhaps you need to zip the output files to path /kaggle/working/ if these files in a specific directory structure. For example, suppose you create a directory /kaggle/working/tmp, and there are many files under /kaggle/working/tmp, you need to zip all files which under /kaggle/working/tmp to /kaggle/working/tmp.zip. Then you can access these files in a new notebook which import previous notebook's output. Don't forget to unzip tmp.zip in your new notebook, or you don't want to do unzip operation, you can also upload tmp.zip into a Dataset and import this Dataset in your new notebook.😊</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1374434": "Hello,\n\nI created a notebook, which produces files as output in a specific directory structure(As required to run YOLOV5). I can see the files in output when the session completes. But if I try to edit the notebook and access the files, the files are missing. If I try to access the files from a separate Notebook, I cannot see it. How can we create a notebook, which can work on the output of a previous notebook?\n\nregards\nSouvik",
    "1374636": "Perhaps you need to zip the output files to path /kaggle/working/ if these files in a specific directory structure. For example, suppose you create a directory /kaggle/working/tmp, and there are many files under /kaggle/working/tmp, you need to zip all files which under /kaggle/working/tmp to /kaggle/working/tmp.zip. Then you can access these files in a new notebook which import previous notebook's output. Don't forget to unzip tmp.zip in your new notebook, or you don't want to do unzip operation, you can also upload tmp.zip into a Dataset and import this Dataset in your new notebook.😊"
  },
  "source": "meta"
}