Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration with other libraries #167

Open
dxoigmn opened this issue Jun 13, 2023 · 1 comment
Open

Integration with other libraries #167

dxoigmn opened this issue Jun 13, 2023 · 1 comment
Assignees

Comments

@dxoigmn
Copy link
Contributor

dxoigmn commented Jun 13, 2023

Right now MART does two things:

  1. There is a "outer" training loop that more-or-less executes the standard training loop that takes a model and fits/finds some parameters.
  2. There is an "inner" attack (training) loop that takes the same model and an input (with optional targets) and fits a perturbation to the model-input pair. This perturbation can then be composed with the input.

It would be nice to be able to take the 2nd part (attack generation loop) and use it in other libraries like https://github.com/openvinotoolkit/anomalib.

@dxoigmn
Copy link
Contributor Author

dxoigmn commented Jun 14, 2023

It would be really interesting to see if one could use Adversary in an lightning Callback. That is, could we fit Adversary in Callback.on_train_batch_start. If we can, then we could make this callback a pip-installable package that would "automatically" enable adversarial training just by pip-installing that package. This is enabled via callback entry points.

@dxoigmn dxoigmn linked a pull request Jun 28, 2023 that will close this issue
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants