I want to create a dataset with tensorflow and feed this with images as array (dtype=unit8) and labels as string. The images and the according labels are stored in a dataframe and the columns named as Image as Array and Labels.
| Image as Array (type = array) | Labels (type = string) |
|---|---|
| img_1 | 'ok' |
| img_2 | 'not ok' |
| img_3 | 'ok' |
| img_4 | 'ok' |
My challenge: I don't know how to feed the Dataset out of a dataframe, the most tutorials prefer the way to load the data from a directory.
Thank you in forward and I hope you can help me to load the images in the dataset.