【发布时间】:2016-02-11 23:01:14
【问题描述】:
BVLC 和 Nvidia 的 caffe 中的 test_iter 变量是否与 cifar 示例代码中 tensorflow 的 NUM_EXAMPLES_PER_EPOCH_FOR_TRAIN 相同?如果没有,我在哪里可以设置 test_iter 和 test_interval(在 Caffe 中使用)?
【问题讨论】:
标签: tensorflow
BVLC 和 Nvidia 的 caffe 中的 test_iter 变量是否与 cifar 示例代码中 tensorflow 的 NUM_EXAMPLES_PER_EPOCH_FOR_TRAIN 相同?如果没有,我在哪里可以设置 test_iter 和 test_interval(在 Caffe 中使用)?
【问题讨论】:
标签: tensorflow
NUM_EXAMPLES_PER_EPOCH_FOR_TRAIN 常量表示training set for CIFAR-10 training 中的图像数量。
在 Caffe 中,test_iter 是要执行的评估迭代次数。
TensorFlow's CIFAR-10 eval 对完整的 10000 张图像进行评估,没有类似于 test_iter 的数量。
【讨论】:
cifar10_train.py,使其在每(例如)500 次训练迭代后调用 cifar10_eval.eval_once(),以模拟 Caffe 的 test_interval。