Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update inference output for ResNet-152 example #2745

Merged
merged 2 commits into from
Oct 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions docs/batch_inference_with_ts.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ curl http://localhost:8081/models/resnet-152-batch_v2
```text
$ curl http://localhost:8080/predictions/resnet-152-batch_v2 -T kitten.jpg
{
"tiger_cat": 0.5848360657691956,
"tabby": 0.3782736361026764,
"Egyptian_cat": 0.03441936895251274,
"lynx": 0.0005633446853607893,
"quilt": 0.0002698268508538604
"tiger_cat": 0.5798614621162415,
"tabby": 0.38344162702560425,
"Egyptian_cat": 0.0342114195227623,
"lynx": 0.0005819813231937587,
"quilt": 0.000273319921689108
}
```
### Batch inference of Resnet-152 configured through config.properties
Expand Down Expand Up @@ -249,11 +249,11 @@ curl http://localhost:8081/models/resnet-152-batch_v2
```text
$ curl http://localhost:8080/predictions/resnet-152-batch_v2 -T kitten.jpg
{
"tiger_cat": 0.5848360657691956,
"tabby": 0.3782736361026764,
"Egyptian_cat": 0.03441936895251274,
"lynx": 0.0005633446853607893,
"quilt": 0.0002698268508538604
"tiger_cat": 0.5798614621162415,
"tabby": 0.38344162702560425,
"Egyptian_cat": 0.0342114195227623,
"lynx": 0.0005819813231937587,
"quilt": 0.000273319921689108
}
```
## Demo to configure TorchServe ResNet-152 model with batch-supported model using Docker
Expand Down Expand Up @@ -339,10 +339,10 @@ curl http://localhost:8081/models/resnet-152-batch_v2
```text
$ curl http://localhost:8080/predictions/resnet-152-batch_v2 -T kitten.jpg
{
"tiger_cat": 0.5848360657691956,
"tabby": 0.3782736361026764,
"Egyptian_cat": 0.03441936895251274,
"lynx": 0.0005633446853607893,
"quilt": 0.0002698268508538604
"tiger_cat": 0.5798614621162415,
"tabby": 0.38344162702560425,
"Egyptian_cat": 0.0342114195227623,
"lynx": 0.0005819813231937587,
"quilt": 0.000273319921689108
}
```
Loading