BirdRec / ds-capstone-for-the-birds

MIT License
0 stars 0 forks source link

[won't do] Implement our classification model on Raspberry Pi #23

Open pwerden opened 1 year ago

pwerden commented 1 year ago

add our classification model to TFLite_detection_webcam.py

FrediThs commented 1 year ago

Result: it is not working, we will classify afterwards

pwerden commented 1 year ago

Reason: Interpreter is not loading model.

(tflite1-env) pi@raspberrypi:~/tflite1 $ python3 TFLite_detection_webcam_model-test.py Traceback (most recent call last): File "/home/pi/tflite1/TFLite_detection_webcam_model-test.py", line 178, in interpreter_cl = Interpreter(model_path=PATH_TO_CKPT_CL) File "/home/pi/tflite1/tflite1-env/lib/python3.9/site-packages/tflite_runtime/interpreter.py", line 348, in init _interpreter_wrapper.CreateWrapperFromFile( ValueError: Could not open '/home/pi/tflite1/models/image_classification/MobileNetV2_Kaggle_p150_e10_dr-quant.tflite'.

Our guess: some version conflicts