GOWIN GoAI 2.0 Machine Learning Interface User Guide

June 6, 2024
GOWIN

GOWIN-GoAI-2.0-Machine-Learning-Interface-Logo

GoAI 2.0 Quick Start Guide

Prerequisite Software

  • ARM Keil v5
  • Gowin IDE or Gowin Programmer

How to Deploy Examples

  1. Pull the following GoAI Github Repository. https://github.com/gowinsemi/GoAI.git

  2. Navigate to the GoAI Board you are using and the example you wish to deploy under ‘\SDK\win\’.

  3. Navigate to the `*\bin\goai_run.bat’ batch file and open in any text editor.

  4. Update the file and program paths based on your machine.
    a) ‘set tflite_model_file=’ ← flatbuffers (*.tflite) file and path
    b) ‘set gowin_programmer_path=’ ← Gowin programmer path
    c) ‘set keil_path=’ ← Keil v5 IDE path

  5. Once steps 1-4 are performed they do not need to be repeated. Plug in and turn on GoAI 2.0 board.

  6. Open a command window by typing ‘cmd’ in the Windows search bar.

  7. Navigate to directory containing the batch file. Type goai_run.bat and enter to run the batch file. Model and design will be compiled and loaded to the board automatically.

Retraining Models

Replacing Trained Model

  • Models are trained, quantized and optimized into a Tensorflow Flatbuffers (.tflite) file. This file contains all model details as well as weight and bias training coefficients. The Flatbuffers file can be replaced with an updated and retrained model you wish to deploy under `\data\model\*`

GoAI Information

For more GoAI informationm, please refer to https://www.gowinsemi.com/en/market/featured_detail/11/ info@gowinsemi.com

Support and Feedback

  • Gowin Semiconductor provides customers with comprehensive technical support. If you have any questions, comments, or suggestions, please feel free to contact us directly using the information presented below.
  • Website: www.gowinsemi.com
  • E-mail: support@gowinsemi.com

Revision History

GOWIN-GoAI-2.0-Machine-Learning-Interface- fig1

Copyright©2021

Guangdong Gowin Semiconductor Corporation. All Rights Reserved. No part of this document may be reproduced or transmitted in any form or by any denotes, electronic, mechanical, photocopying, recording or otherwise, without the prior written consent of GOWINSEMI

Disclaimer
GOWINSEMI®, LittleBee®, Arora, and the GOWINSEMI logos are trademarks of GOWINSEMI and are registered in China, the U.S. Patent and Trademark Office, and other countries. All other words and logos identified as trademarks or service marks are the property of their respective holders, as described at www.gowinsemi.com.cn. GOWINSEMI assumes no liability and provides no warranty (either expressed or implied) and is not responsible for any damage incurred to your hardware, software, data, or property resulting from usage of the materials or intellectual property except as outlined in the GOWINSEMI Terms and Conditions of Sale. All information in this document should be treated as preliminary. GOWINSEMI may make changes to this document at any time without prior notice. Anyone relying on this documentation should contact GOWINSEMI for the current documentation and errata.

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals