- Overview
- Getting Started Guide
- UserGuide
-
References
-
ABEJA Platform CLI
- CONFIG COMMAND
- DATALAKE COMMAND
- DATASET COMMAND
- TRAINING COMMAND
-
MODEL COMMAND
- check-endpoint-image
- check-endpoint-json
- create-deployment
- create-endpoint
- create-model
- create-service
- create-trigger
- create-version
- delete-deployment
- delete-endpoint
- delete-model
- delete-service
- delete-version
- describe-deployments
- describe-endpoints
- describe-models
- describe-service-logs
- describe-services
- describe-versions
- download-versions
- run-local
- run-local-server
- start-service
- stop-service
- submit-run
- update-endpoint
- startapp command
-
ABEJA Platform CLI
- FAQ
- Appendix
check-endpoint-image
Description
Confirm the operation to the created service endpoint. (Image)
Synopsis
$ abeja model check-endpoint-image [--help]
Usage: abeja model check-endpoint-image [OPTIONS]
Check endpoint image
Options:
-d, --deployment_id TEXT Deployment identifier [required]
-s, --service_id TEXT Service identifier
-t, --type TEXT Contant type [required]
-i, --image_path TEXT Image file [required]
--help Show this message and exit.
Options
-d
, --deployment_id
Specify the deployment ID. (Required)
-s
, --service_id
Specify the service ID.
-t
, --type
Specify the content type. (Required) Learn more about content types. here
-i
, --image_path
Specify the path of the image file. (Required)
Example
Check endpoint image
This example performs an endpoint check on the image.
Command:
$ abeja model check-endpoint-image --deployment_id 1234567890123 --service_id ser-abc12345def678g9 --type jpeg --image_path ./sunflower.jpg
Output:
{
"result": [
{
"label": "sunflower",
"probability": 0.9999558925628662
},
{
"label": "iris",
"probability": 3.9028676837915555e-05
},
{
"label": "daisy",
"probability": 1.87290652320371e-06
},
{
"label": "tigerlily",
"probability": 1.3570181636168854e-06
},
{
"label": "crocus",
"probability": 4.4050594283362443e-07
},
{
"label": "windflower",
"probability": 4.1153674601446255e-07
},
{
"label": "dandelion",
"probability": 3.5951231325270783e-07
},
{
"label": "daffodil",
"probability": 2.5837493922153953e-07
},
{
"label": "colts_foot",
"probability": 2.0557939706122852e-07
},
{
"label": "cowslip",
"probability": 6.43593978111312e-08
},
{
"label": "buttercup",
"probability": 1.788880865660758e-08
},
{
"label": "fritillary",
"probability": 3.883771526602686e-09
},
{
"label": "pansy",
"probability": 3.5132488029887554e-09
},
{
"label": "snowdrop",
"probability": 1.447455488801097e-09
},
{
"label": "tulip",
"probability": 5.021400517613017e-10
},
{
"label": "bluebell",
"probability": 8.706434878602565e-11
},
{
"label": "lily_valley",
"probability": 4.05778986800609e-11
}
]
}