Skip to content

Commit 952fa7f

Browse files
committed
docs: add testing with openvino model server benchmark client (#343)
1 parent 2b798fd commit 952fa7f

File tree

1 file changed

+19
-0
lines changed
  • usecases/ai/microservices/image-classification

1 file changed

+19
-0
lines changed

usecases/ai/microservices/image-classification/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
```

0 commit comments

Comments
 (0)