{
  "id": 205385,
  "title": "How to load a saved output file",
  "url": "/competitions/predict-volcanic-eruptions-ingv-oe/discussion/205385",
  "author_name": "",
  "post_date": "2020-12-19T22:32:19.825310300Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Hi,</p>\n<p>I saved a *.npy file using np.save and committed the notebook. I can see the file in the output folder when using the viewer. But I am not able to load the file in a new session. Which folder is the saved output located in?</p>\n<p>Thanks,<br>\nAjay</p>",
  "messages": [
    {
      "id": "1119305",
      "postDate": "12/19/2020 22:32:19",
      "content": "<p>Hi,</p>\n<p>I saved a *.npy file using np.save and committed the notebook. I can see the file in the output folder when using the viewer. But I am not able to load the file in a new session. Which folder is the saved output located in?</p>\n<p>Thanks,<br>\nAjay</p>",
      "rawMarkdown": "Hi,\n\nI saved a *.npy file using np.save and committed the notebook. I can see the file in the output folder when using the viewer. But I am not able to load the file in a new session. Which folder is the saved output located in?\n\nThanks,\nAjay",
      "votes": null
    },
    {
      "id": "1119433",
      "postDate": "12/20/2020 04:17:45",
      "content": "<p>run command <code>pwd</code> or <code>os.path.abspath('.')</code> to know current path of a notebook. </p>",
      "rawMarkdown": "run command `pwd` or `os.path.abspath('.')` to know current path of a notebook.",
      "votes": null
    },
    {
      "id": "1122779",
      "postDate": "12/22/2020 17:42:47",
      "content": "<p>Thanks for the reply. I had manually add the file through \"Add data\"-&gt;\"Notebook Output Files\"-&gt;\"Your work\" Now I am able to access the *.npy file </p>",
      "rawMarkdown": "Thanks for the reply. I had manually add the file through \"Add data\"->\"Notebook Output Files\"->\"Your work\" Now I am able to access the *.npy file",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1119433,
      "author_name": "steinwaycaizhuo",
      "author_url": "",
      "post_date": "12/20/2020 04:17:45",
      "content": "<p>run command <code>pwd</code> or <code>os.path.abspath('.')</code> to know current path of a notebook. </p>",
      "votes": null,
      "replies": [
        {
          "id": 1122779,
          "author_name": "ajayiyer87",
          "author_url": "",
          "post_date": "12/22/2020 17:42:47",
          "content": "<p>Thanks for the reply. I had manually add the file through \"Add data\"-&gt;\"Notebook Output Files\"-&gt;\"Your work\" Now I am able to access the *.npy file </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1119305": "Hi,\n\nI saved a *.npy file using np.save and committed the notebook. I can see the file in the output folder when using the viewer. But I am not able to load the file in a new session. Which folder is the saved output located in?\n\nThanks,\nAjay",
    "1119433": "run command `pwd` or `os.path.abspath('.')` to know current path of a notebook.",
    "1122779": "Thanks for the reply. I had manually add the file through \"Add data\"->\"Notebook Output Files\"->\"Your work\" Now I am able to access the *.npy file"
  },
  "source": "meta"
}