From f5b5db4896f9e9866bd97662b393c5333eac83f9 Mon Sep 17 00:00:00 2001 From: Amy Roberts <22614925+amyeroberts@users.noreply.github.com> Date: Wed, 22 Nov 2023 16:14:13 +0000 Subject: [PATCH] Remove out-of-order logic --- tests/test_backbone_common.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/test_backbone_common.py b/tests/test_backbone_common.py index 1d2d96877c4a3d..634ea27d93029c 100644 --- a/tests/test_backbone_common.py +++ b/tests/test_backbone_common.py @@ -218,12 +218,6 @@ def test_backbone_stage_selection(self): self.assertIsInstance(outputs.feature_maps, tuple) self.assertTrue(len(outputs.feature_maps) == 2) - # Test out-of-order feature maps returned in passed-in order - config.out_indices = [2, 1] - backbone = backbone_class(config) - backbone.to(torch_device) - backbone.eval() - # Order of channels returned is same as order of channels iterating over stage names channels_from_stage_names = [ backbone.out_feature_channels[name] for name in backbone.stage_names if name in backbone.out_features