SthPhoenix / InsightFace-REST

InsightFace REST API for easy deployment of face recognition services with TensorRT in Docker.
Apache License 2.0
503 stars 117 forks source link

deploy_cpu and deploy_trt scripts need to be updated due to recent changes #134

Closed meako689 closed 5 months ago

meako689 commented 5 months ago

Sorry, for not making a PR :) d.patch

diff --git a/deploy_cpu.sh b/deploy_cpu.sh
index 1a7e75c..e510a28 100755
--- a/deploy_cpu.sh
+++ b/deploy_cpu.sh
@@ -1,7 +1,7 @@
 #! /bin/bash

 IMAGE='insightface-rest'
-TAG='v0.8.3.0-cpu'
+TAG='v0.9.0.0-cpu'

 # Change InsightFace-REST logging level (DEBUG,INFO,WARNING,ERROR)
 log_level=INFO
@@ -101,7 +101,7 @@ docker run  -p $START_PORT:18080\
     -e DEF_EXTRACT_EMBEDDING=$extract_embeddings\
     -e DEF_EXTRACT_GA=$detect_ga\
     -v $PWD/models:/models\
-    -v $PWD/src/api_trt:/app\
+    -v $PWD/src:/app\
     --health-cmd='curl -f http://localhost:18080/info || exit 1'\
     --health-interval=1m\
     --health-timeout=10s\
diff --git a/deploy_trt.sh b/deploy_trt.sh
index 8a924d5..0751db1 100755
--- a/deploy_trt.sh
+++ b/deploy_trt.sh
@@ -1,7 +1,7 @@
 #! /bin/bash

 IMAGE='insightface-rest'
-TAG='v0.8.3.0'
+TAG='v0.9.0.0'

 # Change InsightFace-REST logging level (DEBUG,INFO,WARNING,ERROR)
 log_level=INFO
@@ -125,7 +125,7 @@ for i in $(seq 0 $(($n_gpu - 1)) ); do
         -e DEF_EXTRACT_EMBEDDING=$extract_embeddings\
         -e DEF_EXTRACT_GA=$detect_ga\
         -v $PWD/models:/models\
-        -v $PWD/src/api_trt:/app\
+        -v $PWD/src:/app\
         --health-cmd='curl -f http://localhost:18080/info || exit 1'\
         --health-interval=1m\
         --health-timeout=10s\
SthPhoenix commented 5 months ago

Thanks! Updated scripts with your patch. Closing.