Remote-sensing-image-semantic-segmentation icon indicating copy to clipboard operation
Remote-sensing-image-semantic-segmentation copied to clipboard

请问网络层为什么要使用多个尺寸的label呢?

Open zhudaoruyi opened this issue 4 years ago • 1 comments

    out1 = Activation('softmax',name='l1')(Reshape((400 * 400, n_label))(R_out4))
    out2 = Activation('softmax',name='l2')(Reshape((200 * 200, n_label))(R_out3))
    out3 = Activation('softmax',name='l3')(Reshape((100 * 100, n_label))(R_out2))
    out4 = Activation('softmax',name='l4')(Reshape((50 * 50, n_label))(R_out1))

请问网络层为什么要使用多个尺寸的label呢? 另外,您在推理预测的时候,好像并没有使用到多尺寸的pred

                pred = model.predict(crop,verbose=2)
                pred = pred[0]
                pred = np.reshape(pred, (1, c.size_train[1] * c.size_train[0], c.n_label))
                pred = np.argmax(pred, axis=2)

zhudaoruyi avatar Aug 15 '19 14:08 zhudaoruyi

Multiple loss cascades for intermediate supervision

TachibanaYoshino avatar Aug 16 '19 02:08 TachibanaYoshino