自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 AttributeError: module ‘PIL.Image‘ has no attribute ‘save‘

原来版本使用PIL保存图片是这样子的 from PIL import Image 图片路径,相对路径 6 image_path = “./fusion_datasets/2.jpg” 7 # 读取图片 8 image = Image.open(image_path) 9 # 保存图片 10 image.save("./results/image_save_20200509.jpg") 但是7.2.0之后就变成了 from PIL import Image ima

2020-08-15 09:24:24 7649 1

原创 TensorFlow与cudnn不匹配 :Loaded runtime CuDNN library: 7.5.1 but source was compiled with: 7.6.0

win10 + cuda10.0.130+ cudnn原来是按照其他博客 安装的是7.5.1,在anaconda虚拟环境中已经成功安装TensorFlow-gpu-1.15 但是用这个虚拟环境运行我的程序的时候出现了Loaded runtime CuDNN library: 7.5.1 but source was compiled with: 7.6.0.等红色警告字体 还有以下错误 直到我看到了这篇博客, 建议先点击这里,仔细看这个链接里面的博客后再看我下面写的内容 我的直觉告诉我,我的问题就是和

2020-07-29 08:22:27 2514 1

原创 ModuleNotFoundError: No module named ‘align.detect_face‘

ModuleNotFoundError: No module named ‘align.detect_face’ FileNotFoundError: [Errno 2] No such file or directory: ‘E:\faces_detection\facenet\src\det1.npy’ 最后成功进行了模型的效果检验

2020-07-20 08:08:20 3468 1

原创 训练自己的人脸识别--模型学习1遇到的问题could not broadcast input array from shape (160,160,4) into shape (24,160,160,3

ValueError: could not broadcast input array from shape (160,160,4) into shape (24,160,160,3) 受到这篇文章的启发,应该就是我输入的图片中混入了其他深度不同的图片例如,我这里需要的是深度为3的图片,深度为4的要过滤掉 最后运行没有错误,good.! ...

2020-07-19 23:14:29 1388

原创 人脸检测与人脸对齐-facenet遇到的问题ModuleNotFoundError: No module named ‘facenet‘

借鉴https://blog.csdn.net/weixin_41595062/article/details/81172398 直接 pip install facenet ModuleNotFoundError: No module named ‘align’ 直接 pip install align 还有遇到的ModuleNotFoundError: No module named ‘xxxxx’ 就直接pip install xxxxx ModuleNotFoundError: No module.

2020-07-19 18:17:45 1682

原创 在人脸识别项目中自己写的windows脚本进行人脸对比中遇到的问题

一开始点击自己编写的Windows脚本 之后弹出 所以自己就在anaconda中创建了一个TensorFlow02虚拟环境,在这个虚拟环境中再次安装TensorFlow 安装TensorFlow借鉴https://blog.csdn.net/xiong_backbone/article/details/104531444 接下来就是最关键的一步 cmd打开命令窗口,activate TensorFlow02 进入刚刚创建好的虚拟环境 由于原来我创建的人脸对比.cmd默认的python解释器中没有装Ten

2020-07-19 11:34:36 269

原创 目标分割数据预处理中create_mask_rcnn_tf_record中json转tfrecord遇到的问题

create_mask_rcnn_tf_record中json转tfrecord遇到的问题cv2. error: OpenCV(3. 4. 2) C: \projects \opencv- py thon \opencv \modules \imgproc \src \drawing. cpp:2407: error: ( 215:Assertion failed) p. checkVector(2, 4) >= 0 in function CV: :fillPoly 一开始以为是opencv版本的

2020-07-18 18:58:12 382

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除