FBA_Matting icon indicating copy to clipboard operation
FBA_Matting copied to clipboard

Possible non-fatal issue in decoder

Open shkarupa-alex opened this issue 5 years ago • 1 comments

As far as i understand, here https://github.com/MarcoForte/FBA_Matting/blob/master/networks/models.py#L230 resnet backbone will return such feature maps: [original_image, conv_bn_relu out, layer1 out, layer2 out, layer3 out, layer4 out]

In the decoder https://github.com/MarcoForte/FBA_Matting/blob/master/networks/models.py#L350 you concatenate: (x, conv_out[-6][:, :3], img, two_chan_trimap).

But conv_out[-6][:, :3] is the same as img. Are you sure that image should be concatenated twice?

shkarupa-alex avatar Feb 03 '21 13:02 shkarupa-alex

Possibly the same issue https://github.com/MarcoForte/FBA_Matting/issues/49#issuecomment-1027875080

99991 avatar Feb 02 '22 12:02 99991