I was following the instructions on Adafruit's web site. At the point where I'm running
cd ~
cd lobe-adafruit-kit
python3 lobe-basic-prediction.py
I receive the TFliteImageModel object has no attribute lock
I ran some of the examples and at least one also did this.
Is there an outdated version of the TensorFlow model created that is not compatible?
Please let me know and thank you.
Predictions starting, to stop press "CTRL+C"
Traceback (most recent call last):
File "lobe-basic-prediction.py", line 70, in <module>
main()
File "lobe-basic-prediction.py", line 37, in main
result = model.predict(img)
File "/usr/local/lib/python3.7/dist-packages/lobe/model/image_model.py", line 65, in predict
results = self.backend.predict(image_array)
File "/usr/local/lib/python3.7/dist-packages/lobe/backends/tflite/backend.py", line 59, in predict
with self.lock:
AttributeError: 'TFLiteImageModel' object has no attribute 'lock'
I was following the instructions on Adafruit's web site. At the point where I'm running
I receive the
TFliteImageModel
object has no attributelock
I ran some of the examples and at least one also did this.Is there an outdated version of the TensorFlow model created that is not compatible? Please let me know and thank you.