summaryrefslogtreecommitdiffstats
path: root/scripts/load_model.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/load_model.sh')
-rwxr-xr-xscripts/load_model.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/load_model.sh b/scripts/load_model.sh
deleted file mode 100755
index 1961f6a..0000000
--- a/scripts/load_model.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-path=$1
-use_gpu=$2
-export CUDA_VISIBLE_DEVICES=$use_gpu
-netstat -nap | grep 8502 | awk 'NR==1{printf $7}' | sed 's/\([0-9]*\).*/\1/g' | xargs kill -9
-sleep 5
-nohup tensorflow_model_server --port=8500 --rest_api_port=8502 --model_name=predict --model_base_path=$path > server.log 2>&1 & \ No newline at end of file