Reputation: 21
I want to train a convolutional neural network (CNN) in tensor-flow, I have data in terms of 10,000 images in .png format and labels in a text file in .txt format, where each line contains a single label (over all 10,000 lines). How can I prepare my own dataset in tensor-flow and train the network?
Upvotes: 2
Views: 2551
Reputation: 748
I imagine your main concern is the image part. Either convert to jpg and use decode_jpeg, or use ImageFlow to convert to TFRecords.
Upvotes: 1