安裝Coral USB Accelerator TPU
後執行範例程式 出現
ModuleNotFoundError: No module named '_edgetpu_cpp_wrapper'
執行以下
sudo cp /usr/local/lib/python3.6/dist-packages/edgetpu/swig/_edgetpu_cpp_wrapper.cpython-35m-aarch64-linux-gnu.so /usr/local/lib/python3.6/dist-packages/edgetpu/swig/_edgetpu_cpp_wrapper.so
即可以解決這個問題
should work. Even using python 3.6 the edgetpu_cpp_wrapper.cpython-35m-... file worked as opposed
來源出處於
https://github.com/f0cal/google-coral/issues/7
後執行範例程式 出現
python3 classify_image.py \
--model ~/Downloads/mobilenet_v2_1.0_224_inat_bird_quant_edgetpu.tflite \
--label ~/Downloads/inat_bird_labels.txt \
--image ~/Downloads/parrot.jpg
ModuleNotFoundError: No module named '_edgetpu_cpp_wrapper'
執行以下
sudo cp /usr/local/lib/python3.6/dist-packages/edgetpu/swig/_edgetpu_cpp_wrapper.cpython-35m-aarch64-linux-gnu.so /usr/local/lib/python3.6/dist-packages/edgetpu/swig/_edgetpu_cpp_wrapper.so
即可以解決這個問題
should work. Even using python 3.6 the edgetpu_cpp_wrapper.cpython-35m-... file worked as opposed
來源出處於
https://github.com/f0cal/google-coral/issues/7
留言
張貼留言