- 博客(8)
- 收藏
- 关注
原创 psql: could not connect to server: Connection refused
首先我尝试使用 systemctl启动服务,但失败,显示Failed to connect to bus: No such file or diirectory。起因是在docker中创建了postgresql环境,但是一旦docker镜像关机,再次进入时就会如上的错误,在中文社区苦苦寻找没有找到答案。再次运行 systemctl 启动。在github上找到答案。最终,成功启动psql服务。
2024-04-26 09:21:32
524
4
原创 【TensorRT】ERROR: 3: Cannot find binding of given name: input
即在buildserializeengine之前添加。在序列化模型之前,需要给模型的输入输出设定名字。名字随便起,只要保证在反序列化时名字相同即可。
2023-10-12 22:06:27
1249
1
原创 (wsl2中)Ubuntu paddlepaddle安装验证阶段 paddle.utils.run_check() 报错
其中关键信息如下 :The third-party dynamic library (libcuda.so) that Paddle depends on is not configured correctly. (error code is libcuda.so: cannot open shared object file: No such file or directory)的教程成功安装cuda11.7和cudnn8.4.1后,按照paddle官方教程继续安装paddlepaddle,
2023-08-10 15:51:03
956
1
原创 Premature end of JPEG file
使用opencv将有问题的图片(或者整个数据集)读取并保存一遍,因为opencv保存出来的图片是没有损坏的。起因是在使用yolov5训练模型的时候出现了下面的情况。很是懊恼,查找了其他博客得知,应该是jpg文件损坏。代码如下,修改一下文件目录就可以直接用了。修改完以后再次进行训练就没有出现问题了。
2023-07-10 00:16:14
863
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人