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.3.tar.gz (5.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: yolo-to-mongo-1.3.tar.gz
  • Upload date:
  • Size: 5.9 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.3.tar.gz
Algorithm Hash digest
SHA256 d3dba0b9e44438b9c3b48ec77e842248abfce83f9c9a0a10b7913b36ae2b4c7f
MD5 e17d7993cef1ee67ccc7e7d815092363
BLAKE2b-256 59684deb4dc914588e2aafbe08efb523ede6d7d313d7b86676ba4f6b533ae41e

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