yolo_web/scripts/install_yolov5.sh

11 lines
183 B
Bash

#!/bin/bash
if [ ! -d yolov5/.git ]; then
git submodule update --init --recursive
fi
cd yolov5
python -m venv env
source env/bin/activate
python -m pip install -r requirements.txt