logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Anaconda 中成功解决:Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pyperclip/

Anaconda 安装包的时候,总是出现如下的错误:Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/pyperclip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.

#python#人工智能#深度学习 +1
成功解决:函数np.hstack()报错ValueError: all the input arrays must have same number of dimensions

想要将俩张图像进行拼接显示,用了如下的代码:res = np.hstack((image, edage))cv_show('image', res)大部分的原因是图像的维度数不同,可以自己检查一下,打印一下看看他们的维度数:edage = cv2.Canny(gray, 75, 200)"""res = np.hstack((image, edage))cv_show('image', res)"

#python#深度学习#计算机视觉 +1
Google colab踩坑

Colab踩坑3.安装Anaconda来配置需要的安装包:4.Linux下Anaconda的虚拟环境创建、激活虚拟环境创建:激活虚拟环境:虚拟环境被激活之后,就不用进行其他的操作了,激活了虚拟环境后,想要运行的python文件就会在这个虚拟环境下运行安装各种依赖库时常会出现的错误有三个:(1)Command "python setup.py egg_info" failed with error

#python#机器学习#深度学习 +1
成功解决:函数np.hstack()报错ValueError: all the input arrays must have same number of dimensions

想要将俩张图像进行拼接显示,用了如下的代码:res = np.hstack((image, edage))cv_show('image', res)大部分的原因是图像的维度数不同,可以自己检查一下,打印一下看看他们的维度数:edage = cv2.Canny(gray, 75, 200)"""res = np.hstack((image, edage))cv_show('image', res)"

#python#深度学习#计算机视觉 +1
成功解决:yolov5 中 tensorboard 打不开

首先在终端中,进入自己的文件所在的位置:再输入如下的代码,等号后是存放 tensorboard 数据的位置tensorboard --logdir=./runs就可以打开了。

#python#计算机视觉#深度学习
问题解决:VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences

想要打印检测到了多少个轮廓,用了如下的代码:binary, contours, hierarchy = cv2.findContours(ref.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE)res = cv2.drawContours(img, contours, -1, (0, 0, 255), 2)cv_show('res', res)#

#python#计算机视觉#深度学习
成功解决:TypeError: bad argument type for built-in operation

出现了这类问题,一定要检查一下出错位置的函数是否用对了。这是我的出错位置,我想要将图像转化为灰度图,用来如下的代码:gray = cv2.imread(image, cv2.COLOR_BGR2GRAY)我用的函数是 cv2,imread(), 很明显,应该用的函数是 cv2.cvtColor(),修改如下:gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY

#python#深度学习#opencv +1
UNet++网络复现,包括深度监督

代码浮现的时候,遵循从左下到右上的顺序,这样就会方便很多。unet++原论文的图解给的详细信息不多,介意先将unet复现之后,unet++就很容易上手了。

文章图片
#深度学习#人工智能
调用Lasso进行回归预测时遇到问题:ConvergenceWarning: Objective did not converge.

问题:ConvergenceWarning: Objective did not converge. You might want to increase the number of iterations, check the scale of the features or consider increasing regularisation. Duality gap: 2.080e+01, t

#python#机器学习#回归
yolov5中成功解决:subprocess.CalledProcessError: Command ‘pip install ‘pycocotools>=2.0‘‘

在yolov5 环境配置时出现的这个问题,如果直接pip installpycocotools,是不能安装的,不论是 lunix 或是 windows,都可以用如下的命令安装;conda install -c esri pycocotools这是 2.0.2 版本的。

#深度学习#人工智能#目标检测
    共 11 条
  • 1
  • 2
  • 请选择