File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
usecases/ai/microservices/image-classification Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -166,3 +166,22 @@ opencv-python | 4.10.0.84
166166
167167 python3 image_classification.py --grpc_port 9000 --model_name resnet --input_name data --output_name prob --images_list ../input_images.txt
168168 ```
169+
170+ ## Testing with Benchmark Client
171+
172+ - Build benchmark client docker image
173+
174+ ```
175+ cd model_server/demos/benchmark/python
176+ docker build . -t benchmark_client
177+ ```
178+
179+ - Run sample benchmark
180+
181+ ```
182+ docker run --network host benchmark_client -a localhost -r 8000 -m <model_name> -p 9000 -t 60 -ps
183+
184+ Example:
185+
186+ docker run --network host benchmark_client -a localhost -r 8000 -m resnet -p 9000 -t 60 -ps
187+ ```
You can’t perform that action at this time.
0 commit comments