caffe 问题汇总之resarting data prefetch from the start

来源:互联网 发布:组策略限制软件运行 编辑:程序博客网 时间:2024/06/01 07:13

自己在Ubuntu下生成了新的个性化数据集,利用自带的models/bvlc_googlenet来完成整个流程,数据集比较小,大概是在90多类,然后每类10~20张图片。训练的时候输出日志里面一直有:

Restaring data prefetch from the start.

平时没注意到这个输出,搜索一番,得到的是,每一个epoch的开始,caffe都会输出这个语句,表示整个数据都训练(?测试也是一样)完了一遍。
相关链接为:stackoverflow
github这个issue说可能是lmdb文件没有生成好,保存疑问
其中,caffe官方blog给出的解释是:

Prefetching: for throughput data layers fetch the next batch of data and prepare it in the background while the Net computes the current batch.