这是本文档旧的修订版!


实践AI的方法,最简单就是拿到一套cc93的开发套件,然后上手测试下面这些常用的AI例程。

cd /usr/bin/tensorflow-lite-2.10.0/examples python3 label_image.py -i grace_hopper.bmp

cd /usr/bin/ethosu/examples/ cp ../../tensorflow-lite-2.10.0/examples/labels.txt . cp ../../tensorflow-lite-2.10.0/examples/grace_hopper.bmp . vela ../../tensorflow-lite-2.10.0/examples/mobilenet_v1_1.0_224_quant.tflite ./inference_runner -n ./output/mobilenet_v1_1.0_224_quant_vela.tflite -i grace_hopper.bmp -l labels.txt -o output.txt

cd /usr/bin/tensorflow-lite-2.10.0/examples ./label_image -m ../../ethosu/examples/output/mobilenet_v1_1.0_224_quant_vela.tflite

cd /usr/bin/eiq-examples-git/ python3 download_models.py

cd /usr/bin/eiq-examples-git/image_classification python3 label_image.py -l labels.txt -i grace_hopper.bmp

cd /usr/bin/eiq-examples-git/object_detection python3 main.py -i cars.bmp python3 main.py -i /dev/video0

cd /usr/bin/eiq-examples-git/dms python3 main.py -i /dev/video0

cd /usr/bin/eiq-examples-git/gesture_detection python3 main.py -i /dev/video0

cd /usr/bin/eiq-examples-git/face_recognition python3 main.py -i /dev/video0