Skip to content

Commit

Permalink
tuple not list
Browse files Browse the repository at this point in the history
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
  • Loading branch information
Joao-L-S-Almeida committed Jan 8, 2025
1 parent bfbb78f commit 7a84698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_backbones.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def test_out_indices(model_name, input_224):
def test_out_indices_non_divisible(model_name, input_non_divisible):
out_indices = [2, 4, 8, 10]
backbone = timm.create_model(model_name, pretrained=False, features_only=True, num_frames=NUM_FRAMES, out_indices=out_indices, padding='constant')
assert backbone.feature_info.out_indices == out_indices
assert backbone.feature_info.out_indices == tuple(out_indices)

output = backbone(input_non_divisible)
full_output = backbone.forward_features(input_non_divisible)
Expand Down

0 comments on commit 7a84698

Please sign in to comment.