HUB
Sign inSign up

arcturusnetworks/eiq

By arcturusnetworks

•Updated about 5 years ago

Image
0

318

arcturusnetworks/eiq repository overview

To verify VSI NPU support is available, run the following command:

docker run -it --net host --privileged --rm arcturusnetworks/eiq:imx8mp bash -c "cd /home/tensorflow-lite-2.4.0/examples; ./label_image -a 1"

You should get the following output:

INFO: Loaded model ./mobilenet_v1_1.0_224_quant.tflite
INFO: resolved reporter
INFO: Created TensorFlow Lite delegate for NNAPI.
INFO: Applied NNAPI delegate.
INFO: invoked
INFO: average time: 2.903 ms
INFO: 0.768627: 653 military uniform
INFO: 0.105882: 907 Windsor tie
INFO: 0.0196078: 458 bow tie
INFO: 0.0117647: 466 bulletproof vest
INFO: 0.00784314: 835 suit

To sanity check, run the same app using the CPU as the accelerator (default):

docker run -it --net host --privileged --rm arcturusnetworks/eiq:imx8mp bash -c "cd /home/tensorflow-lite-2.4.0/examples; ./label_image -a 0"

You should get the following output:

INFO: Loaded model ./mobilenet_v1_1.0_224_quant.tflite
INFO: resolved reporter
INFO: invoked
INFO: average time: 41.077 ms
INFO: 0.780392: 653 military uniform
INFO: 0.105882: 907 Windsor tie
INFO: 0.0156863: 458 bow tie
INFO: 0.0117647: 466 bulletproof vest
INFO: 0.00784314: 835 suit
Tag summary
Recent tags
Content type
Image
Digest
Size
238.3 MB
Last updated
about 5 years ago
docker pull arcturusnetworks/eiq:imx8mp