yolo_web/scripts/install_yolov5.sh

11 lines
180 B
Bash

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