This is a easy used CornerNet (https://github.com/princeton-vl/CornerNet) project.
In the original project, author use factory model to create CornerNet model and read data by his own wheel. That is not easy for others' understand. So I simplify this project, and use pytorch's dataset and dataloader.
You need to compile the C++ implementation of corner pooling layers.
cd <CornerNet_easy_use dir>/models/py_utils/_cpools/
python setup.py install --user
You also need to compile the NMS code (originally from Faster R-CNN and Soft-NMS).
cd <CornerNet_easy_use dir>/external
make
train.py
is a sample code for train voc, I usetensorboardX
to show training infotest.py
is sample code for test you images, it will draw rect on the image