Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mart.nn.Get() to extract a value from the kwargs dict. (#251)
* Add batch_c15n for [0,1] image input and imagenet-normalized input. * Turn off inference mode before creating perturbations. * Switch to training mode before running LightningModule.training_step(). * Add utils for config instantiation. * Add mart.utils.Get() to extract a value from kwargs dict. * Comment * Clean up. * Move to mart.nn.Get(). * Add support to multi-level dicts.
- Loading branch information