YOLO to MongoDB
将 YOLO 格式的标注数据存入 MongoDB 数据库的小工具.
快速使用
pip install yolo-to-mongo
yolo-to-mongo
使用示例:
$ yolo-to-mongo
欢迎使用 YOLO to MongoDB
开始导入任务 (按 Ctrl+C 安全退出)
> C:\Users\xxx\Desktop\测试数据\Post\20220210
> 127.0.0.1:27017
筛选目录下 2614 个文件... 中的有效标注数据
文件遍历进度: 100.0% [====================>] 2614/2614 eta [00:00]
共筛选出 1306 个有效标注数据
处理待导入的 1306 个标注数据... (utf-8 编码)
数据处理进度: 100.0% [====================>] 1306/1306 eta [00:00]
完成 1306 个数据的处理, 没有出现重复 MD5 码
导入 1306 个历史标注... 到 MongoDB 数据库
数据导入进度: 100.0% [====================>] 1306/1306 eta [00:00]
成功导入 0 个数据, 跳过 1306 个已存在数据
开始 下一轮 导入任务 (按 Ctrl+C 安全退出)
>
安全退出
$
本地开发
开发过程中调试.
python3 -m venv env
pip install -r requirements.txt
发布之前的打包调试.
python setup.py check
python setup.py sdist
python setup.py install
测试数据
将测试导入的数据放在 demo/ 目录下.
安装调试
pip install -U -e .
yolo-to-mongo
发布命令
pip install twine
python setup.py sdist
twine upload dist/yolo-to-mongo-x.x.tar.gz
Metadata
Release files for yolo-to-mongo 1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yolo-to-mongo-1.4.tar.gz | 6.4 kB | Without provenance | Details for yolo-to-mongo-1.4.tar.gz |
Release files / yolo-to-mongo-1.4.tar.gz
| Download URL | yolo-to-mongo-1.4.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9a575aa000de6fcf9080049635f37d500635cc2baea42bda404c37edccf06e4d
|
|
BLAKE2b-256 checksum How to use checksums |
a53051ce26debdf6060af183a1f25b5b6abf05be25350efd901e78590ce41962
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
|
Security for yolo-to-mongo 1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.