Skip to content

Commit

Permalink
Add startup script to put in crontab
Browse files Browse the repository at this point in the history
crontab -e

@reboot bash /home/qq/co-pilot/startup.sh
  • Loading branch information
xeonqq committed Mar 27, 2024
1 parent 4d33406 commit 8fde119
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions startup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

source /home/qq/copilot_env/bin/activate
cd /home/qq/co-pilot
python3 -m src.main --ssd_model models/ssd_mobilenet_v2_coco_quant_no_nms.tflite --label models/coco_labels.txt --score_threshold 0.3 --traffic_light_classification_model models/traffic_light.tflite --traffic_light_label models/traffic_light_labels.txt --blackbox_path=/home/qq --cpu

0 comments on commit 8fde119

Please sign in to comment.