To deploy the model, run the Triton Inference Server using Docker. Ensure your model is located in the directory mapped to /models inside the container. For this workflow, the model should be at /models/fasterrcnn_resnet50/1 within the container's filesystem.
Use the following command to start the server, mapping the host's model directory to the container's /models directory and exposing the necessary ports (8000, 8001, 8002):
sudo docker run --gpus=1 --rm -p9000:8000 -p9001:8001 -p9002:8002 -v /home/$USER/sdg_workflow/models/:/models nvcr.io/nvidia/tritonserver:23.01-py3 tritonserver --model-repository=/models
Upon successful startup, the server logs should display the model status as READY:
+---------------------+---------+--------+
| Model | Version | Status |
+---------------------+---------+--------+
| fasterrcnn_resnet50 | 1 | READY |
+---------------------+---------+--------+