{
  "id": 303157,
  "title": "where should I save my model",
  "url": "/competitions/g-research-crypto-forecasting/discussion/303157",
  "author_name": "",
  "post_date": "2022-01-26T06:41:36.548564100Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I trained my model and saved it in the current directory (kaggle/working).<br>\nThen I created a new notebook and tried to load the model and make predictions for submission. But the model is not there. the working directoty is empty.<br>\nI realized that I did not export and load model in a right way. Can anybody tell me how to do that?</p>",
  "messages": [
    {
      "id": "1664666",
      "postDate": "01/26/2022 06:41:36",
      "content": "<p>I trained my model and saved it in the current directory (kaggle/working).<br>\nThen I created a new notebook and tried to load the model and make predictions for submission. But the model is not there. the working directoty is empty.<br>\nI realized that I did not export and load model in a right way. Can anybody tell me how to do that?</p>",
      "rawMarkdown": "I trained my model and saved it in the current directory (kaggle/working).\nThen I created a new notebook and tried to load the model and make predictions for submission. But the model is not there. the working directoty is empty.\nI realized that I did not export and load model in a right way. Can anybody tell me how to do that?",
      "votes": null
    },
    {
      "id": "1664695",
      "postDate": "01/26/2022 07:22:37",
      "content": "<p>you need to commit and save the model to the kaggle dataset. Then for inference, you load your model from your dataset.</p>",
      "rawMarkdown": "you need to commit and save the model to the kaggle dataset. Then for inference, you load your model from your dataset.",
      "votes": null
    },
    {
      "id": "1664722",
      "postDate": "01/26/2022 08:14:44",
      "content": "<p>Yes, your answer helped me. Thanks a lot</p>",
      "rawMarkdown": "Yes, your answer helped me. Thanks a lot",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1664695,
      "author_name": "sirano1004",
      "author_url": "",
      "post_date": "01/26/2022 07:22:37",
      "content": "<p>you need to commit and save the model to the kaggle dataset. Then for inference, you load your model from your dataset.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1664722,
          "author_name": "bboltt",
          "author_url": "",
          "post_date": "01/26/2022 08:14:44",
          "content": "<p>Yes, your answer helped me. Thanks a lot</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1664666": "I trained my model and saved it in the current directory (kaggle/working).\nThen I created a new notebook and tried to load the model and make predictions for submission. But the model is not there. the working directoty is empty.\nI realized that I did not export and load model in a right way. Can anybody tell me how to do that?",
    "1664695": "you need to commit and save the model to the kaggle dataset. Then for inference, you load your model from your dataset.",
    "1664722": "Yes, your answer helped me. Thanks a lot"
  },
  "source": "meta"
}