caffe中的solver.protxt的test_iter以及test_interval的区别
2017-07-17 14:10
316 查看
在读完http://www.cnblogs.com/denny402/p/5074049.html这个博客之后,又有了新的感悟:
这个要与test layer中的batch_size结合起来理解。mnist数据中测试样本总数为10000,一次性执行全部数据效率很低,因此我们将测试数据分成几个批次来执行,每个批次的数量就是batch_size。假设我们设置batch_size为100,则需要迭代100次才能将10000个数据全部执行完。因此test_iter设置为100。执行完一次全部数据,称之为一个epoch
测试间隔。也就是每训练500次,才进行一次测试。
-------------------------------以上就是test_iter与test_interval的区别,这两个内容总是混,现在清楚了-------------------------
test_iter: 100
这个要与test layer中的batch_size结合起来理解。mnist数据中测试样本总数为10000,一次性执行全部数据效率很低,因此我们将测试数据分成几个批次来执行,每个批次的数量就是batch_size。假设我们设置batch_size为100,则需要迭代100次才能将10000个数据全部执行完。因此test_iter设置为100。执行完一次全部数据,称之为一个epoch
test_interval: 500
测试间隔。也就是每训练500次,才进行一次测试。
-------------------------------以上就是test_iter与test_interval的区别,这两个内容总是混,现在清楚了-------------------------
相关文章推荐
- caffe的solver.prototxt下test_interval不同数值造成准确率的变化大
- Caffe部署中的几个train-test-solver-prototxt-deploy等说明<三>
- caffe搭建以及初步学习--win7-vs2013-gtx650tiboost-cuda8.0-cifar10训练和测试-2-快速解决方案cifar10_quick_solver.prototxt
- Caffe部署中的几个train-test-solver-prototxt-deploy等说明 (一)
- Caffe训练过程:test_iter test_interval等概念
- 【神经网络与深度学习】Caffe部署中的几个train-test-solver-prototxt-deploy等说明
- Caffe部署中的几个train-test-solver-prototxt-deploy等说明 (二)
- 【神经网络与深度学习】Caffe部署中的几个train-test-solver-prototxt-deploy等说明<二>
- 概念澄清:Caffe训练过程中的test_iter test_interval等概念
- Caffe训练过程:test_iter test_interval等概念
- Caffe部署中的几个train-test-solver-prototxt-deploy等说明 (一)
- Caffe训练过程:test_iter test_interval等概念
- caffe中mnist中 lenet_train_test.prototxt和lenet.prototxt(deploy文件)区别
- 关于solver文件中test_iter和test_interval设置问题
- Caffe部署中的几个train-test-solver-prototxt-deploy等说明<二>
- Caffe 中 solver.prototxt 和 train_test.prototxt 参数详解
- caffe的Solver介绍 以及 max_iter迭代的具体代码实现
- Caffe训练过程:test_iter test_interval等概念
- caffe搭建以及初步学习--win7-vs2013-gtx650tiboost-cuda8.0-cifar10训练和测试-2-完整解决方案cifar10_full_solver.prototxt
- Caffe部署中的几个train-test-solver-prototxt-deploy等说明<三>