{
  "id": 414288,
  "title": "Creating a submission without training in Kaggle notebook",
  "url": "/competitions/google-research-identify-contrails-reduce-global-warming/discussion/414288",
  "author_name": "IlliniTango",
  "post_date": "2023-06-01T04:47:37.677000",
  "votes": 2,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Hi, just wanted to check if I can submit a notebook for evaluation without actually training the entire model from scratch? Say I upload my trained model in the notebook using the 'Upload Dataset' option and then load this model in the notebook and infer on the test records to create submission.csv?</p>\n<p>I like working on my local machine in scripts and am trying to avoid using the notebook structure as much as possible. Any thoughts on this would be appreciated!</p>",
  "messages": [
    {
      "id": 2283241,
      "postDate": "2023-06-01T06:28:37.067Z",
      "content": "<p>You just need the weights and inference code of your model to make a successful submission ! Also, notebook internet toggle must be off while submitting the notebook. Hope this helps.</p>",
      "rawMarkdown": "You just need the weights and inference code of your model to make a successful submission ! Also, notebook internet toggle must be off while submitting the notebook. Hope this helps.",
      "votes": 1,
      "replies": [
        {
          "id": 2283249,
          "postDate": "2023-06-01T06:36:36.673Z",
          "content": "<p>Thanks! That was helpful! One dumb question - is there a way to install a python package in the internet off mode? Is uploading the package wheels as data and then installing from it the only option? Thanks!</p>",
          "rawMarkdown": "Thanks! That was helpful! One dumb question - is there a way to install a python package in the internet off mode? Is uploading the package wheels as data and then installing from it the only option? Thanks!",
          "replies": [
            {
              "id": 2283256,
              "postDate": "2023-06-01T06:43:54.180Z",
              "content": "<p>Unfortunately, wheels is the only possible way right now. AFAIK. </p>",
              "rawMarkdown": "Unfortunately, wheels is the only possible way right now. AFAIK. ",
              "votes": 1
            },
            {
              "id": 2283781,
              "postDate": "2023-06-01T13:58:49.973Z",
              "content": "<p>what also works is adding a Dataset to your notebook containing the repository of the desired library and loading it like described here: <a href=\"https://www.kaggle.com/datasets/kozodoi/timm-pytorch-image-models\" target=\"_blank\">https://www.kaggle.com/datasets/kozodoi/timm-pytorch-image-models</a></p>",
              "rawMarkdown": "what also works is adding a Dataset to your notebook containing the repository of the desired library and loading it like described here: https://www.kaggle.com/datasets/kozodoi/timm-pytorch-image-models"
            }
          ]
        }
      ]
    },
    {
      "id": 2283131,
      "postDate": "2023-06-01T04:47:37.677Z",
      "content": "<p>Hi, just wanted to check if I can submit a notebook for evaluation without actually training the entire model from scratch? Say I upload my trained model in the notebook using the 'Upload Dataset' option and then load this model in the notebook and infer on the test records to create submission.csv?</p>\n<p>I like working on my local machine in scripts and am trying to avoid using the notebook structure as much as possible. Any thoughts on this would be appreciated!</p>",
      "rawMarkdown": "Hi, just wanted to check if I can submit a notebook for evaluation without actually training the entire model from scratch? Say I upload my trained model in the notebook using the 'Upload Dataset' option and then load this model in the notebook and infer on the test records to create submission.csv?\n\nI like working on my local machine in scripts and am trying to avoid using the notebook structure as much as possible. Any thoughts on this would be appreciated!",
      "votes": 1
    }
  ],
  "comments": [
    {
      "id": 2283241,
      "author_name": "Kenni",
      "author_url": "",
      "post_date": "2023-06-01T06:28:37.067000",
      "content": "<p>You just need the weights and inference code of your model to make a successful submission ! Also, notebook internet toggle must be off while submitting the notebook. Hope this helps.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 2283249,
          "author_name": "IlliniTango",
          "author_url": "",
          "post_date": "2023-06-01T06:36:36.673000",
          "content": "<p>Thanks! That was helpful! One dumb question - is there a way to install a python package in the internet off mode? Is uploading the package wheels as data and then installing from it the only option? Thanks!</p>",
          "votes": 0,
          "replies": [
            {
              "id": 2283256,
              "author_name": "Kenni",
              "author_url": "",
              "post_date": "2023-06-01T06:43:54.180000",
              "content": "<p>Unfortunately, wheels is the only possible way right now. AFAIK. </p>",
              "votes": 1,
              "replies": []
            },
            {
              "id": 2283781,
              "author_name": "Fubusch",
              "author_url": "",
              "post_date": "2023-06-01T13:58:49.973000",
              "content": "<p>what also works is adding a Dataset to your notebook containing the repository of the desired library and loading it like described here: <a href=\"https://www.kaggle.com/datasets/kozodoi/timm-pytorch-image-models\" target=\"_blank\">https://www.kaggle.com/datasets/kozodoi/timm-pytorch-image-models</a></p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2283241": "You just need the weights and inference code of your model to make a successful submission ! Also, notebook internet toggle must be off while submitting the notebook. Hope this helps.",
    "2283131": "Hi, just wanted to check if I can submit a notebook for evaluation without actually training the entire model from scratch? Say I upload my trained model in the notebook using the 'Upload Dataset' option and then load this model in the notebook and infer on the test records to create submission.csv?\n\nI like working on my local machine in scripts and am trying to avoid using the notebook structure as much as possible. Any thoughts on this would be appreciated!"
  }
}