Skip to Content
Mastering Computer Vision with TensorFlow 2.x
book

Mastering Computer Vision with TensorFlow 2.x

by Krishnendu Kar
May 2020
Beginner to intermediate
430 pages
10h 39m
English
Packt Publishing
Content preview from Mastering Computer Vision with TensorFlow 2.x

Creating TensorFlow records

This is a very important step and many of us struggle with it. Follow these steps to create your tfRecord file. You must install all the required packages in the previous step before proceeding to this step:

  1. In the preceding figure, under the Chapter10_R-CNN folder, there are two files just under data called xml_to_csv.py and generate tfrecord.py. These files should be copied from your local drive to Google Drive.
  2. When you install TensorFlow using pip install TensorFlow or pip install tensorflow-gpu, it creates a models-master directory under your home directory. Within this, navigate to the research folder and then to the object_detection folder and you will find xml_to_csv.py and generate tfrecord.py. Copy these ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Computer Vision with TensorFlow 2

Hands-On Computer Vision with TensorFlow 2

Benjamin Planche, Eliot Andres

Publisher Resources

ISBN: 9781838827069Supplemental Content