IntelLabs / MART

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

Make dependencies flexible with optional groups #254

Closed mzweilin closed 2 months ago

mzweilin commented 2 months ago

What does this PR do?

This PR moves many required dependencies to the optional "core" and "vision" group, which allows users to manage the dependency manually when integrating MART into their existing projects.

In the future, we should move vision-related dependencies from "core" to "vision", because users who only want to work on audio adversarial examples should not need to install vision components.

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 🙃