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

Function xception65

timm/models/xception_aligned.py:202–217  ·  view source on GitHub ↗

Modified Aligned Xception-65

(pretrained=False, **kwargs)

Source from the content-addressed store, hash-verified

200
201@register_model
202def xception65(pretrained=False, **kwargs):
203 """ Modified Aligned Xception-65
204 """
205 block_cfg = [
206 # entry flow
207 dict(in_chs=64, out_chs=128, stride=2),
208 dict(in_chs=128, out_chs=256, stride=2),
209 dict(in_chs=256, out_chs=728, stride=2),
210 # middle flow
211 *([dict(in_chs=728, out_chs=728, stride=1)] * 16),
212 # exit flow
213 dict(in_chs=728, out_chs=(728, 1024, 1024), stride=2),
214 dict(in_chs=1024, out_chs=(1536, 1536, 2048), stride=1, no_skip=True, start_with_relu=False),
215 ]
216 model_args = dict(block_cfg=block_cfg, norm_layer=partial(nn.BatchNorm2d, eps=.001, momentum=.1), **kwargs)
217 return _xception('xception65', pretrained=pretrained, **model_args)
218
219
220@register_model

Callers

nothing calls this directly

Calls 1

_xceptionFunction · 0.70

Tested by

no test coverage detected