Skip to content

Commit 0ebec3b

Browse files
committed
Final touches
1 parent 33e5b6f commit 0ebec3b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

prepare-pi.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#! /bin/bash
22

3+
sudo dtoverlay uart0-pi5
4+
sudo dtoverlay uart3-pi5,ctsrts
5+
36
python3.11 -m venv .venv --system-site-packages
47

58
source .venv/bin/activate

src/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def main():
1616
parser.add_argument(
1717
"--model",
1818
type=str,
19-
default=environ.get("DRONE_MODEL", "./models/best_float32.tflite"),
20-
help="Path to the model file (default: ./models/best_float32.tflite)",
19+
default=environ.get("DRONE_MODEL", "./models/yolov5nu_float16.tflite"),
20+
help="Path to the model file (default: ./models/yolov5nu_float16.tflite)",
2121
)
2222
parser.add_argument(
2323
"--type",

0 commit comments

Comments
 (0)