vision model
This commit is contained in:
14
vision_classifier/demo.sh
Executable file
14
vision_classifier/demo.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
cd "$DIR"
|
||||
|
||||
if [[ ! -d .venv ]]; then
|
||||
python3 -m venv .venv
|
||||
.venv/bin/pip install -U pip
|
||||
.venv/bin/pip install -r requirements.txt
|
||||
fi
|
||||
|
||||
echo "Демо классификации (без моторов/серво)"
|
||||
echo "Браузер: http://127.0.0.1:8080/"
|
||||
exec .venv/bin/python demo.py "$@"
|
||||
Reference in New Issue
Block a user