EasyManua.ls Logo

Lattice Semiconductor CrossLink-NX - Table of Contents

Lattice Semiconductor CrossLink-NX
15 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CrossLink-NX Object Counting Using VGG Quick Start Guide
Application Note
© 2020 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-AN-02024-1.0 3
Contents
Acronyms in This Document ................................................................................................................................................. 4
1. Introduction .................................................................................................................................................................. 5
1.1. Design Process Overview .................................................................................................................................... 5
2. Machine Training and Creating Frozen File .................................................................................................................. 7
2.1. Verifying TensorFlow and Tool Environment ...................................................................................................... 7
2.2. Preparing the Dataset ......................................................................................................................................... 7
2.3. Training the Machine .......................................................................................................................................... 8
2.4. Generating Frozen (*.pb) File ............................................................................................................................ 11
3. Generating the Binary File .......................................................................................................................................... 12
4. Programming the Bitstream and Binary files to VIP Board and SD Card .................................................................... 12
Technical Support Assistance ............................................................................................................................................. 13
Revision History .................................................................................................................................................................. 14
Figures
Figure 1.1. Lattice EVDK with MicroSD Card Adapter Board ................................................................................................ 5
Figure 1.2. Lattice Machine Learning Design Flow ............................................................................................................... 6
Figure 2.1. TensorFlow Installation Check ............................................................................................................................ 7
Figure 2.2. Dataset Image Size Check ................................................................................................................................... 7
Figure 2.3. Dataset Folder Path Check .................................................................................................................................. 8
Figure 2.4. Dataset List, Image, and Label Data Path ........................................................................................................... 8
Figure 2.5. Create a Label File ............................................................................................................................................... 8
Figure 2.6. Execute the Script ............................................................................................................................................... 9
Figure 2.7. TensorBoard Generated Link ........................................................................................................................... 9
Figure 2.8. Training Status .................................................................................................................................................... 9
Figure 2.9. Image Menu ...................................................................................................................................................... 10
Figure 2.10. Checkpoint Data Files at Log Folder ................................................................................................................ 10
Figure 2.11. Create *.pbtxt File .......................................................................................................................................... 11
Figure 2.12. Check Frozen File ............................................................................................................................................ 11

Other manuals for Lattice Semiconductor CrossLink-NX

Related product manuals