FPN
FPN copied to clipboard
训练时一些细节问题
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是怎么获得的,如果使用自己的数据集时,如何确定这个参数?
同问,224是网络初始化时的size?k0又起了什么作用呢?layer_index = np.floor(k0+np.log2(np.sqrt(s)/224))求大牛给详解一下