Open lucasjinreal opened 3 years ago
detectron2/detectron2/modeling/backbone/fpn.py", line 142, in forward
prev_features = lateral_features + top_down_features
RuntimeError: The size of tensor a (50) must match the size of tensor b (100) at non-singleton dimension 3
with config:
BACKBONE:
NAME: "build_efficientnet_fpn_backbone"
EFFICIENTNET:
NAME: "efficientnet_b1"
# OUT_FEATURES: ["stride8", "stride16", "stride32"] # fpn produce 4 levels, only using 3 for now
OUT_FEATURES: ["stride4", "stride8", "stride16", "stride32"]
FPN:
# IN_FEATURES: ["stride8", "stride16", "stride32"]
IN_FEATURES: ["stride4", "stride8", "stride16", "stride32"]
OUT_CHANNELS: 64
REPEAT: 3
detectron2/detectron2/modeling/backbone/fpn.py", line 142, in forward prev_features = lateral_features + top_down_features RuntimeError: The size of tensor a (50) must match the size of tensor b (100) at non-singleton dimension 3
with config:
BACKBONE: NAME: "build_efficientnet_fpn_backbone" EFFICIENTNET: NAME: "efficientnet_b1" # OUT_FEATURES: ["stride8", "stride16", "stride32"] # fpn produce 4 levels, only using 3 for now OUT_FEATURES: ["stride4", "stride8", "stride16", "stride32"] FPN: # IN_FEATURES: ["stride8", "stride16", "stride32"] IN_FEATURES: ["stride4", "stride8", "stride16", "stride32"] OUT_CHANNELS: 64 REPEAT: 3
Hi @jinfagang, Have you solved the issue? I'm facing the same problem. Thanks!
Same here. Any solutions?
我也遇到了,请问解决了吗?
efficient output shape are:
this is impossible to run on FPN......