摘要: CMakeLists.txt内容如下 目录结构如图所示 阅读全文
posted @ 2019-09-11 15:58 qilibin 阅读(4682) 评论(1) 推荐(0) 编辑
摘要: tensorflow1.11 bazel 0.15.2 protobuf 3.6.0 eigen 3.3.5 编译tensorflow ./configure 我需要的是CPU环境调用 所以一路都是NO 有显卡的执行 sudo bazel build --config=opt --config=cu 阅读全文
posted @ 2019-09-11 15:08 qilibin 阅读(453) 评论(0) 推荐(0) 编辑
摘要: #coding:utf-8 #第一种方式 很慢很慢 自己写的如何计算均值 ''' import cv2 import os def access_pixels(frame): print(frame.shape) #shape内包含三个元素:按顺序为高、宽、通道数 height = frame.shape[0] weight = frame.shape[1] ... 阅读全文
posted @ 2019-07-21 10:39 qilibin 阅读(2597) 评论(0) 推荐(0) 编辑
摘要: 环境 安装 bazel (0.18.1) 如果tensorflow是1.12.0,那么必须安装指定版本0.18.1的bazel,不然会出现很多的错误无法解决。 下载tensorflow工程代码 编译转换工具 生成tflite_graph.pb文件 利用bazel生成tflite文件 在Android 阅读全文
posted @ 2019-07-18 10:58 qilibin 阅读(1117) 评论(3) 推荐(0) 编辑
摘要: 问题1 解决: 阅读全文
posted @ 2019-07-01 11:20 qilibin 阅读(1994) 评论(1) 推荐(0) 编辑
摘要: import numpy as np def sigmod(x): return 1 / (1 + np.exp(-x)) def deriv_sigmod(x): fx = sigmod(x) return fx * (1 - fx) def mse_loss(y_true, y_pred): return ((y_true - y_pred)**2).m... 阅读全文
posted @ 2019-04-10 20:38 qilibin 阅读(750) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/chenyuping333/article/details/81537551 https://blog.csdn.net/u012328159/article/details/81101074 https://blog.csdn.net/gangzhuco 阅读全文
posted @ 2019-03-12 21:14 qilibin 阅读(535) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_40355324/article/details/80651350 阅读全文
posted @ 2019-03-12 10:31 qilibin 阅读(315) 评论(0) 推荐(0) 编辑
摘要: PIL2numpy and numpy2PIL PIL2opencv opencv2PIL base642opencv base642PIL base642image image2base64 阅读全文
posted @ 2019-02-26 09:30 qilibin 阅读(3163) 评论(0) 推荐(0) 编辑
摘要: ubuntu14 cuda9.0_384.81 驱动版本384.90 cudnn7.2 tensorflow1.8 https://blog.csdn.net/pkokocl/article/details/82634044 阅读全文
posted @ 2018-12-11 09:21 qilibin 阅读(274) 评论(0) 推荐(0) 编辑