Skip to content

Commit

Permalink
numpy < 2 for onnx
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug committed Aug 10, 2024
1 parent e0b11b2 commit d1e6abf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
echo '::endgroup::'
echo '::group::Install testing utilities'
pip install --progress-bar=off pytest
pip install --progress-bar=off pytest "numpy<2"
echo '::endgroup::'
echo '::group::Run ONNX tests'
Expand Down
1 change: 0 additions & 1 deletion test/test_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ def get_test_images(self) -> Tuple[List[torch.Tensor], List[torch.Tensor]]:
[self.get_image("fakedata/logos/rgb_pytorch.png", (250, 380))],
)

@pytest.mark.skip("Too long on CPU")
def test_faster_rcnn(self):
images, test_images = self.get_test_images()
dummy_image = [torch.ones(3, 100, 100) * 0.3]
Expand Down

0 comments on commit d1e6abf

Please sign in to comment.