[Python] How to handle dataset which is a csv file that contains image names in one column and...

Discussão em 'Python' iniciado por Stack, Setembro 15, 2024.

  1. Stack

    Stack Membro Participativo

    I am new to python and machine learning. I am just practicing with model training and dataset thingy. I came across this dataset that have test and train folder. In that folder there are several containing different images (It's a music instrument dataset so each music instrument is categorized by names in different folders). And the csv file has this name of the instrument and their path in the folder like this: Instrument.csv

    Now my question is how do I handle this dataset? Should I iterate through train and test folders or use this csv file? And if I want to choose the folder option then how can go through each sub-folder and access the images? Here is the link for the dataset : https://www.kaggle.com/datasets/gpiosenka/musical-instruments-image-classification

    sorry if the question doesn't make any sense or too easy to do it. I agree I am noob

    Continue reading...

Compartilhe esta Página