![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
避免踩坑系列
本专栏会记录一些自己遇到的bug,以及如果避免踩坑
猛男技术控
苦心钻研!
勇于实践!
不负韶华!
展开
-
voc数据集xml文件转换为txt文件并划分训练集、测试集
如何提取voc中的某一类这里有写:https://xiaobaibubai.blog.csdn.net/article/details/115660715本代码可以将voc数据集xml文件转换为txt文件:import xml.etree.ElementTree as ETimport pickleimport osfrom os import listdir, getcwdfrom os.path import join# 改变坐标格式def convert(size, box):原创 2021-04-13 14:11:20 · 1440 阅读 · 2 评论 -
提取voc数据集中特定的类
先贴出代码:import shutilimport osimport xml.etree.ElementTree as ETAnnotations_path = r"E:/data/voc/VOCdevkit/VOC2007/Annotations"image_path = r"E:/data/voc/VOCdevkit/VOC2007/JPEGImages"save_img_path = r"E:/data/voc/VOCdevkit/VOC2007/tte/"save_xml_path原创 2021-04-13 12:31:38 · 1261 阅读 · 6 评论 -
Could not find module ‘D:\codna\Library\bin\geos_c.dll‘
Could not find module ‘D:\codna\Library\bin\geos_c.dll’哎,用paddle时,这一个小错也不知道啥引起的,反正就报这个错,找了好久,最终在wai网找到了答案。。。https://www.dll-files.com/geos_c.dll.html在这里下载,打不开的可以在我资源里下https://download.csdn.net/download/weixin_45755332/16621701...原创 2021-04-11 19:50:48 · 959 阅读 · 4 评论 -
使用清华源、百度源等快速pip install xxx 安装Python库
临时使用清华源pip install -i https://pypi.tuna.tsinghua.edu.cn/simple your_package百度源pip install your_package https://simple.baidu.com/pypi/simple注意:simple 不能少, 是 https 而不是 http百度源不能安装tensorflow,keras等其他深度学习框架,但安装pandas,numpy这种是非常快的设为默认升级 pip 到最新的版本原创 2021-03-15 20:20:53 · 4184 阅读 · 1 评论 -
FileNotFoundError: Could not find module xxx\Library\bin\geos_c.dl paddle安装采坑
FileNotFoundError: Could not find module xxx\xxx\Library\bin\geos_c.dll'这个错误很简单,conda install shapely就能解决FileNotFoundError: Could not find module xxxx\Library\bin\geos_c.dll'其余的具体安装步骤可以参考朋友写的:PaddleOcr安装与使用全程指南...原创 2021-03-15 11:48:35 · 6587 阅读 · 2 评论