@@ -33,7 +33,7 @@ usage: get_model_status.py [-h] [--grpc_address GRPC_ADDRESS]
33
33
34
34
```
35
35
36
- - Optional Arguments
36
+ - Arguments
37
37
38
38
| Argument | Description |
39
39
| :--- | :---- |
@@ -71,7 +71,7 @@ usage: get_serving_meta.py [-h] [--grpc_address GRPC_ADDRESS]
71
71
72
72
```
73
73
74
- - Optional Arguments
74
+ - Arguments
75
75
76
76
| Argument | Description |
77
77
| :--- | :---- |
@@ -112,10 +112,14 @@ usage: grpc_serving_client.py [-h] --images_numpy_path IMAGES_NUMPY_PATH
112
112
[--iterations ITERATIONS]
113
113
[--batchsize BATCHSIZE]
114
114
[--model_name MODEL_NAME]
115
- [--pipeline_name PIPELINE_NAME]
115
+ [--pipeline_name PIPELINE_NAME]
116
+ [--tls]
117
+ [--server_cert SERVER_CERT]
118
+ [--client_cert CLIENT_CERT]
119
+ [--client_key CLIENT_KEY]
116
120
```
117
121
118
- - Optional Arguments
122
+ - Arguments
119
123
120
124
| Argument | Description |
121
125
| :--- | :---- |
@@ -132,6 +136,10 @@ usage: grpc_serving_client.py [-h] --images_numpy_path IMAGES_NUMPY_PATH
132
136
| --batchsize | Number of images in a single request. Default: 1 |
133
137
| --model_name | Define model name, must be same as is in service. Default: resnet|
134
138
| --pipeline_name | Define pipeline name, must be same as is in service |
139
+ | --tls | enables TLS communication with gRPC endpoint |
140
+ | --server_cert SERVER_CERT | Path to the server certificate, used only with TLS communication |
141
+ | --client_cert CLIENT_CERT | Path to the client certificate, used only with TLS communication |
142
+ | --client_key CLIENT_KEY | Path to the client key, used only with TLS communication |
135
143
136
144
137
145
- Usage example
@@ -199,9 +207,10 @@ usage: jpeg_classification.py [-h] [--images_list IMAGES_LIST]
199
207
[--input_name INPUT_NAME]
200
208
[--output_name OUTPUT_NAME]
201
209
[--model_name MODEL_NAME] [--size SIZE]
210
+ [--rgb_image RGB_IMAGE]
202
211
```
203
212
204
- - Optional Argument
213
+ - Arguments
205
214
206
215
| Argument | Description |
207
216
| :--- | :---- |
@@ -213,7 +222,7 @@ usage: jpeg_classification.py [-h] [--images_list IMAGES_LIST]
213
222
| --output_name | Specify output name. Default: resnet_v1_50/predictions/Reshape_1 |
214
223
| --model_name | Define model name, must be same as is in service. Default: resnet|
215
224
| --size SIZE | The size of the image in the model|
216
-
225
+ | --rgb_image RGB_IMAGE | Convert BGR channels to RGB channels in the input image |
217
226
218
227
- Usage example
219
228
@@ -274,7 +283,7 @@ to install and run them (provided for Linux OS):
274
283
python multi_inputs.py --help
275
284
```
276
285
277
- - Optional Arguments
286
+ - Arguments
278
287
279
288
| Argument | Description |
280
289
| :--- | :---- |
@@ -341,7 +350,7 @@ usage: rest_get_model_status.py [-h] [--rest_url REST_URL]
341
350
[--model_name MODEL_NAME]
342
351
[--model_version MODEL_VERSION]
343
352
```
344
- - Optional arguements
353
+ - Arguments
345
354
346
355
| Argument | Description |
347
356
| :--- | :---- |
@@ -376,7 +385,7 @@ usage: get_serving_meta.py [-h] [--grpc_address GRPC_ADDRESS]
376
385
[--grpc_port GRPC_PORT] [--model_name MODEL_NAME]
377
386
[--model_version MODEL_VERSION]
378
387
```
379
- - Optional arguements
388
+ - Arguments
380
389
381
390
| Argument | Description |
382
391
| :--- | :---- |
@@ -471,9 +480,13 @@ usage: rest_serving_client.py [-h] --images_numpy_path IMAGES_NUMPY_PATH
471
480
[--model_name MODEL_NAME]
472
481
[--request_format {row_noname,row_name,column_noname,column_name}]
473
482
[--model_version MODEL_VERSION]
483
+ [--client_cert CLIENT_CERT]
484
+ [--client_key CLIENT_KEY]
485
+ [--ignore_server_verification]
486
+ [--server_cert SERVER_CERT]
474
487
```
475
488
476
- - Optional Arguments :
489
+ - Arguments :
477
490
478
491
| Argument | Description |
479
492
| :--- | :---- |
@@ -491,6 +504,10 @@ usage: rest_serving_client.py [-h] --images_numpy_path IMAGES_NUMPY_PATH
491
504
| --model_name MODEL_NAME| Define model name, must be same as is in service. Default: resnet|
492
505
| --request_format {row_noname,row_name,column_noname,column_name}| Request format according to TF Serving API: row_noname ,row_name,column_noname,column_name|
493
506
| --model_version MODEL_VERSION| Model version to be used. Default: LATEST |
507
+ | --client_cert CLIENT_CERT | Specify mTLS client certificate file. Default: None |
508
+ | --client_key CLIENT_KEY | Specify mTLS client key file. Default: None |
509
+ | --ignore_server_verification | Skip TLS host verification. Do not use in production. Default: False |
510
+ | --server_cert SERVER_CERT | Path to a custom directory containing trusted CA certificates, server certificate, or a CA_BUNDLE file. Default: None, will use default system CA cert store |
494
511
495
512
- Usage Example
496
513
``` bash
0 commit comments