Skip to content

Commit dd40613

Browse files
Temporarily removing the Swin tests
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
1 parent 1d8f0db commit dd40613

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_backbones.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def input_386():
2828
return torch.ones((1, NUM_CHANNELS, 386, 386))
2929

3030

31-
@pytest.mark.parametrize("model_name", ["prithvi_swin_90_us", "prithvi_vit_100", "prithvi_vit_300"])
31+
@pytest.mark.parametrize("model_name", ["prithvi_vit_100", "prithvi_vit_300"]) #["prithvi_swin_90_us", "prithvi_vit_100", "prithvi_vit_300"])
3232
@pytest.mark.parametrize("test_input", ["input_224", "input_512"])
3333
def test_can_create_backbones_from_timm(model_name, test_input, request):
3434
backbone = timm.create_model(model_name, pretrained=False)
@@ -50,6 +50,6 @@ def test_vit_models_accept_multitemporal(model_name, input_224_multitemporal):
5050
backbone(input_224_multitemporal)
5151

5252

53-
def test_swin_models_accept_non_divisible_by_patch_size(input_386):
54-
backbone = timm.create_model("prithvi_swin_90_us", pretrained=False, num_frames=NUM_FRAMES)
55-
backbone(input_386)
53+
#def test_swin_models_accept_non_divisible_by_patch_size(input_386):
54+
# backbone = timm.create_model("prithvi_swin_90_us", pretrained=False, num_frames=NUM_FRAMES)
55+
# backbone(input_386)

0 commit comments

Comments
 (0)