Mask RCNN with pytorch backend for pedestrian detection on Caltech dataset.
- ROI Align layer
- Better default configurations for ResNet18 training
- Support CityPersons
pip install pytorch==0.4.1
pip install torchvision
- tensorboardX for visualization
pip install tensorboardX==1.2
pip install tensorflow
- Compiling libs
cd ./libs
make
-
Download Caltech dateset
-
Add soft link to the /data folder
cd /data
ln -s /home/data/Caltech caltech
- Train the teacher model at first
sh exper/caltech/maskrcnn/train_test_resnet50_softmax.sh
- Then, train the student model
sh /exper/caltech/maskrcnn/train_test_resnet18_softmax.sh
- You may need to modify the .yaml file for your own training settings.
@inproceedings{chen2019learning,
title = {Learning Lightweight Pedestrian Detector with Hierarchical Knowledge Distillation},
author = {Chen, Rui and Ai, Haizhou and Shang, Chong and Chen, Long and Zhuang, Zijie},
booktitle = {IEEE International Conference on Image Processing (ICIP)},
year = {2019}
}