yolo_web/scripts/install_yolov5.sh

12 lines
210 B
Bash
Raw Normal View History

#!/bin/bash
2023-06-29 13:31:57 +00:00
if [ ! -d yolov5/.git ]; then
2023-06-29 13:32:39 +00:00
git submodule update --init --recursive
2023-06-29 13:31:57 +00:00
fi
cd yolov5
python -m venv env
source env/bin/activate
python -m pip install -r requirements.txt
python -m pip install onnx