background image

iCE40 UltraPlus Human Presence Detect Quick Start Guide 

 

Application Note 
 

© 2019 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. 

10 

 

 

FPGA-AN-02005-1.1 

 

Figure 2.9. Checkpoint Data Files at Log Folder 

2.4.

 

Generating Frozen (*.pb) File 

To generate the Frozen file(*.pb): 

1.

 

Find the lastest checkpoint data at log path folder.  

 

Figure 2.10. Latest Checkpoint Data Files 

2.

 

Run genpb.py. 

3.

 

Execute the command python src/genpb.py –ckpt_dir=’./logs/humandet/train/’. 

For the detailed procedure in creating .pbtxt file, refer to the Creating Frozen File section in 

Human Presence 

Detection Using Compact CNN Reference Design (FPGA-RD-02059)

. 

 

Figure 2.11. Create *.pbtxt File 

Summary of Contents for iCE40 UltraLite

Page 1: ...iCE40 UltraPlus Human Presence Detect Quick Start Guide Application Note FPGA AN 02005 1 1 June 2019...

Page 2: ...AS IS and with all faults and all risk associated with such information is entirely with Buyer Buyer shall not rely on any data and performance specifications or parameters provided herein Products so...

Page 3: ...pb File 10 3 Generating the Binary File 13 4 Programming the Bistream and Binary Files to HIMAX HM01B0 Upduino Shield Board 13 Technical Support Assistance 14 Revision History 15 Figures Figure 1 1 Hi...

Page 4: ...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 ch...

Page 5: ...ning development using the iCE40 HIMAX HM01B0 Upduino Shield board It assumes that the reader is familiar with the basic Lattice FPGA design flow and mainly focuses on the Machine Learning part of the...

Page 6: ...stered 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 specificat...

Page 7: ...ng TensorFlow and Tool Environment Check if Tensorflow and your tool environment is installed correctly For the detailed procedure in creating the basic environment on PC refer to the Setting up the B...

Page 8: ...on herein are subject to change without notice 8 FPGA AN 02005 1 1 2 3 Training the Machine For the detailed procedure in machine training refer to the Training the Machine section in Human Presence D...

Page 9: ...subject to change without notice FPGA AN 02005 1 1 9 4 Run machine training In the command prompt Execute the run command Figure 2 6 Execute the script 5 Run TensorBoard Execute the command tensorboa...

Page 10: ...herein are subject to change without notice 10 FPGA AN 02005 1 1 Figure 2 9 Checkpoint Data Files at Log Folder 2 4 Generating Frozen pb File To generate the Frozen file pb 1 Find the lastest checkpoi...

Page 11: ...ut notice FPGA AN 02005 1 1 11 4 Check if the graph pbtxt is generated Figure 2 12 Check pbtxt File 5 Copy the files of the train folder to the freeze model directory Rename graph pbtxt to model pbtxt...

Page 12: ...rks 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 infor...

Page 13: ...t notice FPGA AN 02005 1 1 13 3 Generating the Binary File For the detailed procedure in creating the binary file refer to the Creating Binary File with SensAI section in Human Presence Detection Usin...

Page 14: ...nd 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...

Page 15: ...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 02005 1 1 15 Rev...

Page 16: ...www latticesemi com...

Reviews: