Extended Robust-ADMM(Shaokai Ye et al.) implementation with additional supports to focus on the non-unform adversarial robust pruning:
We fork the code from Robustness-Aware-Pruning-ADMM and extend with following additional supports to focus on the non-unform adversarially robust pruning:
- Extend pruning on channel granularity in
./admm/admm.py
- Add reading function into every
configs.py
in./ADMM_examples
to fetch a strategy fromstrategies/$dataset$.json
- Apply non-uniform compression strategy via function
insert_nonuniform_strategy
in everyconfigs.py
from./ADMM_examples
. - Add Free-Adversarial-Training in
./ADMM_examples/imagenet/adv_main.py
for ImageNet experiments.