-
Notifications
You must be signed in to change notification settings - Fork 814
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added default handlers documentation
- Loading branch information
1 parent
087f6ed
commit 4ab6f7c
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# TorchServe default inference handlers | ||
|
||
TorchServe provides following inference handlers out of box : | ||
|
||
## image_classifier | ||
|
||
* Description : Handles image classification models trained on imagenet dataset. | ||
* Input : RGB image | ||
* Output : Top 5 predictions and their respective probability of the image | ||
|
||
For more details refer [examples](../examples/image_classifier) | ||
|
||
## image_segmenter | ||
|
||
* Description : Handles image segmentation models trained on imagenet dataset. | ||
* Input : RGB image | ||
* Output : Output shape as [CL H W], CL - number of classes, H - height and W - width. | ||
|
||
For more details refer [examples](../examples/image_segmenter) | ||
|
||
## object_detector | ||
|
||
* Description : Handles object detection models. | ||
* Input : RGB image | ||
* Output : List of detected classes and bounding boxes respectively | ||
|
||
For more details refer [examples](../examples/object_detector) | ||
|
||
## text_classifier | ||
|
||
* Description : Handles models trained on imagenet dataset. | ||
* Input : text file | ||
* Output : Class of input text | ||
|
||
For more details refer [examples](../examples/text_classification) | ||
|