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 11
2.4. Generating Frozen (*.pb) File
To generate frozen file (*.pb):
1. Run genpb.py.
$ python src/genpb.py –ckpt_dir <log directory> --freeze
For example, python src/genpb.py –ckpt_dir logs/humancnt/train --freeze
Figure 2.11. Create *.pbtxt File
2. Verify the generated frozen file.
Figure 2.12. Check Frozen File