sudo docker run -dt -p 7008:7008 --name alphapose --gpus 'device=1' --restart=always detect_climb
sudo docker run -dt -p 7007:7007 --name detect_violence --gpus 'device=0' --restart=always detect_violence
sudo docker run -dt -p 7004:7004 --name detect_firearm --gpus 'device=2' --restart=always detect_firearm
sudo docker run -dt -p 7005:7005 --name crowd_count --gpus 'device=3' --restart=always 353942829/crowd_count
sudo docker run -dt -p 7006:7006 --name detect_fire --restart=always 353942829/detect_fire
sudo docker run -dt -p 7003:7003 --name shake_cam --gpus 'device=1' --restart=always shake_cam
sudo docker run -dt -p 7012:7012 --name detect_sleep --gpus 'device=2' --restart=always detect_sleep
sudo docker run -dt -p 7011:7011 --name crowd_action --gpus 'device=3' --restart=always crowd_action
sudo docker images|grep none|awk '{print $3}'
sudo docker image rm sudo docker images|grep none|awk '{print $3}'
sudo docker images|grep swr|awk '{print $1":"$2}'
sudo docker image rm sudo docker images|grep swr.|awk '{print $1":"$2}'
sudo docker images|grep -v /|awk '{print $1":"$2}'
sudo docker image rm sudo docker images|grep -v /|awk '{print $1":"$2}'
sudo docker ps -a |grep 353942829|awk '{print $1}'
sudo docker rm sudo docker ps -a |grep apt|awk '{print $1}'
pscp -r ../lyl/deploy [email protected]:/home/admincn/ViolenceDetection pscp local_file_path
docker save : | gzip > _.tar.gz docker save slowfast | gzip > slowfast.tar.gz
gunzip -c _.tar.gz | docker load gunzip -c slowfast.tar.gz | docker load
sudo docker exec -it slowfast /bin/bash vim flask/get_person_boxes.py
sudo docker stop $(sudo docker ps -a -q)