|
|
|
@ -21,7 +21,7 @@ NUM_NON_STD = len(NON_STD_FILTERS)
|
|
|
|
|
if 'GITHUB_ACTIONS' in os.environ: # and 'Linux' in platform.system():
|
|
|
|
|
# GitHub Linux runner is slower and hits memory limits sooner than MacOS, exclude bigger models
|
|
|
|
|
EXCLUDE_FILTERS = [
|
|
|
|
|
'*efficientnet_l2*', '*resnext101_32x48d', '*in21k', '*152x4_bitm'
|
|
|
|
|
'*efficientnet_l2*', '*resnext101_32x48d', '*in21k', '*152x4_bitm',
|
|
|
|
|
'*nfnet_f3*', '*nfnet_f4*', '*nfnet_f5*', '*nfnet_f6*', '*nfnet_f7*'] + NON_STD_FILTERS
|
|
|
|
|
else:
|
|
|
|
|
EXCLUDE_FILTERS = NON_STD_FILTERS
|
|
|
|
@ -171,7 +171,7 @@ if 'GITHUB_ACTIONS' in os.environ: # and 'Linux' in platform.system():
|
|
|
|
|
EXCLUDE_FEAT_FILTERS += ['*resnext101_32x32d', '*resnext101_32x16d', 'resnetv2_101x1_bitm']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@pytest.mark.timeout(210)
|
|
|
|
|
@pytest.mark.timeout(120)
|
|
|
|
|
@pytest.mark.parametrize('model_name', list_models(exclude_filters=EXCLUDE_FILTERS + EXCLUDE_FEAT_FILTERS))
|
|
|
|
|
@pytest.mark.parametrize('batch_size', [1])
|
|
|
|
|
def test_model_forward_features(model_name, batch_size):
|
|
|
|
|