- 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
create-dataset
Description
Create a dataset from CLI.
Synopsis
$ abeja dataset create-dataset [--help]
Usage: abeja dataset create-dataset [OPTIONS]
Create dataset channel
Options:
-n, --name TEXT Display name [required]
-t, --type TEXT Type of dataset ex. classification, detection
[required]
-p, --props FILENAME Format to validate annotation attributes. [required]
--help Show this message and exit.
Options
-n
, --name
Specify the dataset name. (Required)
-t
, --type
Specifies the type of dataset. (Required) ( classification , detection , segmentation-image , custom )
-p
, --props
Specify the file that defines the label of the dataset. (Required)
Label definition example (filename : property_file.json)
{
"categories": [
{
"labels": [
{
"label_id": 1,
"label": "dog"
},
{
"label_id": 2,
"label": "cat"
},
{
"label_id": 3,
"label": "others"
}
],
"category_id": 1,
"name": "cats_dogs"
}
]
}
Example
Create a dataset.
Create a dataset.
Command:
$ abeja dataset create-dataset --name demo-dataset \
--type classification \
--props ./property_file.json