进行的工作
我是在利用solver.prototxt 和train_test.caffemodel进行微调校准模型精度
报错
之前quantize的时候,完全没问题,但是不知道为什么一直报错,说找不到这个layer里面的bottom,很郁闷
我的 solver.prototxt如下所示:
net: "quantize_results/quantize_train_test.prototxt"
test_iter: 100
test_interval: 500
base_lr: 0.0001
display: 20
max_iter: 200
lr_policy: "poly"
gamma: 0.1
momentum: 0.9
weight_decay: 0.0005
snapshot: 100
snapshot_prefix:"model/"
solver_mode: CPU
test_initialization: false
解决办法
后来经过很多的查证,发现原来只需要把solver.prototxt里面的test_iter和test_interval去掉就可以了。
可能是在训练的时候加入测试迭代数,可是网络文件里并没有测试网络。
所以导致一直报错。