mmdetection系列
万能的小陈
这个作者很懒,什么都没留下…
展开
-
coco格式伪标签生成代码
coco格式伪标签生成代码注:name_class 要更换为自己数据集的标签import jsonimport osfrom glob import globfrom tqdm import tqdmfrom PIL import Imagename_class =['liner', 'bulk carrier', 'warship', 'sailboat']label_ids = {name: i for i, name in enumerate(name_class)}def原创 2021-08-27 10:28:21 · 505 阅读 · 0 评论 -
mmdetection 训练自己的数据集[v2.14.0 (2023/4/7更新)]
mmdetection训练自己的数据集0、环境配置1、准备好数据集及标注文件2、修改相关配置文件最后:遇到的一些问题以及解决方法。0、环境配置参考mmdetection 环境配置(v2.14.0 (29/6/2021))1、准备好数据集及标注文件本篇使用COCO格式的数据集进行训练。官方需求的格式如下,train2017和val2017放的是对应的照片。mmdetection├── mmdet├── tools├── configs├── data│ ├── coco│ │原创 2021-07-14 10:19:08 · 3472 阅读 · 42 评论 -
mmdetection 环境配置(v2.14.0 (29/6/2021))
本篇文章在ubuntu18.04中配置。主要版本如下:Python 3.7Cuda 10.1Torch 1.7.01、创建anaconda虚拟环境python=3.72、安装pytorch,torchvision3、安装mmcv-fullpip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/{cu_version}/{torch_version}/index.html{cu_version} and {torch原创 2021-07-12 15:32:31 · 450 阅读 · 0 评论