{
  "id": 445484,
  "title": "Found 0 images belonging to 0 classes.",
  "url": "/competitions/UBC-OCEAN/discussion/445484",
  "author_name": "AIDLRE001",
  "post_date": "2023-10-07T07:46:02.345000",
  "votes": 2,
  "comment_count": 3,
  "views": 0,
  "content": "<p>How do I resolve this issue?</p>\n<p>Using imagedatagenerator.</p>\n<p>\"Found 0 images belonging to 0 classes\"</p>",
  "messages": [
    {
      "id": 2472297,
      "postDate": "2023-10-07T07:46:02.347Z",
      "content": "<p>How do I resolve this issue?</p>\n<p>Using imagedatagenerator.</p>\n<p>\"Found 0 images belonging to 0 classes\"</p>",
      "rawMarkdown": "How do I resolve this issue?\n\nUsing imagedatagenerator.\n\n\"Found 0 images belonging to 0 classes\"",
      "votes": 2
    },
    {
      "id": 2472443,
      "postDate": "2023-10-07T10:33:10.963Z",
      "content": "<p>FileNotFoundError: [Errno 2] No such file or directory: '45630.png'</p>",
      "rawMarkdown": "FileNotFoundError: [Errno 2] No such file or directory: '45630.png'"
    },
    {
      "id": 2472303,
      "postDate": "2023-10-07T07:56:42.257Z",
      "content": "<p>Ok. Discovered why:</p>\n<p>according to <a href=\"https://answerbun.com/:\" target=\"_blank\">https://answerbun.com/:</a></p>\n<p>\"flow_from_directory expects a directory with a subdirectory by class. The problem with your test folder at the moment is that all images are in it, without any subdir by class. You need to create one subdir for each class, and put the images in the appropriate subdir.\"</p>\n<p>Which leads to a second question: how do we combine the csv file with the image labels with the image files (preferably) automatically using image generator or not possible?</p>",
      "rawMarkdown": "Ok. Discovered why:\n\naccording to https://answerbun.com/:\n\n\"flow_from_directory expects a directory with a subdirectory by class. The problem with your test folder at the moment is that all images are in it, without any subdir by class. You need to create one subdir for each class, and put the images in the appropriate subdir.\"\n\nWhich leads to a second question: how do we combine the csv file with the image labels with the image files (preferably) automatically using image generator or not possible?",
      "replies": [
        {
          "id": 2472426,
          "postDate": "2023-10-07T10:07:31.537Z",
          "content": "<p>Fixed and resolved. </p>",
          "rawMarkdown": "Fixed and resolved. "
        }
      ]
    }
  ],
  "comments": [
    {
      "id": 2472443,
      "author_name": "AIDLRE001",
      "author_url": "",
      "post_date": "2023-10-07T10:33:10.963000",
      "content": "<p>FileNotFoundError: [Errno 2] No such file or directory: '45630.png'</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 2472303,
      "author_name": "AIDLRE001",
      "author_url": "",
      "post_date": "2023-10-07T07:56:42.257000",
      "content": "<p>Ok. Discovered why:</p>\n<p>according to <a href=\"https://answerbun.com/:\" target=\"_blank\">https://answerbun.com/:</a></p>\n<p>\"flow_from_directory expects a directory with a subdirectory by class. The problem with your test folder at the moment is that all images are in it, without any subdir by class. You need to create one subdir for each class, and put the images in the appropriate subdir.\"</p>\n<p>Which leads to a second question: how do we combine the csv file with the image labels with the image files (preferably) automatically using image generator or not possible?</p>",
      "votes": 0,
      "replies": [
        {
          "id": 2472426,
          "author_name": "AIDLRE001",
          "author_url": "",
          "post_date": "2023-10-07T10:07:31.537000",
          "content": "<p>Fixed and resolved. </p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2472297": "How do I resolve this issue?\n\nUsing imagedatagenerator.\n\n\"Found 0 images belonging to 0 classes\"",
    "2472443": "FileNotFoundError: [Errno 2] No such file or directory: '45630.png'",
    "2472303": "Ok. Discovered why:\n\naccording to https://answerbun.com/:\n\n\"flow_from_directory expects a directory with a subdirectory by class. The problem with your test folder at the moment is that all images are in it, without any subdir by class. You need to create one subdir for each class, and put the images in the appropriate subdir.\"\n\nWhich leads to a second question: how do we combine the csv file with the image labels with the image files (preferably) automatically using image generator or not possible?"
  }
}