{
  "id": 74506,
  "title": "Unable to load fastai package in Kaggle kernel",
  "url": "/competitions/human-protein-atlas-image-classification/discussion/74506",
  "author_name": "Tang",
  "post_date": "2018-12-13T01:14:03.461000",
  "votes": 1,
  "comment_count": 7,
  "views": 0,
  "content": "<p>Today I am unable to load fastai package using \"from fastai.dataset import *\" in Kaggle kernel. It shows \"No module named 'fastai.dataset'\".\nIt worked perfectly fine yesterday.</p>\n\n<p>Anybody encounters similar problem? Any ideas what is the reason?</p>",
  "messages": [
    {
      "id": 438052,
      "postDate": "2018-12-13T02:58:31.480Z",
      "content": "<p>Kaggle has updated pytorch to 1.0 and fast.ai to v1. fast.ai 0.7 works if you load an October docker.</p>",
      "rawMarkdown": "Kaggle has updated pytorch to 1.0 and fast.ai to v1. fast.ai 0.7 works if you load an October docker.",
      "votes": 5,
      "replies": [
        {
          "id": 438126,
          "postDate": "2018-12-13T06:19:02.367Z",
          "content": "<p>Thank you lafoss! October docker works.</p>",
          "rawMarkdown": "Thank you lafoss! October docker works."
        }
      ]
    },
    {
      "id": 438497,
      "postDate": "2018-12-13T19:50:33.503Z",
      "content": "<p>We discussed about this problem on forum. Next code helps you:\n!pip install fastai==0.7.0 --no-deps\n!pip install torch==0.4.1 torchvision==0.2.1</p>",
      "rawMarkdown": "We discussed about this problem on forum. Next code helps you:\n!pip install fastai==0.7.0 --no-deps\n!pip install torch==0.4.1 torchvision==0.2.1",
      "votes": 2
    },
    {
      "id": 438021,
      "postDate": "2018-12-13T01:14:03.463Z",
      "content": "<p>Today I am unable to load fastai package using \"from fastai.dataset import *\" in Kaggle kernel. It shows \"No module named 'fastai.dataset'\".\nIt worked perfectly fine yesterday.</p>\n\n<p>Anybody encounters similar problem? Any ideas what is the reason?</p>",
      "rawMarkdown": "Today I am unable to load fastai package using \"from fastai.dataset import *\" in Kaggle kernel. It shows \"No module named 'fastai.dataset'\".\nIt worked perfectly fine yesterday.\n\nAnybody encounters similar problem? Any ideas what is the reason?",
      "votes": 1
    },
    {
      "id": 439338,
      "postDate": "2018-12-15T07:37:18.443Z",
      "content": "<p>But to be able to use a different docker, we then lose using GPU?!</p>",
      "rawMarkdown": "But to be able to use a different docker, we then lose using GPU?!",
      "replies": [
        {
          "id": 439519,
          "postDate": "2018-12-15T17:34:27.673Z",
          "content": "<p>It worked in my case. Also you can try </p>\n\n<pre><code>!pip install fastai==0.7.0 --no-deps\n!pip install torch==0.4.1 torchvision==0.2.1\n</code></pre>",
          "rawMarkdown": "It worked in my case. Also you can try \n\n    !pip install fastai==0.7.0 --no-deps\n    !pip install torch==0.4.1 torchvision==0.2.1",
          "votes": 1
        }
      ]
    },
    {
      "id": 438037,
      "postDate": "2018-12-13T02:20:44.923Z",
      "content": "<p>I am having the same problem. I used fastai 0.7 library this morning with  no problem, but same kernel is not working now,</p>",
      "rawMarkdown": "I am having the same problem. I used fastai 0.7 library this morning with  no problem, but same kernel is not working now,"
    },
    {
      "id": 439558,
      "postDate": "2018-12-15T19:42:12.563Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 438052,
      "author_name": "Iafoss",
      "author_url": "",
      "post_date": "2018-12-13T02:58:31.480000",
      "content": "<p>Kaggle has updated pytorch to 1.0 and fast.ai to v1. fast.ai 0.7 works if you load an October docker.</p>",
      "votes": 5,
      "replies": [
        {
          "id": 438126,
          "author_name": "Tang",
          "author_url": "",
          "post_date": "2018-12-13T06:19:02.367000",
          "content": "<p>Thank you lafoss! October docker works.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 438497,
      "author_name": "Alexander Kireev",
      "author_url": "",
      "post_date": "2018-12-13T19:50:33.503000",
      "content": "<p>We discussed about this problem on forum. Next code helps you:\n!pip install fastai==0.7.0 --no-deps\n!pip install torch==0.4.1 torchvision==0.2.1</p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 439338,
      "author_name": "Parthiban Rajendran",
      "author_url": "",
      "post_date": "2018-12-15T07:37:18.443000",
      "content": "<p>But to be able to use a different docker, we then lose using GPU?!</p>",
      "votes": 0,
      "replies": [
        {
          "id": 439519,
          "author_name": "Iafoss",
          "author_url": "",
          "post_date": "2018-12-15T17:34:27.673000",
          "content": "<p>It worked in my case. Also you can try </p>\n\n<pre><code>!pip install fastai==0.7.0 --no-deps\n!pip install torch==0.4.1 torchvision==0.2.1\n</code></pre>",
          "votes": 1,
          "replies": []
        }
      ]
    },
    {
      "id": 438037,
      "author_name": "Amil Gentili",
      "author_url": "",
      "post_date": "2018-12-13T02:20:44.923000",
      "content": "<p>I am having the same problem. I used fastai 0.7 library this morning with  no problem, but same kernel is not working now,</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 439558,
      "author_name": "",
      "author_url": "",
      "post_date": "2018-12-15T19:42:12.563000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "438052": "Kaggle has updated pytorch to 1.0 and fast.ai to v1. fast.ai 0.7 works if you load an October docker.",
    "438497": "We discussed about this problem on forum. Next code helps you:\n!pip install fastai==0.7.0 --no-deps\n!pip install torch==0.4.1 torchvision==0.2.1",
    "438021": "Today I am unable to load fastai package using \"from fastai.dataset import *\" in Kaggle kernel. It shows \"No module named 'fastai.dataset'\".\nIt worked perfectly fine yesterday.\n\nAnybody encounters similar problem? Any ideas what is the reason?",
    "439338": "But to be able to use a different docker, we then lose using GPU?!",
    "438037": "I am having the same problem. I used fastai 0.7 library this morning with  no problem, but same kernel is not working now,",
    "439558": ""
  }
}