摘要: 问题: Datatype class: H5T_FLOAT, Check failed: error == cudaSuccess (2 vs. 0) out of memory. hdf5 layer 最大的导入的大小是2G, 超过会报错[1]。 解决方法: 有人 h5repart -m1g 将数 阅读全文
posted @ 2016-05-13 11:49 cvhuang 阅读(1146) 评论(3) 推荐(0) 编辑
摘要: 错误提示: /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lpython2 collect2: error: ld returned 1 exit status 解决办法 阅读全文
posted @ 2016-03-02 16:10 cvhuang 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 1. caffe 官方文档定义: group (g) [default 1]: If g 1, we restrict the connectivity of each filter to a subset of the input. Specifically, the input and outp 阅读全文
posted @ 2016-01-05 18:10 cvhuang 阅读(1614) 评论(0) 推荐(0) 编辑
摘要: Cmake 安装 Caffe 1. 首先修改Cmake里面的参数(GPU, CPU,MatLab,Python等); 2. 修改 cmake/Dependencies.cmake 中的配置(BLAS之类的); 3. Cmake: cd caffe && mkdir build && cd build 阅读全文
posted @ 2015-09-17 10:31 cvhuang 阅读(6887) 评论(0) 推荐(0) 编辑
摘要: 1. ctags 安装(google) 2. Vim 配置 Vim配置: ~/.vimrc 或者其他配置文件中添加tags文件路径 :set tags=/path/to/tags 常用的路径 :set tags=./tags (当前目录) :set tags=./tags,ta... 阅读全文
posted @ 2015-09-07 15:33 cvhuang 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 1. CUDA (google) 2. BLAS via ATLAS, MKL, or OpenBLAS 3. OpenBLAS (google)源文件安装 4. 修改 Makefile.config 中 BLAS := open BLAS_INCLUDE := /opt/OpenBLAS/incl 阅读全文
posted @ 2015-08-17 18:09 cvhuang 阅读(521) 评论(0) 推荐(0) 编辑
摘要: manual里面描述 ctrl-o 和 ctrl-i 但是不是很好用常常会跳到其他文件,还有如 `. 和 '. 并不能记录多次的。在豆瓣看到一个解决方案用 g, 和 g; 。完美解决!很好用!! 阅读全文
posted @ 2014-08-27 14:58 cvhuang 阅读(2195) 评论(0) 推荐(0) 编辑
摘要: 最进看大牛程序有一段 eval(['temp(:,:,ori) = bg_r' num2str(r) '{' num2str(ori) '};']);eval函数是以字符串的形式运行代码下面是matlab官方的注释:eval(expression) evaluates the MATLAB code in the string expression. If you use eval within an anonymous function, nested function, or function that contains a nested f 阅读全文
posted @ 2014-01-14 16:56 cvhuang 阅读(10265) 评论(0) 推荐(0) 编辑