How it works...

The official TensorFlow tutorial on training on top of a pre-trained CNN requires setting up a folder; setup that we created this from the CIFAR-10 data. We then converted the data into the required TFRecords format and began to train the model. Remember that we are fine-tuning the model and retraining the fully connected layers at the top to fit our 10-category data.

Get TensorFlow Machine Learning Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.