May 2020
Beginner to intermediate
430 pages
10h 39m
English
This step involves, as the name suggests, one .txt file representing all the images. For this, we will run a simple Python file—one each for training and test images—to create a combinedtrain.txt and combinedtest.txt file. Go to https://github.com/PacktPublishing/Mastering-Computer-Vision-with-TensorFlow-2.0/blob/master/Chapter07/Chapter7_yolo_combined_text.py for the Python file.
The sample output from the Python code is shown in the following screenshot:

Each text file consists of several rows—each row consists of the path of the image file, as shown earlier.