{
  "id": 426878,
  "title": "Kaggle notebook or personal computer notebook? ",
  "url": "/competitions/cafa-5-protein-function-prediction/discussion/426878",
  "author_name": "Eduard Stefanescu",
  "post_date": "2023-07-25T13:02:25.818000",
  "votes": 1,
  "comment_count": 6,
  "views": 0,
  "content": "<p>I'm new to Kaggle and not yet familiar to all its capabilities. I'm curious… do most people participating in competitions like this run the code directly in a Kaggle notebook, or do they download the data, run the model locally in their own computer and then upload the result back to Kaggle? I'm asking b/c these are fairly large size files involved and uploading the answer to the kaggle server from my machine is a slow process. So how do most people do it? Thanks!</p>",
  "messages": [
    {
      "id": 2358428,
      "postDate": "2023-07-25T13:48:34.410Z",
      "content": "<p>well as u mentioned in your last line , local machine specifications can slow up the entire process , so why to approach the same thing in a two way process (from Kaggle -&gt; local , then local -&gt; Kaggle)</p>\n<p>u can go in one way like run directly in your Kaggle notebook  and add data in right hand side panel if your model needs it and the output data of your model will also be there in right hand , u can download it and then submit it </p>\n<p>hope u understand </p>",
      "rawMarkdown": "well as u mentioned in your last line , local machine specifications can slow up the entire process , so why to approach the same thing in a two way process (from Kaggle -> local , then local -> Kaggle)\n\nu can go in one way like run directly in your Kaggle notebook  and add data in right hand side panel if your model needs it and the output data of your model will also be there in right hand , u can download it and then submit it \n\nhope u understand \n\n\n\n",
      "votes": 1,
      "replies": [
        {
          "id": 2358475,
          "postDate": "2023-07-25T14:28:58.107Z",
          "content": "<p>DT, I got it, however, at times even the Kaggle notebook moves pretty slow. Is that always the case, or is it only here due to the large files involved?</p>",
          "rawMarkdown": "DT, I got it, however, at times even the Kaggle notebook moves pretty slow. Is that always the case, or is it only here due to the large files involved?",
          "replies": [
            {
              "id": 2358491,
              "postDate": "2023-07-25T14:40:44.100Z",
              "content": "<p>Hey <a href=\"https://www.kaggle.com/eduardastefanescu\" target=\"_blank\">@eduardastefanescu</a> <br>\nHow about you check it yourself , like some say execution time changes every time ,</p>\n<p>here is the code with the help of which you can check execution time of the cell ,</p>\n<p>import time    <br>\nstart_time = time.time()</p>\n<h1>ENTER YOUR CODE HERE</h1>\n<p>end_time = time.time()<br>\nprint(end_time - start_time)</p>",
              "rawMarkdown": "Hey @eduardastefanescu \nHow about you check it yourself , like some say execution time changes every time ,\n\nhere is the code with the help of which you can check execution time of the cell ,\n\nimport time    \nstart_time = time.time()\n#ENTER YOUR CODE HERE \nend_time = time.time()\nprint(end_time - start_time)\n\n"
            }
          ]
        }
      ]
    },
    {
      "id": 2358344,
      "postDate": "2023-07-25T13:02:25.817Z",
      "content": "<p>I'm new to Kaggle and not yet familiar to all its capabilities. I'm curious… do most people participating in competitions like this run the code directly in a Kaggle notebook, or do they download the data, run the model locally in their own computer and then upload the result back to Kaggle? I'm asking b/c these are fairly large size files involved and uploading the answer to the kaggle server from my machine is a slow process. So how do most people do it? Thanks!</p>",
      "rawMarkdown": "I'm new to Kaggle and not yet familiar to all its capabilities. I'm curious... do most people participating in competitions like this run the code directly in a Kaggle notebook, or do they download the data, run the model locally in their own computer and then upload the result back to Kaggle? I'm asking b/c these are fairly large size files involved and uploading the answer to the kaggle server from my machine is a slow process. So how do most people do it? Thanks!",
      "votes": 1
    },
    {
      "id": 2358977,
      "postDate": "2023-07-25T22:02:49.737Z",
      "content": "<p>In such comps, it is better to train the model locally and add it to a Kaggle kernel as a model/ dataset and write an inference and prediction code for submission <a href=\"https://www.kaggle.com/eduardastefanescu\" target=\"_blank\">@eduardastefanescu</a> </p>",
      "rawMarkdown": "In such comps, it is better to train the model locally and add it to a Kaggle kernel as a model/ dataset and write an inference and prediction code for submission @eduardastefanescu ",
      "votes": 2,
      "replies": [
        {
          "id": 2368958,
          "postDate": "2023-08-01T13:21:42.317Z",
          "content": "<p><a href=\"https://www.kaggle.com/ravi20076\" target=\"_blank\">@ravi20076</a>  May I ask  where did you train the model? Was it on a cloud platform and how many GPU/TPU you needed?Many thanks!</p>",
          "rawMarkdown": "@ravi20076  May I ask  where did you train the model? Was it on a cloud platform and how many GPU/TPU you needed?Many thanks!"
        }
      ]
    },
    {
      "id": 2358473,
      "postDate": "2023-07-25T14:28:28.990Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 2358428,
      "author_name": "_student",
      "author_url": "",
      "post_date": "2023-07-25T13:48:34.410000",
      "content": "<p>well as u mentioned in your last line , local machine specifications can slow up the entire process , so why to approach the same thing in a two way process (from Kaggle -&gt; local , then local -&gt; Kaggle)</p>\n<p>u can go in one way like run directly in your Kaggle notebook  and add data in right hand side panel if your model needs it and the output data of your model will also be there in right hand , u can download it and then submit it </p>\n<p>hope u understand </p>",
      "votes": 1,
      "replies": [
        {
          "id": 2358475,
          "author_name": "Eduard Stefanescu",
          "author_url": "",
          "post_date": "2023-07-25T14:28:58.107000",
          "content": "<p>DT, I got it, however, at times even the Kaggle notebook moves pretty slow. Is that always the case, or is it only here due to the large files involved?</p>",
          "votes": 0,
          "replies": [
            {
              "id": 2358491,
              "author_name": "_student",
              "author_url": "",
              "post_date": "2023-07-25T14:40:44.100000",
              "content": "<p>Hey <a href=\"https://www.kaggle.com/eduardastefanescu\" target=\"_blank\">@eduardastefanescu</a> <br>\nHow about you check it yourself , like some say execution time changes every time ,</p>\n<p>here is the code with the help of which you can check execution time of the cell ,</p>\n<p>import time    <br>\nstart_time = time.time()</p>\n<h1>ENTER YOUR CODE HERE</h1>\n<p>end_time = time.time()<br>\nprint(end_time - start_time)</p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2358977,
      "author_name": "Ravi Ramakrishnan",
      "author_url": "",
      "post_date": "2023-07-25T22:02:49.737000",
      "content": "<p>In such comps, it is better to train the model locally and add it to a Kaggle kernel as a model/ dataset and write an inference and prediction code for submission <a href=\"https://www.kaggle.com/eduardastefanescu\" target=\"_blank\">@eduardastefanescu</a> </p>",
      "votes": 2,
      "replies": [
        {
          "id": 2368958,
          "author_name": "PapaBougie",
          "author_url": "",
          "post_date": "2023-08-01T13:21:42.317000",
          "content": "<p><a href=\"https://www.kaggle.com/ravi20076\" target=\"_blank\">@ravi20076</a>  May I ask  where did you train the model? Was it on a cloud platform and how many GPU/TPU you needed?Many thanks!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 2358473,
      "author_name": "",
      "author_url": "",
      "post_date": "2023-07-25T14:28:28.990000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2358428": "well as u mentioned in your last line , local machine specifications can slow up the entire process , so why to approach the same thing in a two way process (from Kaggle -> local , then local -> Kaggle)\n\nu can go in one way like run directly in your Kaggle notebook  and add data in right hand side panel if your model needs it and the output data of your model will also be there in right hand , u can download it and then submit it \n\nhope u understand \n\n\n\n",
    "2358344": "I'm new to Kaggle and not yet familiar to all its capabilities. I'm curious... do most people participating in competitions like this run the code directly in a Kaggle notebook, or do they download the data, run the model locally in their own computer and then upload the result back to Kaggle? I'm asking b/c these are fairly large size files involved and uploading the answer to the kaggle server from my machine is a slow process. So how do most people do it? Thanks!",
    "2358977": "In such comps, it is better to train the model locally and add it to a Kaggle kernel as a model/ dataset and write an inference and prediction code for submission @eduardastefanescu ",
    "2358473": ""
  }
}