Make more test models smaller (#25005)
* Make more test models tiny * Make more test models tiny * More models * More models
This commit is contained in:
@@ -49,7 +49,7 @@ class EfficientNetModelTester:
|
||||
num_channels=3,
|
||||
kernel_sizes=[3, 3, 5],
|
||||
in_channels=[32, 16, 24],
|
||||
out_channels=[16, 24, 40],
|
||||
out_channels=[16, 24, 20],
|
||||
strides=[1, 1, 2],
|
||||
num_block_repeats=[1, 1, 2],
|
||||
expand_ratios=[1, 6, 6],
|
||||
@@ -223,10 +223,6 @@ class EfficientNetModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.Test
|
||||
config_and_inputs = self.model_tester.prepare_config_and_inputs()
|
||||
self.model_tester.create_and_check_for_image_classification(*config_and_inputs)
|
||||
|
||||
@unittest.skip("Will be fixed soon by reducing the size of the model used for common tests.")
|
||||
def test_model_is_small(self):
|
||||
pass
|
||||
|
||||
@slow
|
||||
def test_model_from_pretrained(self):
|
||||
for model_name in EFFICIENTNET_PRETRAINED_MODEL_ARCHIVE_LIST[:1]:
|
||||
|
||||
Reference in New Issue
Block a user