上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 加载数据时出现报错: RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase. This probabl 阅读全文
posted @ 2019-10-10 10:57 小呆丶 阅读(2451) 评论(0) 推荐(0) 编辑
摘要: pip install imagededup 时,报错:Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong t 阅读全文
posted @ 2019-10-10 10:52 小呆丶 阅读(2306) 评论(0) 推荐(0) 编辑
摘要: pip install imagededup 时,报错:ipython 6.5.0 has requirement prompt-toolkit<2.0.0,>=1.0.15, but you'll have prompt-toolkit 2.0.15 which is incompatible. 阅读全文
posted @ 2019-10-10 10:47 小呆丶 阅读(2627) 评论(0) 推荐(1) 编辑
摘要: 在对图片进行卷积处理的时候,如果卷积模版(卷积内核)过大,且不对原图的边界进行扩充,会导致处理之后得到的图片尺寸变的很小,也就是严重失真。 而扩充边界有多种方法,本文就介绍一下这些填充方法。 这是原始图像。 这是原始图像。 根据图像的边界的像素值,向外扩充图片,每个方向扩充50个像素。 a = cv 阅读全文
posted @ 2019-09-26 11:41 小呆丶 阅读(2372) 评论(0) 推荐(0) 编辑
摘要: 读取xml时,出现报错:xml.etree.ElementTree.ParseError: no element found: line 20, column 9 原因是xml文件格式有问题,可以检查一下出问题的xml文件 阅读全文
posted @ 2019-09-11 15:45 小呆丶 阅读(5619) 评论(0) 推荐(0) 编辑
摘要: 复制要下载的视频的地址 打开此链接:https://y2mate.com/youtube/9wxePpNYShQ 如下图位置粘贴视频地址,然后选择想要的分辨率点击右面的“Download”进行下载即可 阅读全文
posted @ 2019-09-04 17:09 小呆丶 阅读(4510) 评论(0) 推荐(0) 编辑
摘要: 最近有需求把一个视频从指定帧截取一部分,demo代码如下: 阅读全文
posted @ 2019-08-13 17:17 小呆丶 阅读(6764) 评论(0) 推荐(1) 编辑
摘要: 微软自从14316版本后,就开始原生支持Linux Bash命令行。 1.首先到系统设置——更新和安全——针对开发人员——选择开发者模式。 2.控制面板→程序和功能→启用或关闭Windows功能,勾选“适用于Linux的Windows子系统(Beta)" ***安装后需要重启 3.打开命令提示符,直 阅读全文
posted @ 2019-08-13 17:12 小呆丶 阅读(626) 评论(0) 推荐(0) 编辑
摘要: Python中有很多运算符,今天我们就来讲讲is和==两种运算符在应用上的本质区别是什么。 在讲is和==这两种运算符区别之前,首先要知道Python中对象包含的三个基本要素,分别是:id(身份标识)、type(数据类型)和value(值)。 is和==都是对对象进行比较判断作用的,但对对象比较判断 阅读全文
posted @ 2019-07-30 17:54 小呆丶 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 正则表达式和re模块: 什么是正则表达式: 通俗理解:按照一定的规则,从某个字符串中匹配出想要的数据。这个规则就是正则表达式。标准答案:https://baike.baidu.com/item/正则表达式/1700215?fr=aladdin 正则表达式常用匹配规则: 匹配某个字符串: 匹配多个字符 阅读全文
posted @ 2019-07-22 19:08 小呆丶 阅读(201) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页