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

Function auto_augment_policy

timm/data/auto_augment.py:497–508  ·  view source on GitHub ↗
(name='v0', hparams=None)

Source from the content-addressed store, hash-verified

495
496
497def auto_augment_policy(name='v0', hparams=None):
498 hparams = hparams or _HPARAMS_DEFAULT
499 if name == 'original':
500 return auto_augment_policy_original(hparams)
501 elif name == 'originalr':
502 return auto_augment_policy_originalr(hparams)
503 elif name == 'v0':
504 return auto_augment_policy_v0(hparams)
505 elif name == 'v0r':
506 return auto_augment_policy_v0r(hparams)
507 else:
508 assert False, 'Unknown AA policy (%s)' % name
509
510
511class AutoAugment:

Callers 1

auto_augment_transformFunction · 0.85

Calls 4

auto_augment_policy_v0Function · 0.85
auto_augment_policy_v0rFunction · 0.85

Tested by

no test coverage detected