{
  "id": 163225,
  "title": "how to use ImageDataGenerator?",
  "url": "/competitions/siim-isic-melanoma-classification/discussion/163225",
  "author_name": "",
  "post_date": "2020-07-01T11:06:50.723825100Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>when i use flow from dataframe function i am getting following issue : OSError: cannot identify image file &lt;_io.BytesIO object at 0x7f2f138dc170&gt; .</p>\n\n<p>i guess this is due to PIL lib is not supported .dcm files?</p>",
  "messages": [
    {
      "id": "910769",
      "postDate": "07/01/2020 11:06:50",
      "content": "<p>when i use flow from dataframe function i am getting following issue : OSError: cannot identify image file &lt;_io.BytesIO object at 0x7f2f138dc170&gt; .</p>\n\n<p>i guess this is due to PIL lib is not supported .dcm files?</p>",
      "rawMarkdown": "when i use flow from dataframe function i am getting following issue : OSError: cannot identify image file &lt;_io.BytesIO object at 0x7f2f138dc170&gt; .\n\ni guess this is due to PIL lib is not supported .dcm files?",
      "votes": null
    },
    {
      "id": "910949",
      "postDate": "07/01/2020 13:18:18",
      "content": "<p>I think you have to add image format like . jpg, .dcm etc in image_name column of CSV file first, then read them from flow_from_dataframe...it should work then.</p>",
      "rawMarkdown": "I think you have to add image format like . jpg, .dcm etc in image_name column of CSV file first, then read them from flow_from_dataframe...it should work then.",
      "votes": null
    },
    {
      "id": "918656",
      "postDate": "07/07/2020 11:38:31",
      "content": "<p>added with path and extension working same with other library</p>",
      "rawMarkdown": "added with path and extension working same with other library",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 910949,
      "author_name": "anuragkushwah",
      "author_url": "",
      "post_date": "07/01/2020 13:18:18",
      "content": "<p>I think you have to add image format like . jpg, .dcm etc in image_name column of CSV file first, then read them from flow_from_dataframe...it should work then.</p>",
      "votes": null,
      "replies": [
        {
          "id": 918656,
          "author_name": "kunduruanil",
          "author_url": "",
          "post_date": "07/07/2020 11:38:31",
          "content": "<p>added with path and extension working same with other library</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "910769": "when i use flow from dataframe function i am getting following issue : OSError: cannot identify image file &lt;_io.BytesIO object at 0x7f2f138dc170&gt; .\n\ni guess this is due to PIL lib is not supported .dcm files?",
    "910949": "I think you have to add image format like . jpg, .dcm etc in image_name column of CSV file first, then read them from flow_from_dataframe...it should work then.",
    "918656": "added with path and extension working same with other library"
  },
  "source": "meta"
}