Closed AlesRuda closed 3 years ago
Are you running this on a docker container?
Edge compiler is running in docker because is not available for windows. All other components are running directly on Windows.
@AlesRuda Oh sorry, please use the tflite_runtime package instead of the tf.lite.Interpreter
as we used here: https://github.com/google-coral/tflite/blob/master/python/examples/classification/classify_image.py#L36
The problem with using the tf.lite is that the package was built on a different tensorflow commit from libedgetpu, that won't works.
It is my mistake. Thank you.
Hello,
I followed setup steps described in https://coral.ai/docs/accelerator/get-started/#requirements. Clasification exsample works OK.
I wrote simple semantic clasification script. It can by simply switched between EdgeTPU and CPU infference.
On the CPU the script runs succesfly, but it fails on the EdgeTPU with error:
My environment: Windows 10 TensorFlow version 2.1.0 (compiled from commit d855adfc5a0195788bf5f92c3c7352e638aa1109)
EdgeTPU runtime BuildLabel(COMPILER=MSVC 192628805,DATE=Jun 24 2020,TIME=11:33:33,CL_NUMBER=291256449), RuntimeVersion(13)
python -c "import edgetpu.basic.edgetpu_utils; print(edgetpu.basic.edgetpu_utils.GetRuntimeVersion())"
Edge TPU Compiler: version 14.1.317412892
docker run -it --rm -v C:\temp\EdgeTPU\EdgeTPU\:/home/edgetpu edgetpu_compiler edgetpu_compiler --version
Test files: test.zip
Any suggestions where the problem may be?