|
|
|
@ -17,18 +17,21 @@ Overview of functionality:
|
|
|
|
- List all tasks (supports basic CSV or JSON output)
|
|
|
|
- List all tasks (supports basic CSV or JSON output)
|
|
|
|
- Download JPEG frames (supports a list of frame IDs)
|
|
|
|
- Download JPEG frames (supports a list of frame IDs)
|
|
|
|
- Dump annotations (supports all formats via format string)
|
|
|
|
- Dump annotations (supports all formats via format string)
|
|
|
|
|
|
|
|
- Upload annotations for a task in the specified format (e.g. 'YOLO ZIP 1.0')
|
|
|
|
|
|
|
|
- Export and download a whole task
|
|
|
|
|
|
|
|
- Import a task
|
|
|
|
|
|
|
|
|
|
|
|
**Usage**
|
|
|
|
**Usage**
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
usage: cli.py [-h] [--auth USER:[PASS]] [--server-host SERVER_HOST]
|
|
|
|
usage: cli.py [-h] [--auth USER:[PASS]] [--server-host SERVER_HOST]
|
|
|
|
[--server-port SERVER_PORT] [--debug]
|
|
|
|
[--server-port SERVER_PORT] [--debug]
|
|
|
|
{create,delete,ls,frames,dump} ...
|
|
|
|
{create,delete,ls,frames,dump,upload,export,import} ...
|
|
|
|
|
|
|
|
|
|
|
|
Perform common operations related to CVAT tasks.
|
|
|
|
Perform common operations related to CVAT tasks.
|
|
|
|
|
|
|
|
|
|
|
|
positional arguments:
|
|
|
|
positional arguments:
|
|
|
|
{create,delete,ls,frames,dump}
|
|
|
|
{create,delete,ls,frames,dump,upload,export,import}
|
|
|
|
|
|
|
|
|
|
|
|
optional arguments:
|
|
|
|
optional arguments:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
@ -45,11 +48,11 @@ optional arguments:
|
|
|
|
|
|
|
|
|
|
|
|
**Examples**
|
|
|
|
**Examples**
|
|
|
|
|
|
|
|
|
|
|
|
- List all tasks
|
|
|
|
|
|
|
|
`cli.py ls`
|
|
|
|
|
|
|
|
- Create a task
|
|
|
|
- Create a task
|
|
|
|
`cli.py create "new task" --labels labels.json local file1.jpg file2.jpg`
|
|
|
|
`cli.py create "new task" --labels labels.json local file1.jpg file2.jpg`
|
|
|
|
- Delete some tasks
|
|
|
|
- Delete some tasks
|
|
|
|
`cli.py delete 100 101 102`
|
|
|
|
`cli.py delete 100 101 102`
|
|
|
|
|
|
|
|
- List all tasks
|
|
|
|
|
|
|
|
`cli.py ls`
|
|
|
|
- Dump annotations
|
|
|
|
- Dump annotations
|
|
|
|
`cli.py dump --format "CVAT for images 1.1" 103 output.xml`
|
|
|
|
`cli.py dump --format "CVAT for images 1.1" 103 output.xml`
|
|
|
|
|