For my first assignment back at uni we have been given a dataset full of traffic signs organised into 43 folders of diffrent signs. I have no idea how to import the given Dataset into tensorflow, The files are .ppm
Asked
Active
Viewed 80 times
1 Answers
0
Get the data into NumPy arrays then it's easy to use with Tensorflow Keras. tf.keras.Model.fit()
and tf.keas.Model.Predict()
can take Numpy arrays.
The .ppm format seems to be a very simple text format with one pixel value per line. So read each line into a list or directly into a NumPy array. You might need to skip the header lines while reading. See this question How to read a file line-by-line into a list?

user1318499
- 1,327
- 11
- 33