Running Inference
-
Perform a health check on the gRPC endpoint.
-
Install
grpcurlfrom hereExample commands to run on Ubuntu:
-
Download the health checking proto:
-
Run the health check:
-
If the service is ready, you will get a response similar to the following:
-
-
Download the Maxine Eye Contact Python client code by cloning the gRPC Client Repository:
Running Inference via Script
You can use the sample client script in the Maxine Eye Contact GitHub repo to send a gRPC request to the hosted NIM server:
Go to the scripts directory
Run the command to send gRPC request
To view details of command line arguments run this command
You will get a response similar to the following.
If the command line arguments are not passed, the script will take the following default values:
targetis127.0.0.1:8004inputis../assets/sample_input.mp4outputwill be the current directory with nameoutput.mp4