- 博客(16)
- 资源 (19)
- 收藏
- 关注
原创 行主序,列主序问题
caffe2使用numpy,numpy支持两种,C指C语言中使用的row-major order,即行主序; F指Fortran中使用的column-order,即列主序numpy内存组织格式可参考下列网站:https://docs.scipy.org/doc/numpy-1.12.0/reference/internals.html
2017-06-29 19:37:08 2809
原创 centos caffe2安装
1. 下载caffe2源码包https://github.com/caffe2/caffe22. 安装过程请参照https://caffe2.ai/docs/getting-started.html?platform=centos&configuration=cloud3. 编译过程中需要的cmake指令和生成的makefile中添加的路径在”我的资源“中,相应的环境变
2017-06-28 19:43:59 1921
原创 软件source编译安装
./configure指定安装路径: ./configure --prefix=/home/usrName/softwarecmake指定安装路径: cmake -DCMAKE_INSTALL_PREFIX=/usr .. wget -O "filename" "address" wget下载文件时指定要保存的文件名wget -P "dir" "addres
2017-06-21 20:20:46 554
原创 shell之 2>&1
在 shell 程式中,最常使用的 FD (file descriptor) 有三个, 分别是:0 是一个文件描述符,表示标准输入(stdin)1 是一个文件描述符,表示标准输出(stdout)2 是一个文件描述符,表示标准错误(stderr)标准情况下, 这些FD分别跟如下设备关联: stdin(0): keyboard 键盘输入,并返回在前端 s
2017-06-20 10:18:40 246
转载 shell编程-case, if -z -n -f -eq -ne -lt语句
原文链接:http://blog.sina.com.cn/s/blog_6151984a0100ekq0.html
2017-06-20 09:45:03 473
转载 shell变量含义
原文链接: http://c.biancheng.net/cpp/view/2739.htmlshell脚本中,一些特殊变量总结如下:$0当前脚本的文件名$n传递给脚本或函数的参数。n 是一个数字,表示第几个参数。例如,第一个参数是$1,第二个参数是$2。$#传递给脚本或函数的参数个数。$*传递给脚本或函数的所
2017-06-20 09:39:48 255
原创 python之Pexpect, 启动子进程并对其进行控制
参考文章:1. Pexpect基础篇: https://www.ibm.com/developerworks/cn/linux/l-cn-pexpect1/2. Pexpect实例分析: https://www.ibm.com/developerworks/cn/linux/l-cn-pexpect2/3. Expect主页:https://www.nist.gov/services-
2017-06-20 00:39:28 813
转载 shell查看进程状态--ps命令
http://www.cnblogs.com/wangkangluo1/archive/2011/09/23/2185938.html名称:ps使用权限:所有使用者使用方式:ps [options] [--help]说明:显示瞬间行程 (process) 的动态参数:ps的参数非常多, 在此仅列出几个常用的参数并大略介绍含义-A 列出所有的进程-w
2017-06-19 19:57:49 21603
原创 python发送邮件
import smtplibfrom email.MIMEMultipart import MIMEMultipartfrom email.MIMEText import MIMETextmsg = MIMEMultipart()msg['From'] = 'from_addr'msg['To'] = 'to_addr'msg['Subject'] = 'monit
2017-06-18 14:11:00 246
原创 python 执行shell命令并将结果保存
方法1: 将shell执行的结果保存到字符串def run_cmd(cmd): result_str='' process = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) result_f = process.std
2017-06-17 12:58:52 13369
原创 caffe安装问题总结
1. 报错: fatal error: caffe/proto/caffe.pb.h: No such file or directory 解决办法:# In the directory you installed Caffe toprotoc src/caffe/proto/caffe.proto --cpp_out=.mkdir include/caffe/proto
2017-06-14 23:29:50 283
原创 python学习网站整理
最近刚开始学习python,整理一些不错的网站,方便后续查找复习1. python入门教程,上手较快:http://blog.csdn.net/hitlion2008/article/details/92857852. python格式化输出:http://www.cnblogs.com/plwang1990/p/3757549.html
2017-06-13 15:16:11 913
原创 nvcc编译器选项
1.指定编译阶段主要指定编译的阶段以及要编译的输入文件。-cuda -cubin -fatbin -ptx -gpu -E -c :最常使用,编译每个.c/.cc/.cpp/.cxx/.cu输入文件为object文件-dc -dw -dlink -link -lib :编译所有的输入文件为object文件,并且把结果添加到指定的library
2017-06-07 10:42:22 3921 1
转载 typedef定义函数指针
下面这篇博客讲解使用typedef定义函数指针,十分清晰。http://blog.csdn.net/qll125596718/article/details/6891881把上文中的例子记载下来,便于以后学习使用。例子1.char (*pFun)(int); char glFun(int a){ return (char)a;} void main(
2017-06-05 17:58:31 464
The Matrix Cookbook(Petersen and Pedersen)
2017-10-20
cuda8.0_cuda_c_programming_guide_2017version
2017-10-19
DeepLearning-MIT PRESS BOOK
2017-10-12
cuda编程——shane cook—英文原版
2017-10-12
vim配置文件及molokai.vim主题
2016-12-29
Computer Architecture: A Quantitative Approach(5th edition)
2016-09-04
高级体系结构:量化研究方法(第五版)中文版
2016-09-04
人工智能 一种现代的方法(第三版)答案(Stuart J. Russell, Peter Norvig著)
2016-05-02
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人