{
  "id": 222584,
  "title": "Can you import timm when you are disconnected from the Internet?",
  "url": "/competitions/ranzcr-clip-catheter-line-classification/discussion/222584",
  "author_name": "",
  "post_date": "2021-02-28T02:45:13.720718300Z",
  "votes": 2,
  "comment_count": 5,
  "views": 0,
  "content": "<p>I can't import timm in my notebook. Others can import timm in their notebook.</p>\n<p>I try to create cnn model by using pytorch and timm. So, I try to import timm with code \" import timm \" just like everyone else. But notebook returns error message \" ModuleNotFoundError: No module named 'timm' \".<br>\nIf I can access to the Internet, I write \" !pip install timm \". But we can't use the Internet when submitting. Could you tell me how to solve this problem.</p>",
  "messages": [
    {
      "id": "1220461",
      "postDate": "02/28/2021 02:45:13",
      "content": "<p>I can't import timm in my notebook. Others can import timm in their notebook.</p>\n<p>I try to create cnn model by using pytorch and timm. So, I try to import timm with code \" import timm \" just like everyone else. But notebook returns error message \" ModuleNotFoundError: No module named 'timm' \".<br>\nIf I can access to the Internet, I write \" !pip install timm \". But we can't use the Internet when submitting. Could you tell me how to solve this problem.</p>",
      "rawMarkdown": "I can't import timm in my notebook. Others can import timm in their notebook.\n\nI try to create cnn model by using pytorch and timm. So, I try to import timm with code \" import timm \" just like everyone else. But notebook returns error message \" ModuleNotFoundError: No module named 'timm' \".\nIf I can access to the Internet, I write \" !pip install timm \". But we can't use the Internet when submitting. Could you tell me how to solve this problem.",
      "votes": null
    },
    {
      "id": "1220505",
      "postDate": "02/28/2021 04:43:24",
      "content": "<p>HI <a href=\"https://www.kaggle.com/maostack\" target=\"_blank\">@maostack</a> </p>\n<p>You may refer to some notebooks like this one :<a href=\"https://www.kaggle.com/underwearfitting/resnet200d-public-benchmark-2xtta-lb0-965\" target=\"_blank\">https://www.kaggle.com/underwearfitting/resnet200d-public-benchmark-2xtta-lb0-965</a></p>\n<p>They input timm-pytorch-image-models as data and use that to run it without internet</p>\n<p>Hope this helps!</p>",
      "rawMarkdown": "HI @maostack \n\nYou may refer to some notebooks like this one :https://www.kaggle.com/underwearfitting/resnet200d-public-benchmark-2xtta-lb0-965\n\nThey input timm-pytorch-image-models as data and use that to run it without internet\n\nHope this helps!",
      "votes": null
    },
    {
      "id": "1220579",
      "postDate": "02/28/2021 05:54:00",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/kmldas\" target=\"_blank\">@kmldas</a> </p>\n<p>I already know that I have to input timm-pytorch-image-models as data.<br>\nThanks to your comments, I found that I forgot to write \"  sys.path.append('../input/pytorch-image-models/pytorch-image-models-master') \".<br>\nI'm very grateful to you!!!</p>",
      "rawMarkdown": "Hi @kmldas \n\nI already know that I have to input timm-pytorch-image-models as data.\nThanks to your comments, I found that I forgot to write \"  sys.path.append('../input/pytorch-image-models/pytorch-image-models-master') \".\nI'm very grateful to you!!!",
      "votes": null
    },
    {
      "id": "1227685",
      "postDate": "03/05/2021 18:58:52",
      "content": "<p>Hi I have added  below path but still getting \"No module named timm\" error. Grateful for any thoughts <br>\nsys.path.append('../input/timm-pytorch-image-models/pytorch-image-models-master')</p>",
      "rawMarkdown": "Hi I have added  below path but still getting \"No module named timm\" error. Grateful for any thoughts \nsys.path.append('../input/timm-pytorch-image-models/pytorch-image-models-master')",
      "votes": null
    },
    {
      "id": "1227699",
      "postDate": "03/05/2021 19:18:32",
      "content": "<p>How do I create a timm dataset to import into submission notebook? </p>",
      "rawMarkdown": "How do I create a timm dataset to import into submission notebook?",
      "votes": null
    },
    {
      "id": "1227995",
      "postDate": "03/06/2021 02:37:41",
      "content": "<p>Hi <a href=\"https://www.kaggle.com/radixs\" target=\"_blank\">@radixs</a> you can use this dataset for TIMM <a href=\"https://www.kaggle.com/kozodoi/timm-pytorch-image-models\" target=\"_blank\">https://www.kaggle.com/kozodoi/timm-pytorch-image-models</a></p>\n<p>You ca import it from the right hand side panel where it will have a + Add dataset  sign<br>\nOnce you click you can \"Search by URL\" and use this URL to find TIMM and add.</p>\n<p>hope this helps</p>",
      "rawMarkdown": "Hi @radixs you can use this dataset for TIMM https://www.kaggle.com/kozodoi/timm-pytorch-image-models\n\nYou ca import it from the right hand side panel where it will have a + Add dataset  sign\nOnce you click you can \"Search by URL\" and use this URL to find TIMM and add.\n\nhope this helps",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1220505,
      "author_name": "kmldas",
      "author_url": "",
      "post_date": "02/28/2021 04:43:24",
      "content": "<p>HI <a href=\"https://www.kaggle.com/maostack\" target=\"_blank\">@maostack</a> </p>\n<p>You may refer to some notebooks like this one :<a href=\"https://www.kaggle.com/underwearfitting/resnet200d-public-benchmark-2xtta-lb0-965\" target=\"_blank\">https://www.kaggle.com/underwearfitting/resnet200d-public-benchmark-2xtta-lb0-965</a></p>\n<p>They input timm-pytorch-image-models as data and use that to run it without internet</p>\n<p>Hope this helps!</p>",
      "votes": null,
      "replies": [
        {
          "id": 1220579,
          "author_name": "maostack",
          "author_url": "",
          "post_date": "02/28/2021 05:54:00",
          "content": "<p>Hi <a href=\"https://www.kaggle.com/kmldas\" target=\"_blank\">@kmldas</a> </p>\n<p>I already know that I have to input timm-pytorch-image-models as data.<br>\nThanks to your comments, I found that I forgot to write \"  sys.path.append('../input/pytorch-image-models/pytorch-image-models-master') \".<br>\nI'm very grateful to you!!!</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 1227685,
      "author_name": "radixs",
      "author_url": "",
      "post_date": "03/05/2021 18:58:52",
      "content": "<p>Hi I have added  below path but still getting \"No module named timm\" error. Grateful for any thoughts <br>\nsys.path.append('../input/timm-pytorch-image-models/pytorch-image-models-master')</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1227699,
      "author_name": "radixs",
      "author_url": "",
      "post_date": "03/05/2021 19:18:32",
      "content": "<p>How do I create a timm dataset to import into submission notebook? </p>",
      "votes": null,
      "replies": [
        {
          "id": 1227995,
          "author_name": "kmldas",
          "author_url": "",
          "post_date": "03/06/2021 02:37:41",
          "content": "<p>Hi <a href=\"https://www.kaggle.com/radixs\" target=\"_blank\">@radixs</a> you can use this dataset for TIMM <a href=\"https://www.kaggle.com/kozodoi/timm-pytorch-image-models\" target=\"_blank\">https://www.kaggle.com/kozodoi/timm-pytorch-image-models</a></p>\n<p>You ca import it from the right hand side panel where it will have a + Add dataset  sign<br>\nOnce you click you can \"Search by URL\" and use this URL to find TIMM and add.</p>\n<p>hope this helps</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1220461": "I can't import timm in my notebook. Others can import timm in their notebook.\n\nI try to create cnn model by using pytorch and timm. So, I try to import timm with code \" import timm \" just like everyone else. But notebook returns error message \" ModuleNotFoundError: No module named 'timm' \".\nIf I can access to the Internet, I write \" !pip install timm \". But we can't use the Internet when submitting. Could you tell me how to solve this problem.",
    "1220505": "HI @maostack \n\nYou may refer to some notebooks like this one :https://www.kaggle.com/underwearfitting/resnet200d-public-benchmark-2xtta-lb0-965\n\nThey input timm-pytorch-image-models as data and use that to run it without internet\n\nHope this helps!",
    "1220579": "Hi @kmldas \n\nI already know that I have to input timm-pytorch-image-models as data.\nThanks to your comments, I found that I forgot to write \"  sys.path.append('../input/pytorch-image-models/pytorch-image-models-master') \".\nI'm very grateful to you!!!",
    "1227685": "Hi I have added  below path but still getting \"No module named timm\" error. Grateful for any thoughts \nsys.path.append('../input/timm-pytorch-image-models/pytorch-image-models-master')",
    "1227699": "How do I create a timm dataset to import into submission notebook?",
    "1227995": "Hi @radixs you can use this dataset for TIMM https://www.kaggle.com/kozodoi/timm-pytorch-image-models\n\nYou ca import it from the right hand side panel where it will have a + Add dataset  sign\nOnce you click you can \"Search by URL\" and use this URL to find TIMM and add.\n\nhope this helps"
  },
  "source": "meta"
}