上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: 概要: 由于缺少pycocotools包引发的错误,而pycocotools包需要cython和C编译器,所以在安装cython之前需要先安装Cython。 解决办法: 安装cython pip install -U cython Linux安装pycocotools pip install "gi 阅读全文
posted @ 2020-04-22 13:38 DuanYongchun 阅读(16184) 评论(0) 推荐(2) 编辑
摘要: 解决办法:使用arxiv.org的备用地址xxx.itp.ac.cn 例:将arxiv.org/abs/1911.00068更换为xxx.itp.ac.cn/abs/1911.00068 阅读全文
posted @ 2020-04-17 22:30 DuanYongchun 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: 一、Labelme简介: labelme是麻省理工(MIT)的计算机科学和人工智能实验室(CSAIL)研发的图像标注工具,人们可以使用该工具创建定制化标注任务或执行图像标注,项目源代码已经开源。 项目开源地址:https://github.com/CSAILVision/LabelMeAnnotat 阅读全文
posted @ 2020-04-15 00:32 DuanYongchun 阅读(989) 评论(0) 推荐(0) 编辑
摘要: import os root_dir = r'pycococreatortools' # os.path.join(root_dir, str):将root_dir,str部分合成一个整体 print("执行结果:", os.path.join(root_dir, '_os_path_')) fil 阅读全文
posted @ 2020-04-14 15:38 DuanYongchun 阅读(429) 评论(0) 推荐(1) 编辑
摘要: 源码: #!/usr/bin/python # -*- coding:utf8 -*- import os import random def mod_file_name(root_dir): files = os.listdir(root_dir) # 获取当前目录的所有文件及文件夹 for fi 阅读全文
posted @ 2020-04-14 15:19 DuanYongchun 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 您可能会想,“如果它如此容易理解,为什么不只使用png二进制掩码格式。” 请记住,我们尝试制作COCO数据集的原因不是因为它是表示带注释的图像的最佳方式,而是因为其他所有人都在使用它。 前期准备: 安装pycocotools:Windows下安装- pip install git+https://g 阅读全文
posted @ 2020-04-14 13:01 DuanYongchun 阅读(916) 评论(0) 推荐(0) 编辑
摘要: 当前目录:【./】(同级目录)可省略 上一级目录:【../】 上上一级目录:【../../】 阅读全文
posted @ 2020-04-13 11:28 DuanYongchun 阅读(2876) 评论(0) 推荐(0) 编辑
摘要: 执行: pip install -U scikit-image 阅读全文
posted @ 2020-04-12 23:17 DuanYongchun 阅读(1279) 评论(0) 推荐(0) 编辑
摘要: 执行: apt update && apt install -y libsm6 libxext6 libxrender-dev 阅读全文
posted @ 2020-04-12 23:16 DuanYongchun 阅读(1902) 评论(0) 推荐(0) 编辑
摘要: 官方教程:https://pillow.readthedocs.io/en/stable/handbook/tutorial.html 之后再写教程 读取图片转换格式并保存 import os import shutil from PIL import Image import numpy as n 阅读全文
posted @ 2020-04-11 01:07 DuanYongchun 阅读(402) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页