自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(2)
  • 收藏
  • 关注

原创 mmdetection 训练COCO出现AttributeError ‘COCO‘ object has no attribute ‘get_cat_ids‘

mmdetection 训练COCO出现AttributeError: ‘COCO‘ object has no attribute ‘get_cat_ids‘原因mmdetection用到了pycocotools,本来接口是pycocotools.coco.getCatIds,但是mmdetection又在外包了一层,变成了get_cat_ids,而pycocotools.coco又没有这个成员函数,导致出错。解决方法方法1,参考github issue:revert the coco.py f

2020-07-16 17:42:32 2848

原创 Python 中bisect用法说明

Python 中bisect用法说明bisect是python内置模块,用于有序序列的插入和查找。查找:bisect(array, item)bisect_left(array, item)bisect_right(array, item)插入:insort(array,item)insort_left(array,item)insort_right(array,item)1.查找import bisectarr = [1,3,3,6,8,12,15]value =

2020-07-11 23:44:58 3206

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除