{
  "id": 371221,
  "title": "Issue : read dicom file by index iteration Dataset Calss object torch ",
  "url": "/competitions/rsna-breast-cancer-detection/discussion/371221",
  "author_name": "Youness EL BRAG",
  "post_date": "2022-12-08T16:34:58.495000",
  "votes": 1,
  "comment_count": 1,
  "views": 0,
  "content": "<p>i stacked with problem index to the image , when i set the index to value is worked well but when i try to iterate by index i got an issue <br>\n<code>RuntimeError: The following handlers are available to decode the pixel data however they are missing required dependencies: GDCM (req. ), pylibjpeg (req. )</code></p>\n<p><strong>is solved :</strong> all you need is to downgrade version <br>\n<code>!pip install python-gdcm &amp;&amp;\n!pip install pylibjpeg==1.1.0 pylibjpeg-libjpeg==1.1.0\n</code> </p>",
  "messages": [
    {
      "id": 2059271,
      "postDate": "2022-12-08T16:34:58.497Z",
      "content": "<p>i stacked with problem index to the image , when i set the index to value is worked well but when i try to iterate by index i got an issue <br>\n<code>RuntimeError: The following handlers are available to decode the pixel data however they are missing required dependencies: GDCM (req. ), pylibjpeg (req. )</code></p>\n<p><strong>is solved :</strong> all you need is to downgrade version <br>\n<code>!pip install python-gdcm &amp;&amp;\n!pip install pylibjpeg==1.1.0 pylibjpeg-libjpeg==1.1.0\n</code> </p>",
      "rawMarkdown": "i stacked with problem index to the image , when i set the index to value is worked well but when i try to iterate by index i got an issue \n`RuntimeError: The following handlers are available to decode the pixel data however they are missing required dependencies: GDCM (req. ), pylibjpeg (req. )`\n\n**is solved :** all you need is to downgrade version \n`!pip install python-gdcm &&\n!pip install pylibjpeg==1.1.0 pylibjpeg-libjpeg==1.1.0\n` ",
      "votes": 1
    },
    {
      "id": 2150493,
      "postDate": "2023-02-19T09:59:43.860Z",
      "content": "<p>but this requiures internet, and the submission is offline isn't it ?</p>",
      "rawMarkdown": "but this requiures internet, and the submission is offline isn't it ?"
    }
  ],
  "comments": [
    {
      "id": 2150493,
      "author_name": "AHMED BELKHOUMALI",
      "author_url": "",
      "post_date": "2023-02-19T09:59:43.860000",
      "content": "<p>but this requiures internet, and the submission is offline isn't it ?</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2059271": "i stacked with problem index to the image , when i set the index to value is worked well but when i try to iterate by index i got an issue \n`RuntimeError: The following handlers are available to decode the pixel data however they are missing required dependencies: GDCM (req. ), pylibjpeg (req. )`\n\n**is solved :** all you need is to downgrade version \n`!pip install python-gdcm &&\n!pip install pylibjpeg==1.1.0 pylibjpeg-libjpeg==1.1.0\n` ",
    "2150493": "but this requiures internet, and the submission is offline isn't it ?"
  }
}