Pytorch implementation of "Learning Deep Features for Discriminative Localization"
B. Zhou, A. Khosla, A. Lapedriza, A. Oliva, and A. Torralba Learning Deep Features for Discriminative Localization. Computer Vision and Pattern Recognition (CVPR), 2016. [PDF][Project Page]
- Basic installation
- Data and Pretrain Model
- Demo
- Beyond the demo:Training and Testing
- Results of Action40 Dataset
Requirements for pytorch (see: pytorch installation instuctions)
- Action40 datasets
- Pretrain Models
After sucessfully completing Basic installation and Data and Pretrain Model, you will be ready to run the demo.
cd $CAM_ROOT
./demo.py
set train_flag = True in action40_config.py , then run train_action40.py.
set train_flag = False in action40_config.py , then run test_action40.py