IntelLabs / MART

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

Allow `LitModular`'s `load_state_dict` to accept a str #189

Closed dxoigmn closed 1 year ago

dxoigmn commented 1 year ago

What does this PR do?

This PR enables LitModular's load_state_dict to take a string that enables loading state_dict's for the internal model.

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 🙃