We initialize our model by the ImageNet pre-trained model. For new parameters, they are randomly initialized. The input images are resized to
install pytorch 1.6.0, python 3.7, cuda 10.1, cudnn7.6.3 and any necessary python package that is required.
Use the following order to run the training code in a default setting.
"sh main.sh"
Or revise the hyper-parameters (batch size, learning rate) in config.py if needed and then run "sh main.sh".
The code is revised based on source code provided by (see "https://github.com/zxhuang1698/interpretability-by-parts"). We sincerely thank their contribution.
Xiaohan Yu, yuxiaohan112@gmail.com
The code is being organized and will be released soon.