Skip to content

Richer Convolutional Features for Edge Detection model in pytorch

Notifications You must be signed in to change notification settings

LoveHRTF/RCF-pytorch

 
 

Repository files navigation

RCF-pytorch Improvements

2019 Spring ENGN 2560 Computer Vision Final Project

Group Members: Ziwei Chen, Yang Jiao, Yiming Li

This repository is highly based on Xuanyi Li's RCF PyTorch project. Thanks a lot!

Richer Convolutional Features for Edge Detection

Citation

The project relys on RCF. Please consider citing:

@article{RcfEdgePami2019, author = {Yun Liu and Ming-Ming Cheng and Xiaowei Hu and Jia-Wang Bian and Le Zhang and Xiang Bai and Jinhui Tang}, title = {Richer Convolutional Features for Edge Detection}, year = {2019}, journal= {IEEE Trans. Pattern Anal. Mach. Intell.}, volume={}, number={}, pages={}, doi = {}, }

@inproceedings{RCFEdgeCVPR2017, title={Richer Convolutional Features for Edge Detection}, author={Yun Liu and Ming-Ming Cheng, Xiaowei Hu and K Wang and X Bai}, booktitle={IEEE CVPR}, year={2017}, }

Installation

Install pytorch. The code is tested under 0.4.1 GPU version and Python 3.6 on Ubuntu 16.04. There are also some dependencies for a few Python libraries for data processing and visualizations like cv2 etc. It's highly recommended that you have access to GPUs.

Usage

Data Preparation

For dataset used in this project, please refer to data_organize.md

Training

To train a RCF model on BSDS500:

    python train_RCF.py

Or on Brown CCV:

    sbatch train.sh

Evaluation

We use BSDS-500 and its benchmark software for evalutaion.

Before evaluation, the non-maximum suppression must be perform. Refer to nms_pipeline for detailed instruction.

License

Our code is released under MIT License (see LICENSE file for details).

source:

Related Projects

[1] Richer Convolutional Features for Edge Detection

[2] HED

[3] HED created by zeakey's

About

Richer Convolutional Features for Edge Detection model in pytorch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.9%
  • MATLAB 10.1%
  • Shell 1.0%