vis.py 文件当中:test_prog = test_prog.clone(for_test=True)
Created by: warsing1
我在训练时设置batch_size=1, CPU_NUM=1。为何在利用vis.py画图或eval.py执行evaluation时,代码test_prog = test_prog.clone(for_test=True) 不加for_test=True得效果要比加入for_test=True参数得map要高很多;并且vis.py画预测图的效果也明显好很多?是因为batch_norm的缘故吗?难道不是设置batch_size=1,batch_norm就失效了吗? 求大神帮忙解答以下。