Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Latest commit

 

History

History
26 lines (20 loc) · 1.49 KB

custom_models.md

File metadata and controls

26 lines (20 loc) · 1.49 KB

Compile custom models

Note: Please read the main documentation and also follow the setup instructions before attempting to compile custom models.

The following Jupyter Notebooks shows how to compile a custom model: tutorials/tutorial_classification.ipynb, tutorials/tutorial_detection.ipynb. These Jupyter Notebooks can be invoked by running run_tutorials_pc.sh

run_tutorials_pc.sh <SOC>

The following script can be modified to run custom model compilation from command line: scripts/benchmark_custom.py. This can be invoked by running run_custom_pc.sh.

run_custom_pc.sh <SOC>

Runt the script run_package_artifacts_for_evm.sh to package the artifacts for use in the target device.

run_package_artifacts_for_evm.sh <SOC>

In this repository, we have created a symbolic link modelartifacts to the actual modelartifacts folder in edgeai-modelzoo. You may want to rename that symbolic link to something else before attempting to compile custom models - in order to avoid confusion with existing pre-compiled artifacts.

Generate report

A CSV report containing all your benchmarking results is generated by running run_generate_report.sh

run_generate_report.sh <SOC>