FPN icon indicating copy to clipboard operation
FPN copied to clipboard

训练时一些细节问题

Open zq130320339 opened this issue 7 years ago • 1 comments

if sample_type == 'fpn': #print 0 w = (rois[:,3]-rois[:,1]) h = (rois[:,4]-rois[:,2]) s = w * h s[s<=0]=1e-6 layer_index = np.floor(k0+np.log2(np.sqrt(s)/224))

    layer_index[layer_index<2]=2

layer_index[layer_index>5]=5

这里的224是怎么获得的,如果使用自己的数据集时,如何确定这个参数?

zq130320339 avatar Jul 23 '18 06:07 zq130320339

同问,224是网络初始化时的size?k0又起了什么作用呢?layer_index = np.floor(k0+np.log2(np.sqrt(s)/224))求大牛给详解一下

Arthur77Wang avatar Mar 07 '19 08:03 Arthur77Wang