mirror of
https://github.com/huggingface/pytorch-image-models.git
synced 2025-06-03 15:01:08 +08:00
Add _in22k to bulk validate filter
This commit is contained in:
parent
af647c10b3
commit
a04427d8ce
@ -289,7 +289,7 @@ def main():
|
|||||||
if args.model == 'all':
|
if args.model == 'all':
|
||||||
# validate all models in a list of names with pretrained checkpoints
|
# validate all models in a list of names with pretrained checkpoints
|
||||||
args.pretrained = True
|
args.pretrained = True
|
||||||
model_names = list_models(pretrained=True, exclude_filters=['*in21k'])
|
model_names = list_models(pretrained=True, exclude_filters=['*_in21k', '*_in22k'])
|
||||||
model_cfgs = [(n, '') for n in model_names]
|
model_cfgs = [(n, '') for n in model_names]
|
||||||
elif not is_model(args.model):
|
elif not is_model(args.model):
|
||||||
# model name doesn't exist, try as wildcard filter
|
# model name doesn't exist, try as wildcard filter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user