We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37f6f81 commit bc93a40Copy full SHA for bc93a40
2 files changed
examples/raspberry-pi/rpi_quickstart.py
@@ -8,7 +8,7 @@
8
# Create a camera object
9
camera = PiCamera()
10
11
-# Load Lobe TF model
+# Load Lobe TF Lite model
12
# --> Change model path
13
model = ImageModel.load('/home/pi/model')
14
@@ -32,6 +32,6 @@
32
# Run photo through Lobe TF model and get prediction results
33
result = model.predict_from_file('/home/pi/Documents/image.jpg')
34
35
- print(result)
+ print(result.labels)
36
37
sleep(1)
scripts/lobe-rpi-install.sh
@@ -10,6 +10,6 @@ sudo apt install -y \
libtiff5 \
libjpeg62-turbo
sudo apt-get install -y git
-# Install lobe-python with TensorFlow Lite backend (ONNX backend could also work for Raspberry Pi)
sudo pip3 install setuptools
+# Install lobe-python with TensorFlow Lite backend
15
sudo pip3 install lobe[tflite]
0 commit comments