MILVLG / bottom-up-attention.pytorch

A PyTorch reimplementation of bottom-up-attention models
Apache License 2.0
294 stars 76 forks source link

RuntimeError: The size of tensor a (50) must match the size of tensor b (100) at non-singleton dimension 3 #114

Closed L-huaer closed 10 months ago

L-huaer commented 10 months ago

在进行可视化时,提示维度不同 File "d:\pycharm\fc\bottom-up-attention.pytorch-master\bua\caffe\modeling\backbone.py", line 274, in forward out += shortcut

L-huaer commented 10 months ago

使用d2后不在报错