{
  "id": 166830,
  "title": "Load Weights trained on local machine to kaggle notebook",
  "url": "/competitions/global-wheat-detection/discussion/166830",
  "author_name": "",
  "post_date": "2020-07-14T07:37:57.036402Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Hello,\nI have trained my model on my local machine and saved it as model.h5 on my local machine.How can I download that model in my Kaggle Notebook, in order to make prediction on test images, as this competition requires to make prediction using Kaggle Notebook.\nDo I have to write the whole code and train from scratch in Kaggle Notebook?\nCan anyone Please Help me on this.\nThank You</p>",
  "messages": [
    {
      "id": "928758",
      "postDate": "07/14/2020 07:37:57",
      "content": "<p>Hello,\nI have trained my model on my local machine and saved it as model.h5 on my local machine.How can I download that model in my Kaggle Notebook, in order to make prediction on test images, as this competition requires to make prediction using Kaggle Notebook.\nDo I have to write the whole code and train from scratch in Kaggle Notebook?\nCan anyone Please Help me on this.\nThank You</p>",
      "rawMarkdown": "Hello,\nI have trained my model on my local machine and saved it as model.h5 on my local machine.How can I download that model in my Kaggle Notebook, in order to make prediction on test images, as this competition requires to make prediction using Kaggle Notebook.\nDo I have to write the whole code and train from scratch in Kaggle Notebook?\nCan anyone Please Help me on this.\nThank You",
      "votes": null
    },
    {
      "id": "928762",
      "postDate": "07/14/2020 07:42:39",
      "content": "<p>You simply have to upload the weights you have as a Kaggle dataset. You can then add this to an inference notebook where you perform the prediction. Heres a couple examples of inference notebooks: <a href=\"https://www.kaggle.com/shonenkov/inference-efficientdet\">EfficientDet</a>, <a href=\"https://www.kaggle.com/pestipeti/pytorch-starter-fasterrcnn-inference\">Torchvision FasterRCNN</a></p>",
      "rawMarkdown": "You simply have to upload the weights you have as a Kaggle dataset. You can then add this to an inference notebook where you perform the prediction. Heres a couple examples of inference notebooks: [EfficientDet](https://www.kaggle.com/shonenkov/inference-efficientdet), [Torchvision FasterRCNN](https://www.kaggle.com/pestipeti/pytorch-starter-fasterrcnn-inference)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 928762,
      "author_name": "matthewmasters",
      "author_url": "",
      "post_date": "07/14/2020 07:42:39",
      "content": "<p>You simply have to upload the weights you have as a Kaggle dataset. You can then add this to an inference notebook where you perform the prediction. Heres a couple examples of inference notebooks: <a href=\"https://www.kaggle.com/shonenkov/inference-efficientdet\">EfficientDet</a>, <a href=\"https://www.kaggle.com/pestipeti/pytorch-starter-fasterrcnn-inference\">Torchvision FasterRCNN</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "928758": "Hello,\nI have trained my model on my local machine and saved it as model.h5 on my local machine.How can I download that model in my Kaggle Notebook, in order to make prediction on test images, as this competition requires to make prediction using Kaggle Notebook.\nDo I have to write the whole code and train from scratch in Kaggle Notebook?\nCan anyone Please Help me on this.\nThank You",
    "928762": "You simply have to upload the weights you have as a Kaggle dataset. You can then add this to an inference notebook where you perform the prediction. Heres a couple examples of inference notebooks: [EfficientDet](https://www.kaggle.com/shonenkov/inference-efficientdet), [Torchvision FasterRCNN](https://www.kaggle.com/pestipeti/pytorch-starter-fasterrcnn-inference)"
  },
  "source": "meta"
}