{
  "id": 101426,
  "title": "training",
  "url": "/competitions/aptos2019-blindness-detection/discussion/101426",
  "author_name": "",
  "post_date": "2019-07-25T17:29:01.985480200Z",
  "votes": -1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>images are in one folder and its classification is in another folder.\nhow do we train it for image and get a number at output</p>",
  "messages": [
    {
      "id": "584297",
      "postDate": "07/25/2019 17:29:01",
      "content": "<p>images are in one folder and its classification is in another folder.\nhow do we train it for image and get a number at output</p>",
      "rawMarkdown": "images are in one folder and its classification is in another folder.\nhow do we train it for image and get a number at output",
      "votes": null
    },
    {
      "id": "584431",
      "postDate": "07/26/2019 00:45:39",
      "content": "<p>I think you're loading the data with from_folder method or something like that. Use a from_csv method to load it.</p>",
      "rawMarkdown": "I think you're loading the data with from_folder method or something like that. Use a from_csv method to load it.",
      "votes": null
    },
    {
      "id": "585457",
      "postDate": "07/27/2019 13:53:31",
      "content": "<p>You need to import train.csv files with the help of pandas which contains of file name and the label associated with the filename.\nThen you need to add \".png\" at the end of each file name in csv file\nThen if you use pytorch then you can follow the following tutorial ( <a href=\"https://pytorch.org/tutorials/beginner/data_loading_tutorial.html\">https://pytorch.org/tutorials/beginner/data_loading_tutorial.html</a> ) with some minor change.\nOr you can use fastai library and refer to this video ( <a href=\"https://course.fast.ai/videos/?lesson=1\">https://course.fast.ai/videos/?lesson=1</a> )for more information. \nOr you can look at public kernel and follow what they have done.</p>",
      "rawMarkdown": "You need to import train.csv files with the help of pandas which contains of file name and the label associated with the filename.\nThen you need to add \".png\" at the end of each file name in csv file\nThen if you use pytorch then you can follow the following tutorial ( https://pytorch.org/tutorials/beginner/data_loading_tutorial.html ) with some minor change.\nOr you can use fastai library and refer to this video ( https://course.fast.ai/videos/?lesson=1 )for more information. \nOr you can look at public kernel and follow what they have done.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 584431,
      "author_name": "rinnqd",
      "author_url": "",
      "post_date": "07/26/2019 00:45:39",
      "content": "<p>I think you're loading the data with from_folder method or something like that. Use a from_csv method to load it.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 585457,
      "author_name": "anitho2910",
      "author_url": "",
      "post_date": "07/27/2019 13:53:31",
      "content": "<p>You need to import train.csv files with the help of pandas which contains of file name and the label associated with the filename.\nThen you need to add \".png\" at the end of each file name in csv file\nThen if you use pytorch then you can follow the following tutorial ( <a href=\"https://pytorch.org/tutorials/beginner/data_loading_tutorial.html\">https://pytorch.org/tutorials/beginner/data_loading_tutorial.html</a> ) with some minor change.\nOr you can use fastai library and refer to this video ( <a href=\"https://course.fast.ai/videos/?lesson=1\">https://course.fast.ai/videos/?lesson=1</a> )for more information. \nOr you can look at public kernel and follow what they have done.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "584297": "images are in one folder and its classification is in another folder.\nhow do we train it for image and get a number at output",
    "584431": "I think you're loading the data with from_folder method or something like that. Use a from_csv method to load it.",
    "585457": "You need to import train.csv files with the help of pandas which contains of file name and the label associated with the filename.\nThen you need to add \".png\" at the end of each file name in csv file\nThen if you use pytorch then you can follow the following tutorial ( https://pytorch.org/tutorials/beginner/data_loading_tutorial.html ) with some minor change.\nOr you can use fastai library and refer to this video ( https://course.fast.ai/videos/?lesson=1 )for more information. \nOr you can look at public kernel and follow what they have done."
  },
  "source": "meta"
}