Python SDK for Converting Tunas Format Dataset to DSDL YAML
Project description
项目简介
该项目的作用是将tunas标准数据集转换为符合dsdl标准的yaml文件
项目安装:
pip install tunas2dsdl
项目使用:
tunas2dsdl convert -i <dataset_info path> -a <annotation file> -w <working dir> -t <task> -s
参数详解:
参数 | 含义 |
---|---|
-i/--dataset-info |
tunas标准数据集的dataset_info.json 的路径 |
-a/--annotation |
tunas标准数据集的标注文件的路径 |
-w/--working-dir |
生成的dsdl yaml文件存储的目录路径,目录必须存在且必须为空 |
-t/--task |
当前处理的的任务,目前只支持选项detection ,对应了检测任务 |
-s/--separate-store |
是否将数据集中的samples单独存储到一个json文件中,当样本数量巨大的情况下可以使用该选项,默认存储的文件名为samples.json ,保存在working-dir目录下 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tunas2dsdl-0.1.7.tar.gz
(10.8 kB
view details)
Built Distribution
File details
Details for the file tunas2dsdl-0.1.7.tar.gz
.
File metadata
- Download URL: tunas2dsdl-0.1.7.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64edd282ee39e0d2ad7ed00971d3673745d61cfe7bb9c9002226fd649dc98ade |
|
MD5 | 31d3cf741f057da1e53b5b79f3897a66 |
|
BLAKE2b-256 | e45452d1a2248b6fa3bf5cf9a900bd9e9296cdde1a7354fbb2d9cd22ea842d9a |
File details
Details for the file tunas2dsdl-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: tunas2dsdl-0.1.7-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 525028437a3c78e756091502f142e14d3e750bcd4d9b8ae64ed4e7273531639d |
|
MD5 | a688adf0865fe653ac8e8dd34ed3a4d9 |
|
BLAKE2b-256 | 2fad22013ff703a91ee2df2144db747ebe673d5af7cb689637a60cdd83b137e6 |