IntelLabs / MART

Modular Adversarial Robustness Toolkit
BSD 3-Clause "New" or "Revised" License
16 stars 0 forks source link

Skip object detection tests if pycocotools is not installed. #257

Closed mzweilin closed 2 months ago

mzweilin commented 2 months ago

What does this PR do?

This PR is a supplement to #255

Now we can pass or skip all tests locally with these installation options:

pip install -e .[core,developer] pip install -e .[core,vision,developer] pip install -e .[core,vision,objdet,developer]

Note that we install all dependency in CI so no test is skipped in CI.

Type of change

Please check all relevant options.

Testing

Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

Before submitting

Did you have fun?

Make sure you had fun coding 🙃