{
  "id": 74494,
  "title": "Kaggle just updated Fastai to 1.0",
  "url": "/competitions/humpback-whale-identification/discussion/74494",
  "author_name": "",
  "post_date": "2018-12-12T20:54:21.031908300Z",
  "votes": 18,
  "comment_count": 14,
  "views": 0,
  "content": "<p>Most of the public kernels are currently running fastai 0.7.0, including mine, so if you're running into problems (which you will), add this line at the beginning of the kernel while waiting for the authors to update their works:</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>",
  "messages": [
    {
      "id": "437958",
      "postDate": "12/12/2018 20:54:21",
      "content": "<p>Most of the public kernels are currently running fastai 0.7.0, including mine, so if you're running into problems (which you will), add this line at the beginning of the kernel while waiting for the authors to update their works:</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": "Most of the public kernels are currently running fastai 0.7.0, including mine, so if you're running into problems (which you will), add this line at the beginning of the kernel while waiting for the authors to update their works:\n\n    !pip install fastai==0.7.0 --no-deps\n    !pip install torch==0.4.1 torchvision==0.2.1",
      "votes": null
    },
    {
      "id": "438038",
      "postDate": "12/13/2018 02:29:34",
      "content": "<p>thanks,and which version of pytorch and python i should install ? i meet many error when i run the kernel</p>",
      "rawMarkdown": "thanks,and which version of pytorch and python i should install ? i meet many error when i run the kernel",
      "votes": null
    },
    {
      "id": "438102",
      "postDate": "12/13/2018 05:20:47",
      "content": "<p>Fastai 0.7.0 works with torch 0.4.1 and torchvision 0.2.1, I don't know about the latest version. Python interpreter shouldn't be an issue.</p>",
      "rawMarkdown": "Fastai 0.7.0 works with torch 0.4.1 and torchvision 0.2.1, I don't know about the latest version. Python interpreter shouldn't be an issue.",
      "votes": null
    },
    {
      "id": "438124",
      "postDate": "12/13/2018 06:16:25",
      "content": "<p>Hi, \nThanks for sharing. Mine was also stopped working today. </p>",
      "rawMarkdown": "Hi, \nThanks for sharing. Mine was also stopped working today.",
      "votes": null
    },
    {
      "id": "438230",
      "postDate": "12/13/2018 10:00:17",
      "content": "<p>Thanks for the reminder.</p>",
      "rawMarkdown": "Thanks for the reminder.",
      "votes": null
    },
    {
      "id": "438233",
      "postDate": "12/13/2018 10:08:37",
      "content": "<p>Now after this addition, I get : NameError: name 'cv2' is not defined as an error, from importing fastai.conv_learner. Any solutions? </p>",
      "rawMarkdown": "Now after this addition, I get : NameError: name 'cv2' is not defined as an error, from importing fastai.conv_learner. Any solutions?",
      "votes": null
    },
    {
      "id": "438240",
      "postDate": "12/13/2018 10:23:54",
      "content": "<p>hi,i meet this error, \nfastai 0.7.0 has requirement torch&lt;0.4, but you'll have torch 0.4.1 which is incompatible.</p>\n\n<p>its seem i should install torch 0.3</p>",
      "rawMarkdown": "hi,i meet this error, \nfastai 0.7.0 has requirement torch&lt;0.4, but you'll have torch 0.4.1 which is incompatible.\n\nits seem i should install torch 0.3",
      "votes": null
    },
    {
      "id": "438845",
      "postDate": "12/14/2018 09:20:32",
      "content": "<p>Having this problem as well, anyone knows of a way to fix it?</p>",
      "rawMarkdown": "Having this problem as well, anyone knows of a way to fix it?",
      "votes": null
    },
    {
      "id": "438858",
      "postDate": "12/14/2018 09:45:44",
      "content": "<p>Actually in my code it got fixed, just did what Khoi Nguyen suggested</p>",
      "rawMarkdown": "Actually in my code it got fixed, just did what Khoi Nguyen suggested",
      "votes": null
    },
    {
      "id": "438971",
      "postDate": "12/14/2018 13:30:06",
      "content": "<p>Can always import opencv before fastai. :)</p>",
      "rawMarkdown": "Can always import opencv before fastai. :)",
      "votes": null
    },
    {
      "id": "438975",
      "postDate": "12/14/2018 13:51:28",
      "content": "<p>Still getting the error even if I'm importing opencv/cv2. Even tried copying the import code from \n<a href=\"https://www.kaggle.com/suicaokhoailang/resnet50-bounding-boxes-0-628-lb\">https://www.kaggle.com/suicaokhoailang/resnet50-bounding-boxes-0-628-lb</a>\ninto the start of (kaggle's) my notebook, but still getting the problem.</p>\n\n<p><a href=\"https://imgur.com/a/OVeRMFK\">https://imgur.com/a/OVeRMFK</a></p>",
      "rawMarkdown": "Still getting the error even if I'm importing opencv/cv2. Even tried copying the import code from \nhttps://www.kaggle.com/suicaokhoailang/resnet50-bounding-boxes-0-628-lb\ninto the start of (kaggle's) my notebook, but still getting the problem.\n\nhttps://imgur.com/a/OVeRMFK",
      "votes": null
    },
    {
      "id": "438979",
      "postDate": "12/14/2018 13:58:26",
      "content": "<p>If it's run as a jup notebook, you need to import opencv in a different cell.</p>",
      "rawMarkdown": "If it's run as a jup notebook, you need to import opencv in a different cell.",
      "votes": null
    },
    {
      "id": "438997",
      "postDate": "12/14/2018 14:47:53",
      "content": "<p>Try an older version of Docker, that of October maybe. Works for me</p>",
      "rawMarkdown": "Try an older version of Docker, that of October maybe. Works for me",
      "votes": null
    },
    {
      "id": "439003",
      "postDate": "12/14/2018 14:59:16",
      "content": "<p>Thanks, older version worked.</p>",
      "rawMarkdown": "Thanks, older version worked.",
      "votes": null
    },
    {
      "id": "445390",
      "postDate": "12/26/2018 11:10:14",
      "content": "<p>thanks!</p>",
      "rawMarkdown": "thanks!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 438038,
      "author_name": "shayxu",
      "author_url": "",
      "post_date": "12/13/2018 02:29:34",
      "content": "<p>thanks,and which version of pytorch and python i should install ? i meet many error when i run the kernel</p>",
      "votes": null,
      "replies": [
        {
          "id": 438102,
          "author_name": "suicaokhoailang",
          "author_url": "",
          "post_date": "12/13/2018 05:20:47",
          "content": "<p>Fastai 0.7.0 works with torch 0.4.1 and torchvision 0.2.1, I don't know about the latest version. Python interpreter shouldn't be an issue.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 438124,
      "author_name": "dapshweta",
      "author_url": "",
      "post_date": "12/13/2018 06:16:25",
      "content": "<p>Hi, \nThanks for sharing. Mine was also stopped working today. </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 438230,
      "author_name": "tommyjiang",
      "author_url": "",
      "post_date": "12/13/2018 10:00:17",
      "content": "<p>Thanks for the reminder.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 438233,
      "author_name": "giorgosts",
      "author_url": "",
      "post_date": "12/13/2018 10:08:37",
      "content": "<p>Now after this addition, I get : NameError: name 'cv2' is not defined as an error, from importing fastai.conv_learner. Any solutions? </p>",
      "votes": null,
      "replies": [
        {
          "id": 438845,
          "author_name": "fridgeoff",
          "author_url": "",
          "post_date": "12/14/2018 09:20:32",
          "content": "<p>Having this problem as well, anyone knows of a way to fix it?</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 438858,
          "author_name": "giorgosts",
          "author_url": "",
          "post_date": "12/14/2018 09:45:44",
          "content": "<p>Actually in my code it got fixed, just did what Khoi Nguyen suggested</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 438971,
          "author_name": "tetelias",
          "author_url": "",
          "post_date": "12/14/2018 13:30:06",
          "content": "<p>Can always import opencv before fastai. :)</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 438975,
          "author_name": "fridgeoff",
          "author_url": "",
          "post_date": "12/14/2018 13:51:28",
          "content": "<p>Still getting the error even if I'm importing opencv/cv2. Even tried copying the import code from \n<a href=\"https://www.kaggle.com/suicaokhoailang/resnet50-bounding-boxes-0-628-lb\">https://www.kaggle.com/suicaokhoailang/resnet50-bounding-boxes-0-628-lb</a>\ninto the start of (kaggle's) my notebook, but still getting the problem.</p>\n\n<p><a href=\"https://imgur.com/a/OVeRMFK\">https://imgur.com/a/OVeRMFK</a></p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 438979,
          "author_name": "tetelias",
          "author_url": "",
          "post_date": "12/14/2018 13:58:26",
          "content": "<p>If it's run as a jup notebook, you need to import opencv in a different cell.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 438997,
          "author_name": "giorgosts",
          "author_url": "",
          "post_date": "12/14/2018 14:47:53",
          "content": "<p>Try an older version of Docker, that of October maybe. Works for me</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 439003,
          "author_name": "fridgeoff",
          "author_url": "",
          "post_date": "12/14/2018 14:59:16",
          "content": "<p>Thanks, older version worked.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 438240,
      "author_name": "shayxu",
      "author_url": "",
      "post_date": "12/13/2018 10:23:54",
      "content": "<p>hi,i meet this error, \nfastai 0.7.0 has requirement torch&lt;0.4, but you'll have torch 0.4.1 which is incompatible.</p>\n\n<p>its seem i should install torch 0.3</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 445390,
      "author_name": "duskybomb",
      "author_url": "",
      "post_date": "12/26/2018 11:10:14",
      "content": "<p>thanks!</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "437958": "Most of the public kernels are currently running fastai 0.7.0, including mine, so if you're running into problems (which you will), add this line at the beginning of the kernel while waiting for the authors to update their works:\n\n    !pip install fastai==0.7.0 --no-deps\n    !pip install torch==0.4.1 torchvision==0.2.1",
    "438038": "thanks,and which version of pytorch and python i should install ? i meet many error when i run the kernel",
    "438102": "Fastai 0.7.0 works with torch 0.4.1 and torchvision 0.2.1, I don't know about the latest version. Python interpreter shouldn't be an issue.",
    "438124": "Hi, \nThanks for sharing. Mine was also stopped working today.",
    "438230": "Thanks for the reminder.",
    "438233": "Now after this addition, I get : NameError: name 'cv2' is not defined as an error, from importing fastai.conv_learner. Any solutions?",
    "438240": "hi,i meet this error, \nfastai 0.7.0 has requirement torch&lt;0.4, but you'll have torch 0.4.1 which is incompatible.\n\nits seem i should install torch 0.3",
    "438845": "Having this problem as well, anyone knows of a way to fix it?",
    "438858": "Actually in my code it got fixed, just did what Khoi Nguyen suggested",
    "438971": "Can always import opencv before fastai. :)",
    "438975": "Still getting the error even if I'm importing opencv/cv2. Even tried copying the import code from \nhttps://www.kaggle.com/suicaokhoailang/resnet50-bounding-boxes-0-628-lb\ninto the start of (kaggle's) my notebook, but still getting the problem.\n\nhttps://imgur.com/a/OVeRMFK",
    "438979": "If it's run as a jup notebook, you need to import opencv in a different cell.",
    "438997": "Try an older version of Docker, that of October maybe. Works for me",
    "439003": "Thanks, older version worked.",
    "445390": "thanks!"
  },
  "source": "meta"
}