summaryrefslogtreecommitdiffstats
path: root/scripts/load_model.sh
diff options
context:
space:
mode:
authorzhaoyehua <zhaoyh6@asiainfo.com>2021-03-24 16:25:33 +0800
committerzhaoyehua <zhaoyh6@asiainfo.com>2021-03-24 16:27:48 +0800
commitdd67db0dede71551c772caa685d3c12a1a3e57d2 (patch)
tree3c36524a6f65e49002f8dd9767445300da343734 /scripts/load_model.sh
parent11b32441cc0235cc5ca4066085a3d8d0253e5789 (diff)
feat:Adjust the directory and increase the image production process
Issue-ID: USECASEUI-525 Change-Id: I7bcbf0b48778fd59946483b253f32dda217913c0 Signed-off-by: zhaoyehua <zhaoyh6@asiainfo.com>
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