Keras implementation of PRNet accepted in ECCV 2020.
- python 2.7
- numpy 1.12.0
- Tensorflow 1.x
- keras 2.0.6
- OpenCV
- Get the code.
git clone https://github.com/sxlpris/PRNet.git
- Install the requirements.
pip install -r requirements.txt
-
Download the dataset CityPersons to folder '$PRNet/data/cityperson/'.
-
Download the initialized models ResNet-50 to folder '$PRNet/data/models/'.
-
Train.
run *train_prnet.py*
- Test.
run *test_prnet.py*
To help reproduce the results in our paper, we provide our model PRNet_city.hdf5 (password:imiq) trained on CityPersons.
The code of our work is based on the pipeline of "https://github.com/liuwei16/ALFNet". Thanks for the code and training protocol.