yolov7 / checkYoloxv7.sh
Atualli's picture
adiciona novo script
a03571e
raw
history blame
360 Bytes
#!/bin/sh
export path=/home/atualli/.local/lib/python3.8/site-packages:$PATH
cd ~/Projetos/huggingface/yolov7
SERVER=192.168.0.153
PORT=8081
if lsof -Pi :$PORT -sTCP:LISTEN -t >/dev/null ; then
echo "running"
else
./telegramCrise.sh "reiniciando_yolox_V7_linux_192.168.0.153:8081"
pkill -f app1.py
python app1.py &
echo "not running"
fi