上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页
摘要: 1.采集人脸样本 # 系统操作 import os # 判断文件类型 import imghdr from imutils import * # 人脸检测并保存人脸 def facedetect(image, output): # 获取文件名 name = os.path.basename(imag 阅读全文
posted @ 2019-11-26 09:49 刘文华 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 报错:ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'E:\\Anoconda\\Lib\\site-packages\\cv2\\cv2.cp37-win_amd64.pyd'Co 阅读全文
posted @ 2019-11-25 17:14 刘文华 阅读(3589) 评论(0) 推荐(0) 编辑
摘要: from imutils import * image = imread('face.png') show(image) 1. image:输入图像 2. scaleFactor=1.1:这个是每次缩小图像的比例,默认是1.1 3. minNeighbors=3:匹配成功所需要的周围矩形框的数目,每 阅读全文
posted @ 2019-11-19 17:42 刘文华 阅读(265) 评论(0) 推荐(0) 编辑
摘要: Tensorflow 模型的保存、读取和冻结、执行 阅读全文
posted @ 2019-11-19 16:14 刘文华 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 转自 https://www.cnblogs.com/zerotoinfinity/p/10242849.html 一、模型的保存 使用tensorflow训练模型的过程中,需要适时对模型进行保存,以及对保存的模型进行restore,以便后续对模型进行处理。如:测试、部署、拿别的模型进行fine-t 阅读全文
posted @ 2019-11-19 10:48 刘文华 阅读(737) 评论(0) 推荐(0) 编辑
摘要: 代码如下: import tensorflow as tf def get_all_layernames(): """get all layers name""" pb_file_path = '/home/nvidia/sq/facenet-master/model_checkpoints/fre 阅读全文
posted @ 2019-11-15 09:17 刘文华 阅读(1133) 评论(0) 推荐(0) 编辑
摘要: numpy与tensor数据相互转化: *Numpy2Tensor 虽然TensorFlow网络在输入Numpy数据时会自动转换为Tensor来处理,但是我们自己也可以去显式的转换: data_tensor= tf.convert_to_tensor(data_numpy) *Tensor2Nump 阅读全文
posted @ 2019-11-14 08:39 刘文华 阅读(5452) 评论(0) 推荐(0) 编辑
摘要: 0.Tensorflow安装 1.创建会话,启动会话 2.变量 3.Fech_feed 4.线性回归 5.非线性回归 6.MNIST数据集简单分类 7.交叉熵 8.Dropout 9.正则化 10.优化器 11.Tensorboard网络结构 阅读全文
posted @ 2019-10-22 14:57 刘文华 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 目录 一.计算机基础 二.python基础 三.函数 四.常用模块 五.模块和包 六.面向对象 七.网络编程sockert 阅读全文
posted @ 2019-10-22 14:06 刘文华 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/foremostxl/p/9363250.html 方便查阅 点击这里进入:进入 阅读全文
posted @ 2019-10-09 17:01 刘文华 阅读(184) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 17 下一页