Fix entrypoint
This commit is contained in:
parent
74b05a6e8f
commit
d2c7e2c91f
@ -8,19 +8,8 @@ fi
|
||||
|
||||
|
||||
echo "[INFO] Starting Triton servers with the following ports:"
|
||||
echo "Pose - HTTP:$POSE_HTTP_PORT GRPC:$POSE_GRPC_PORT METRICS:$POSE_METRICS_PORT"
|
||||
echo "Face - HTTP:$FACE_HTTP_PORT GRPC:$FACE_GRPC_PORT METRICS:$FACE_METRICS_PORT"
|
||||
|
||||
# Start Triton server #1 (Body detection) in background
|
||||
tritonserver \
|
||||
--model-repository=/root/pose_detection \
|
||||
--http-port=$POSE_HTTP_PORT \
|
||||
--grpc-port=$POSE_GRPC_PORT \
|
||||
--metrics-port=$POSE_METRICS_PORT &
|
||||
|
||||
# Wait a bit to ensure Triton servers are up
|
||||
sleep 5
|
||||
|
||||
# Start Triton server #2 (Face detection, preprocess, postprocess) in background
|
||||
tritonserver \
|
||||
--model-repository=/root/face_models \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user