(self, cfg, in_chans=3, num_classes=1000, global_pool='avg', drop_rate=0.0,
feature_location='incre', out_indices=(0, 1, 2, 3, 4))
| 741 | """ |
| 742 | |
| 743 | def __init__(self, cfg, in_chans=3, num_classes=1000, global_pool='avg', drop_rate=0.0, |
| 744 | feature_location='incre', out_indices=(0, 1, 2, 3, 4)): |
| 745 | assert feature_location in ('incre', '') |
| 746 | super(HighResolutionNetFeatures, self).__init__( |
| 747 | cfg, in_chans=in_chans, num_classes=num_classes, global_pool=global_pool, |
| 748 | drop_rate=drop_rate, head=feature_location) |
| 749 | self.feature_info = FeatureInfo(self.feature_info, out_indices) |
| 750 | self._out_idx = {i for i in out_indices} |
| 751 | |
| 752 | def forward_features(self, x): |
| 753 | assert False, 'Not supported' |
nothing calls this directly
no test coverage detected