Winows下pycococreator工具的使用---将自己的数据集转换为COCO类型

1. 安装winows版本的pycocotools工具

COCO 地址: https://github.com/cocodataset/cocoapi

大佬改写支持 Windows 的 COCO 地址:https://github.com/philferriere/cocoapi

 pip 安装:  pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI

https://github.com/philferriere/cocoapi下载源码,并进行解压。以管理员身份打开 CMD 终端,并切换到 cocoapi\PythonAPI目录。运行以下指令

# install pycocotools locally

python setup.py build_ext --inplace

 # install pycocotools to the Python site-packages

python setup.py build_ext install

注意:Microsoft Visual C++ 14.0 is required

No module named ‘pycocotools._mask’: 工程下的pycocotools文件重名

 

2. 配置pycococreator工具

Github

评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值