Skip to main content

YOLO to MongoDB

Project description

YOLO to MongoDB

将 YOLO 格式的标注数据存入 MongoDB 数据库的小工具.

design

快速使用

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

测试数据

将测试导入的数据放在 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yolo-to-mongo-1.2.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file yolo-to-mongo-1.2.tar.gz.

File metadata

  • Download URL: yolo-to-mongo-1.2.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for yolo-to-mongo-1.2.tar.gz
Algorithm Hash digest
SHA256 d5036de4f41fcc04c5ff36aeaca180850d2cec4ae362df60b934eccd8c4a5ed7
MD5 7f99e71b868774a33d2f95315142f539
BLAKE2b-256 15b8fd1fcd918fa35fe17e4c505732a4bf582b7ee12ea1c8c66a287f16044e63

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page