(self, input_channel, output_channel=512)
| 55 | """ FeatureExtractor of FAN (http://openaccess.thecvf.com/content_ICCV_2017/papers/Cheng_Focusing_Attention_Towards_ICCV_2017_paper.pdf) """ |
| 56 | |
| 57 | def __init__(self, input_channel, output_channel=512): |
| 58 | super(ResNet_FeatureExtractor, self).__init__() |
| 59 | self.ConvNet = ResNet(input_channel, output_channel, BasicBlock, [1, 2, 5, 3]) |
| 60 | |
| 61 | def forward(self, input): |
| 62 | return self.ConvNet(input) |