- 博客(2)
- 收藏
- 关注
原创 DCNv2编译时报错error: ‘THFloatBlas_gemv’ was not declared
Centernet官方源码里面的DCNv2在编译时报错,后来折腾了一番,发现是DCNv2版本太旧了,我的pytorch是1.7.0,去下载最新代码编译就行,下载地址是https://github.com/lbin/DCNv2/tree/pytorch_1.7, 可以根据自己的需要,把链接里面的pytorch_1.7改成自己pytorch的版本...
2021-04-16 09:39:59
2457
4
原创 Python 统计VOC数据集中类的数量
Python 统计VOC数据集中类的数量import globimport xml.etree.ElementTree as ET#import xml.dom.minidom#类名label1 = 'xxx'label2 = 'xxx'total_label1 = 0total_label2 = 0#xml路径path = r'Z:/xxx'for xml_file in glob.glob(path + '/*.xml'): # 返回解析树 tree = ET.pa
2021-04-06 11:16:24
665
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人