caffe 学习资源

来源:互联网 发布:喜夜网络娴主播 编辑:程序博客网 时间:2024/06/05 02:48

http://www.cnblogs.com/denny402/tag/caffe/

http://www.cnblogs.com/alexcai/tag/caffe/

caffe官网

http://caffe.berkeleyvision.org/tutorial/

https://my.oschina.net/yilian/blog/651348

绘制网络模型:

http://www.cnblogs.com/denny402/p/5106764.html安装GraphViz

# sudo apt-get install graphviz
# sudo pip install pydot

例:绘制Lenet模型

# sudo python python/draw_net.py examples/mnist/lenet_train_test.prototxt netImage/lenet.png --rankdir=BT
出现image问题,用下面命令解决。

pip install -U scikit-image

然后输入: 将其中的目录名字
netImage去掉。

# sudo python python/draw_net.py examples/mnist/lenet_train_test.prototxt lenet.png --rankdir=BT最后输出的网络图在当前目录的lenet.png中查看。运行caffe中的模型+weight的命令如下:./build/tools/caffe.bin test -model=examples/mnist/lenet_train_test.prototxt -weights=examples/mnist/lenet_iter_10000.caffemodel -gpu=0 如果没有gpu,就将gpu=0去掉
./build/tools/caffe.bin test 
-model=examples/mnist/lenet_train_test.prototxt
-weights=examples/mnist/lenet_iter_10000.caffemodel
-gpu=0

11:50

12:05




pip install -U scikit-image

13:15

13:44


# sudo pip install pydot

0 0