bubbliiiing / faster-rcnn-pytorch

这是一个faster-rcnn的pytorch实现的库,可以利用voc数据集格式的数据进行训练。
MIT License
1.55k stars 353 forks source link

FPN implementation in ResNet50 #127

Open Shuvo001 opened 2 years ago

Shuvo001 commented 2 years ago

Hello sir, I tried to use FPN in ResNet50 model but i couldn't train my model yet. As i know if i want to use FPN i need to remove these two lines "" self.avgpool = nn.AdaptiveAvgPool2d((1, 1))"" ""self.fc = nn.Linear(512 * block.expansion, num_classes)"".

but if i remove them, i can't train the model. so could you please help me to solve this problem or suggest me any blogs!? thanks!

RY-97 commented 2 years ago

请问 你有在Faster RCNN 的主干后构建FPN 成功了吗?