Skip to content

Commit

Permalink
Merge pull request #837 from xmos/yolov8
Browse files Browse the repository at this point in the history
Yolov8
  • Loading branch information
panickal-xmos authored Sep 19, 2023
2 parents 215f672 + 5d972c7 commit 76fe974
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
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

0 comments on commit 76fe974

Please sign in to comment.