MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / xception71

Function xception71

timm/models/xception_aligned.py:221–238  ·  view source on GitHub ↗

Modified Aligned Xception-71

(pretrained=False, **kwargs)

Source from the content-addressed store, hash-verified

219
220@register_model
221def xception71(pretrained=False, **kwargs):
222 """ Modified Aligned Xception-71
223 """
224 block_cfg = [
225 # entry flow
226 dict(in_chs=64, out_chs=128, stride=2),
227 dict(in_chs=128, out_chs=256, stride=1),
228 dict(in_chs=256, out_chs=256, stride=2),
229 dict(in_chs=256, out_chs=728, stride=1),
230 dict(in_chs=728, out_chs=728, stride=2),
231 # middle flow
232 *([dict(in_chs=728, out_chs=728, stride=1)] * 16),
233 # exit flow
234 dict(in_chs=728, out_chs=(728, 1024, 1024), stride=2),
235 dict(in_chs=1024, out_chs=(1536, 1536, 2048), stride=1, no_skip=True, start_with_relu=False),
236 ]
237 model_args = dict(block_cfg=block_cfg, norm_layer=partial(nn.BatchNorm2d, eps=.001, momentum=.1), **kwargs)
238 return _xception('xception71', pretrained=pretrained, **model_args)

Callers

nothing calls this directly

Calls 1

_xceptionFunction · 0.70

Tested by

no test coverage detected