You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed the block to "BottleNeck" to change the backbone to a ResNet-50, and it worked, however I had to make the following modifications to some custom data LSTR scripts:
In the config/LSTR.json script I changed:
res_layers by those of ResNet-50 to [3, 4, 6, 3]
res_dims by those of ResNet-50 to [64, 128, 256, 512]
In the script models/py_utils/kp.py on line 151:
self.input_proj = nn.Conv2d(res_dims[-1], hidden_dim, kernel_size=1) # the same as channel of self.layer4
I changed the res_dims[-1] to 2048 which is the same as channel of self.layer4 for ResNet-50.
由Basicblock切换成Bottleneck运行模型报错
The text was updated successfully, but these errors were encountered: