I am working on Plant Seedlings
dataset on Kaggle and I have prepared a dataframe which has 2 columns.
The first column has the directory of each image that is present in the train set and the second column has the label(name) of that image.
I want to convert it into a dataframe in such a way that I can then use this dataframe to train my model on.
Also, the image has 3 channels.
Given that the name of the dataframe which has directory and label as arr.
file category
0 ../input/train/Maize/a5c2eec2d.png Maize
1 ../input/train/Maize/8cd93b279.png Maize
2 ../input/train/Maize/8c6fba454.png Maize
3 ../input/train/Maize/abadd72ab.png Maize
4 ../input/train/Maize/f60369038.png Maize
How should I do the above mentioned task ?