摘要: "卷积神经网络(Convolutional Neural Network, CNN)是一种前馈神经网络,它的人工神经元可以响应一部分覆盖范围内的周围单元,[1]对于大型图像处理有出色表现。" Deep Neural Network(DNN)模型是基本的深度学习框架 "递归神经网络(RNN)是两种人工 阅读全文
posted @ 2017-10-28 11:42 學海無涯 阅读(505) 评论(0) 推荐(0) 编辑
摘要: ``` # The train/test net protocol buffer definition #训练或测试网络模型定义文件路径。 net: "examples/mnist/lenet_train_test.prototxt" # test_iter specifies how many forward passes the test should carry out. # In the ... 阅读全文
posted @ 2017-10-28 11:04 學海無涯 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 使用 原子锁 代替 条件变量 // c++20 std::atomic<bool> condition{ false }; std::cout << "run" << std::endl; std::thread run([&cond = condition]() { std::cout << "s 阅读全文
posted @ 2017-10-25 00:21 學海無涯 阅读(9095) 评论(0) 推荐(0) 编辑
摘要: ``` connect(camera, static_cast(&QCamera::lockStatusChanged), [=](QCamera::LockStatus status, QCamera::LockChangeReason reason){ /* ... */ }); static_cast(&QCamera::lockStatusChanged) 上面这句是一个静... 阅读全文
posted @ 2017-10-20 12:49 學海無涯 阅读(2159) 评论(0) 推荐(0) 编辑
摘要: 1. https://www.penflip.com 2. https://www.gitbook.com 3. https://leanpub.com/ 4. https://www.softcover.io 5. http://markua.com/ 阅读全文
posted @ 2017-10-19 21:49 學海無涯 阅读(234) 评论(0) 推荐(0) 编辑
摘要: ```c++ #include #include #include #include #include #include #pragma comment(lib,"Strmiids.lib") //#include //#include int main() { ICreateDevEnum *pDevEnum = NULL; IEnumMoniker *pEnum = N... 阅读全文
posted @ 2017-10-18 14:58 學海無涯 阅读(1126) 评论(0) 推荐(0) 编辑
摘要: Caffe Minist 教程 一、准备工作 1. 下载 https://github.com/BVLC/caffe https://github.com/BVLC/caffe/tree/windows 2. 下载 数据集并解压 |name|describe| | | | |train images 阅读全文
posted @ 2017-10-14 20:18 學海無涯 阅读(311) 评论(0) 推荐(0) 编辑
摘要: C++ 如何获取三个相同数值中的最大值或最小值? c++ template T Max(T x, T y, T z) { return x y ? (x z ? x : z) : (y z ? y : z); } template T Min(T x, T y, T z) { return x 阅读全文
posted @ 2017-10-14 08:56 學海無涯 阅读(2320) 评论(0) 推荐(0) 编辑
摘要: struct RGB2HSV_f { typedef float channel_type; RGB2HSV_f(int _srccn, int _blueIdx, float _hrange) : srccn(_srccn), blueIdx(_blueIdx), hrange(_hrange) 阅读全文
posted @ 2017-10-12 23:53 學海無涯 阅读(1894) 评论(0) 推荐(0) 编辑
摘要: `注意: define 必须在文档最前面` 阅读全文
posted @ 2017-10-12 14:39 學海無涯 阅读(188) 评论(0) 推荐(0) 编辑