Is .json model required by Cube-AI in addition to h5 model?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-28 2:41 AM
Hello
In UM2526 User manual "Getting started with X-CUBE-AI Expansion Package for Artificial Intelligence (AI)"
I found the following section
I think that .h5 model is enough for Cube-AI to generate model in C code for STM32, or should I include .json file as well?
Best Regards
Hossam Alzomor
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-28 3:03 AM
When you have a float model you only give the .h5.
The .json file is an output file of the quantization process, if you select in the UI Keras Quantized model you need to provide the .json file that will tell the tool how to transform the floating point information into quantized values.
Regards
Daniel
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-28 3:03 AM
When you have a float model you only give the .h5.
The .json file is an output file of the quantization process, if you select in the UI Keras Quantized model you need to provide the .json file that will tell the tool how to transform the floating point information into quantized values.
Regards
Daniel
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
