Modified Aligned Xception-41
(pretrained=False, **kwargs)
| 181 | |
| 182 | @register_model |
| 183 | def xception41(pretrained=False, **kwargs): |
| 184 | """ Modified Aligned Xception-41 |
| 185 | """ |
| 186 | block_cfg = [ |
| 187 | # entry flow |
| 188 | dict(in_chs=64, out_chs=128, stride=2), |
| 189 | dict(in_chs=128, out_chs=256, stride=2), |
| 190 | dict(in_chs=256, out_chs=728, stride=2), |
| 191 | # middle flow |
| 192 | *([dict(in_chs=728, out_chs=728, stride=1)] * 8), |
| 193 | # exit flow |
| 194 | dict(in_chs=728, out_chs=(728, 1024, 1024), stride=2), |
| 195 | dict(in_chs=1024, out_chs=(1536, 1536, 2048), stride=1, no_skip=True, start_with_relu=False), |
| 196 | ] |
| 197 | model_args = dict(block_cfg=block_cfg, norm_layer=partial(nn.BatchNorm2d, eps=.001, momentum=.1), **kwargs) |
| 198 | return _xception('xception41', pretrained=pretrained, **model_args) |
| 199 | |
| 200 | |
| 201 | @register_model |
nothing calls this directly
no test coverage detected