This repository is built for sharing the code for the manuscript "An improved feature pyramid network and metric learning approach for defect detection of rail surface".
The current research datasets can be downloaded at http://icn.bjtu.edu.cn/Visint/resources/RSDDs.aspx; The miniImageNet datasets at https://www.kaggle.com/datasets/arjunashok/miniimagenet.