Skip to content

Commit

Permalink
has_attentions to yolo and msn
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Ehrhardt committed Apr 29, 2024
1 parent 3381fa1 commit 14d055d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/models/vit_msn/test_modeling_vit_msn.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ class ViTMSNModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
test_torchscript = False
test_resize_embeddings = False
test_head_masking = False
has_attentions = False

def setUp(self):
self.model_tester = ViTMSNModelTester(self)
Expand Down
1 change: 1 addition & 0 deletions tests/models/yolos/test_modeling_yolos.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ class YolosModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
test_resize_embeddings = False
test_head_masking = False
test_torchscript = False
has_attentions = False

# special case for head model
def _prepare_for_class(self, inputs_dict, model_class, return_labels=False):
Expand Down

0 comments on commit 14d055d

Please sign in to comment.