{
  "id": 437384,
  "title": "Running the Model in Google Colab",
  "url": "/competitions/predict-ai-model-runtime/discussion/437384",
  "author_name": "João Víctor Melo",
  "post_date": "2023-09-06T15:09:45.383000",
  "votes": 1,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Hi, I decided to run a notebook in colab, since the Kaggle Platform stopped after not completing the epochs training; however I ran a cell in colab and got:</p>\n<pre><code>tile_xla = load_df()\n</code></pre>\n<p>[Errno 2] No such file or directory: '/kaggle/input/predict-ai-model-runtime/npz_all/npz/tile/xla/train'</p>\n<p>Thank you in advance</p>",
  "messages": [
    {
      "id": 2426383,
      "postDate": "2023-09-06T15:20:10.650Z",
      "content": "<p>Did you upload the directory to your google drive? if you did make sure that your path is correct. you can make sure of that by right click on it and pressing \"copy path\"</p>",
      "rawMarkdown": "Did you upload the directory to your google drive? if you did make sure that your path is correct. you can make sure of that by right click on it and pressing \"copy path\"",
      "replies": [
        {
          "id": 2426421,
          "postDate": "2023-09-06T15:42:36.850Z",
          "content": "<p>How can I upload the directory?</p>",
          "rawMarkdown": "How can I upload the directory?",
          "replies": [
            {
              "id": 2426655,
              "postDate": "2023-09-06T18:28:33.843Z",
              "content": "<p>You need to upload it to your google drive<br>\nand when you are in colab you need to write the following code:<br>\nfrom google.colab import drive<br>\ndrive.mount('/content/drive/')</p>\n<p>after writing that your colab will be connected to your google drive. now you can use the command you wrote with the location of the directory in the drive.</p>",
              "rawMarkdown": "You need to upload it to your google drive\nand when you are in colab you need to write the following code:\nfrom google.colab import drive\ndrive.mount('/content/drive/')\n\nafter writing that your colab will be connected to your google drive. now you can use the command you wrote with the location of the directory in the drive.\n"
            },
            {
              "id": 2428405,
              "postDate": "2023-09-07T20:47:30.003Z",
              "content": "<p>I mean, I need to download something, no?</p>",
              "rawMarkdown": "I mean, I need to download something, no?"
            }
          ]
        }
      ]
    },
    {
      "id": 2426363,
      "postDate": "2023-09-06T15:09:45.383Z",
      "content": "<p>Hi, I decided to run a notebook in colab, since the Kaggle Platform stopped after not completing the epochs training; however I ran a cell in colab and got:</p>\n<pre><code>tile_xla = load_df()\n</code></pre>\n<p>[Errno 2] No such file or directory: '/kaggle/input/predict-ai-model-runtime/npz_all/npz/tile/xla/train'</p>\n<p>Thank you in advance</p>",
      "rawMarkdown": "Hi, I decided to run a notebook in colab, since the Kaggle Platform stopped after not completing the epochs training; however I ran a cell in colab and got:\n```python\n\ntile_xla = load_df(\"/kaggle/input/predict-ai-model-runtime/npz_all/npz/tile/xla/\")\n```\n\n\n[Errno 2] No such file or directory: '/kaggle/input/predict-ai-model-runtime/npz_all/npz/tile/xla/train'\n\nThank you in advance"
    },
    {
      "id": 2427070,
      "postDate": "2023-09-07T04:34:33.317Z",
      "rawMarkdown": "",
      "votes": -2,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 2426383,
      "author_name": "Amit Aharoni",
      "author_url": "",
      "post_date": "2023-09-06T15:20:10.650000",
      "content": "<p>Did you upload the directory to your google drive? if you did make sure that your path is correct. you can make sure of that by right click on it and pressing \"copy path\"</p>",
      "votes": 0,
      "replies": [
        {
          "id": 2426421,
          "author_name": "João Víctor Melo",
          "author_url": "",
          "post_date": "2023-09-06T15:42:36.850000",
          "content": "<p>How can I upload the directory?</p>",
          "votes": 0,
          "replies": [
            {
              "id": 2426655,
              "author_name": "Amit Aharoni",
              "author_url": "",
              "post_date": "2023-09-06T18:28:33.843000",
              "content": "<p>You need to upload it to your google drive<br>\nand when you are in colab you need to write the following code:<br>\nfrom google.colab import drive<br>\ndrive.mount('/content/drive/')</p>\n<p>after writing that your colab will be connected to your google drive. now you can use the command you wrote with the location of the directory in the drive.</p>",
              "votes": 0,
              "replies": []
            },
            {
              "id": 2428405,
              "author_name": "João Víctor Melo",
              "author_url": "",
              "post_date": "2023-09-07T20:47:30.003000",
              "content": "<p>I mean, I need to download something, no?</p>",
              "votes": 0,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2427070,
      "author_name": "",
      "author_url": "",
      "post_date": "2023-09-07T04:34:33.317000",
      "content": "",
      "votes": -2,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2426383": "Did you upload the directory to your google drive? if you did make sure that your path is correct. you can make sure of that by right click on it and pressing \"copy path\"",
    "2426363": "Hi, I decided to run a notebook in colab, since the Kaggle Platform stopped after not completing the epochs training; however I ran a cell in colab and got:\n```python\n\ntile_xla = load_df(\"/kaggle/input/predict-ai-model-runtime/npz_all/npz/tile/xla/\")\n```\n\n\n[Errno 2] No such file or directory: '/kaggle/input/predict-ai-model-runtime/npz_all/npz/tile/xla/train'\n\nThank you in advance",
    "2427070": ""
  }
}