Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yolov8 #837

Merged
merged 3 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,11 @@ examples/app_mobilenetv2/src/model.tflite.h
examples/app_mobilenetv2/src/model_flash.params
examples/app_mobilenetv2/xcore_flash_binary.out
examples/app_mobilenetv2/mobilenetv2.tflite
examples/app_yolov8_classification/src/model.tflite
examples/app_yolov8_classification/src/model.tflite.cpp
examples/app_yolov8_classification/src/model.tflite.h
examples/app_yolov8_classification/src/model_flash.params
examples/app_yolov8_classification/xcore_flash_binary.out
examples/app_yolov8_classification/yolov8n-cls.onnx
examples/app_yolov8_classification/yolov8n-cls.pt
examples/app_yolov8_classification/yolov8n-cls_saved_model/
6 changes: 3 additions & 3 deletions examples/app_yolov8_classification/README.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
MobilenetV2 example with flash
YOLOv8 example with flash
==================

Please consult `here <../../docs/rst/flow.rst>`_ on how to install the tools.

In order to compile and run this example follow these steps::

python obtain_and_build_mobilenetv2.py
python obtain_and_optimize_yolov8.py
xmake
xflash --target XCORE-AI-EXPLORER --data xcore_flash_binary.out
xrun --xscope bin/app_mobilenetv2.xe
xrun --xscope bin/app_yolov8_classification.xe

In the example, we inference the model with a sample image of a LION.
Running the example should print::
Expand Down