✅ [Pass] modified output index
Browse files- tests/model/test_yolo.py +1 -1
tests/model/test_yolo.py
CHANGED
@@ -33,7 +33,7 @@ def test_yolo_forward_output_shape():
|
|
33 |
|
34 |
# Forward pass through the model
|
35 |
output = model(dummy_input)
|
36 |
-
output_shape = [x.shape for x in output[
|
37 |
assert output_shape == [
|
38 |
torch.Size([2, 3, 20, 20, 85]),
|
39 |
torch.Size([2, 3, 80, 80, 85]),
|
|
|
33 |
|
34 |
# Forward pass through the model
|
35 |
output = model(dummy_input)
|
36 |
+
output_shape = [x.shape for x in output[-1]]
|
37 |
assert output_shape == [
|
38 |
torch.Size([2, 3, 20, 20, 85]),
|
39 |
torch.Size([2, 3, 80, 80, 85]),
|