一、基本编程工具
- Bitvise SSH: Windows 超好用的SSH客户端,吕师兄推荐。
- Vim 编辑器入门: http://www.jianshu.com/p/bcbe916f97e1
- tmux 分屏:
- tmux入门指南 http://www.linuxidc.com/Linux/2015-07/119843.htm
- tmux常用命令与快捷键 http://www.111cn.net/sys/linux/59058.htm
二、环境配置
推荐先安装 Anaconda,再安装 caffe
1. Caffe
参照以下教程
- 官方 http://caffe.berkeleyvision.org/installation.html
- 中文 http://www.cnblogs.com/empty16/p/4793404.html
- 如果找不到cuda的某些文件,参照: 解决1和解决2
2. Anaconda: python 环境
- Linux(Ubuntu14.04)下安装Anaconda和Spyder http://blog.youkuaiyun.com/qq_26898461/article/details/51485491
- ubuntu下安装anaconda http://blog.youkuaiyun.com/zhdgk19871218/article/details/46502637
实际上就是一个命令
3. Conda
Anaconda 的 python 包管理工具
- 用conda管理Python包 http://blog.youkuaiyun.com/macer3/article/details/50357562
4. Tips
配置 ~/.bashrc 文件
# added by Anaconda2 4.2.0 installer
PATH="/home/ruoyu/anaconda2/bin:$PATH"
# set LD_LIBRARY_PATH
LD_LIBRARY_PATH="/usr/local/cuda-7.0/lib64:/home/ruoyu/caffe/distribute:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
# set LD_PRELOAD
LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libstdc++.so.6$LD_PRELOAD"
# set PYTHONPATH
PYTHONPATH="/home/ruoyu/caffe/distribute/python:$PYTHONPATH"
export PYTHONPATH
env variable export 后才能使用,感谢朱师兄。
三、Siamese network demo
1. Siamese network
- Caffe 官方 siamese tutorial http://caffe.berkeleyvision.org/gathered/examples/siamese.html
- Caffe 官方 MNIST tutorial(基础)http://caffe.berkeleyvision.org/gathered/examples/mnist.html
- 中文: caffe示例实现之8在MNIST数据上训练与测试siamese网络http://blog.youkuaiyun.com/liumaolincycle/article/details/48531503
2. 帮助你理解 prototxt 的一些东东
- Caffe Layers http://caffe.berkeleyvision.org/tutorial/layers.html
- Caffe 使用 step by step http://www.wosoni.com/cnblogs/empty16/p/4878164.html
- Caffe中的lr_policy http://blog.youkuaiyun.com/u013078356/article/details/50888153
- Caffe中的优化方法 http://blog.youkuaiyun.com/danieljianfeng/article/details/42931721
- Caffe做分类初步学习以及遇到的一些坑 http://www.aichengxu.com/view/3038576
- 用caffe训练cnn怎么调参?(知乎)https://www.zhihu.com/question/29901947?sort=created