![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
随手记
口在天上,数在心中
这个作者很懒,什么都没留下…
展开
-
Shell 使用日期或计数器 命名 文件
date获取系统时间,"+%Y_%m_%d_%H_%M_%S"指定格式,$time 输出时间, ~/Desktop/ $newFile指定位置下的文件夹。原创 2023-11-18 11:06:35 · 417 阅读 · 0 评论 -
在运行yolov5时,报错:attributeerror: ‘FreeTypeFont‘ object has no attribute ‘getsize‘(已解决)
在运行yolov5时,报错:attributeerror: ‘FreeTypeFont’ object has no attribute ‘getsize’原因是pillow版本问题:降低版本就行。原创 2023-11-17 11:54:07 · 329 阅读 · 0 评论 -
ubuntu20.04运用startup application开机自启动python程序
运用startup application开机自启动python程序。(根据显示提示安装)。在显示程序中搜索startup,打开应用程序。在程序目录下,创建start.sh 文件并进行编辑,,如果显示没有则先进行安装,原创 2023-10-19 15:22:49 · 1235 阅读 · 0 评论 -
记录跑yolov5时,遇到的一个问题
今天运行yolov5时,遇到一个bug.后面发现batchsize设置过大造成的。将batch-size设置小一些,问题得到解决。原创 2023-10-08 15:51:02 · 328 阅读 · 0 评论 -
运行yolov5时报错,已解决
运行时报错:AttributeError: ‘FreeTypeFont’ object has no attribute ‘getsize’其实时pollow版本10.0之后,删除了getsize的方法,将pillow版本降低即可。原创 2023-09-14 10:20:51 · 717 阅读 · 0 评论 -
记录一个错误:cannot schedule the futures after interprete shutdown
今天运行代码时出现一个错误。在python3.8及以下版本的环境中没有问题,在python3.9中出错,报:runtimeerror:cannot schedule the futures after interprete shutdown。由于对通讯一块不熟,查了好久,才发现是版本的问题,python3.9中协程的实现不用这种。原创 2023-08-31 19:34:56 · 1769 阅读 · 0 评论 -
ubuntu系统下访问github网站出现乱码,无法访问等问题
该问题一般由于IP设置问题导致,我们将重新编辑/etc/hosts.等上一分钟重启github网站就基本正常了。安装nscd ,输入命令。重新启动nscd服务,记录一个遇到的问题。原创 2023-08-25 09:30:15 · 487 阅读 · 1 评论