{
  "id": 183721,
  "title": "GDCM library import problem",
  "url": "/competitions/osic-pulmonary-fibrosis-progression/discussion/183721",
  "author_name": "Ansuman Das",
  "post_date": "2020-09-17T20:22:58.217000",
  "votes": 0,
  "comment_count": 3,
  "views": 0,
  "content": "<p>How to import gdcm offline without internet …only with local installation file?</p>\n<p>I was trying conda install --offline </p>",
  "messages": [
    {
      "id": 1018865,
      "postDate": "2020-09-20T03:58:59.017Z",
      "content": "<p>I think I solved this in this notebook (as part of the Pulmonary Embolism Competition, which has similiar issues):</p>\n<p><a href=\"https://www.kaggle.com/richardepstein/load-gdcm-in-notebook-without-internet\" target=\"_blank\">Load GDCM in Notebook without Internet</a></p>\n<p>It uses a Dataset that somebody else created that has the tar file for GDCM. </p>\n<p>It seems to work both interactively and in a Committed Notebook. I haven't yet tried it in an actual competition submission, but it runs without Internet access, so it should work.</p>\n<p>Note that once you have the \"GDCM needed\" error in a notebook, you must restart the Kernel. So it should be the first think in your notebook.</p>\n<p>Also, you might need to wait to import Pydicom until after it is run, but I have not tested that.</p>\n<p>Note that you do not \"import GDCM\".</p>\n<p>Let me know if it works for you.</p>\n<p>-Rich</p>",
      "rawMarkdown": "I think I solved this in this notebook (as part of the Pulmonary Embolism Competition, which has similiar issues):\n\n[Load GDCM in Notebook without Internet](https://www.kaggle.com/richardepstein/load-gdcm-in-notebook-without-internet)\n\nIt uses a Dataset that somebody else created that has the tar file for GDCM. \n\nIt seems to work both interactively and in a Committed Notebook. I haven't yet tried it in an actual competition submission, but it runs without Internet access, so it should work.\n\nNote that once you have the \"GDCM needed\" error in a notebook, you must restart the Kernel. So it should be the first think in your notebook.\n\nAlso, you might need to wait to import Pydicom until after it is run, but I have not tested that.\n\nNote that you do not \"import GDCM\".\n\nLet me know if it works for you.\n\n-Rich",
      "votes": 1
    },
    {
      "id": 1015614,
      "postDate": "2020-09-18T09:42:15.937Z",
      "content": "<p>You have to use a notebook with internet to install GDCM, train your model, save it. Then you create another notebook without internet and without installing GDCM, load you trained model and make your prediction. The competition host said you won't need it for the prediction.</p>",
      "rawMarkdown": "You have to use a notebook with internet to install GDCM, train your model, save it. Then you create another notebook without internet and without installing GDCM, load you trained model and make your prediction. The competition host said you won't need it for the prediction.",
      "votes": 1
    },
    {
      "id": 1014959,
      "postDate": "2020-09-17T20:22:58.217Z",
      "content": "<p>How to import gdcm offline without internet …only with local installation file?</p>\n<p>I was trying conda install --offline </p>",
      "rawMarkdown": "How to import gdcm offline without internet ...only with local installation file?\n\nI was trying conda install --offline "
    },
    {
      "id": 1014967,
      "postDate": "2020-09-17T20:39:31.187Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 1018865,
      "author_name": "quadcore/Richard Epstein",
      "author_url": "",
      "post_date": "2020-09-20T03:58:59.017000",
      "content": "<p>I think I solved this in this notebook (as part of the Pulmonary Embolism Competition, which has similiar issues):</p>\n<p><a href=\"https://www.kaggle.com/richardepstein/load-gdcm-in-notebook-without-internet\" target=\"_blank\">Load GDCM in Notebook without Internet</a></p>\n<p>It uses a Dataset that somebody else created that has the tar file for GDCM. </p>\n<p>It seems to work both interactively and in a Committed Notebook. I haven't yet tried it in an actual competition submission, but it runs without Internet access, so it should work.</p>\n<p>Note that once you have the \"GDCM needed\" error in a notebook, you must restart the Kernel. So it should be the first think in your notebook.</p>\n<p>Also, you might need to wait to import Pydicom until after it is run, but I have not tested that.</p>\n<p>Note that you do not \"import GDCM\".</p>\n<p>Let me know if it works for you.</p>\n<p>-Rich</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1015614,
      "author_name": "Yohann Wattiez",
      "author_url": "",
      "post_date": "2020-09-18T09:42:15.937000",
      "content": "<p>You have to use a notebook with internet to install GDCM, train your model, save it. Then you create another notebook without internet and without installing GDCM, load you trained model and make your prediction. The competition host said you won't need it for the prediction.</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1014967,
      "author_name": "",
      "author_url": "",
      "post_date": "2020-09-17T20:39:31.187000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1018865": "I think I solved this in this notebook (as part of the Pulmonary Embolism Competition, which has similiar issues):\n\n[Load GDCM in Notebook without Internet](https://www.kaggle.com/richardepstein/load-gdcm-in-notebook-without-internet)\n\nIt uses a Dataset that somebody else created that has the tar file for GDCM. \n\nIt seems to work both interactively and in a Committed Notebook. I haven't yet tried it in an actual competition submission, but it runs without Internet access, so it should work.\n\nNote that once you have the \"GDCM needed\" error in a notebook, you must restart the Kernel. So it should be the first think in your notebook.\n\nAlso, you might need to wait to import Pydicom until after it is run, but I have not tested that.\n\nNote that you do not \"import GDCM\".\n\nLet me know if it works for you.\n\n-Rich",
    "1015614": "You have to use a notebook with internet to install GDCM, train your model, save it. Then you create another notebook without internet and without installing GDCM, load you trained model and make your prediction. The competition host said you won't need it for the prediction.",
    "1014959": "How to import gdcm offline without internet ...only with local installation file?\n\nI was trying conda install --offline ",
    "1014967": ""
  }
}