DenseNet的使用

去年提出的DenseNet获得今年CVPR2017最佳论文

在github上已经发布了代码,在此贴一下链接:https://github.com/liuzhuang13/DenseNetCaffe


在readMe里面详细的讲了如何构建DenseNet的prototxt


0. Get the CIFAR data prepared following the [Caffe's official CIFAR tutorial](http://caffe.berkeleyvision.org/gathered/examples/cifar10.html).
1. make\_densenet.py contains the code to generate the network and solver prototxt file. First change the data path in function make\_net() and preprocessing mean file in function densenet() to your own path of corresponding data file.
2. By default make\_densenet.py generates a DenseNet with Depth L=40, Growth rate k=12 and Dropout=0.2. To experiment with different settings, change the code accordingly (see the comments in the code). Example prototxt files are already included. Use ```python densenet_make.py``` to generate new prototxt files.
3. Change the caffe path in train.sh. Then use ```sh train.sh``` to train a DenseNet.



1)先根据官网的cifar10使用,下载并且用cifar10的shell,具体见我另一篇博客:

http://blog.csdn.net/mdjxy63/article/details/76359262


2)运行make\_densenet.py文件,构造prototxt的train_test神经网络

3)运行train.sh,这里需要修改train.sh里面关于caffe_home的配置路径,才能进行训练

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值