Closed SheffieldCao closed 2 years ago
Thank you for your attention. I apologize that I did not organize my code well. For your first question 1x1conv. It is actually not used at all because the residual block used here always has a stride=1. I just forgot to delete the unused code.
For your second question thenn.MultiheadAttention
, please use pytorch with a higher version. I will update the related requirements.
Thank you!
Could you please provide more environment details, because I saw that you used
nn.MultiheadAttention
inresnet_encoder.py
. But there is nonn.MultiheadAttention
in torch.nn in pytorch older than v1.1. It seems that you just copy the ⚙️ Setup part of monodepth2. 😂