Skip to content

Official pytorch reimplementation for "Semantic Line Detection and Its Applications"

License

Notifications You must be signed in to change notification settings

dongkwonjin/Semantic-Line-SLNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python 3.6

[ICCV 2017] Semantic Line Detection and Its Applications

Official pytorch reimplementation for "Semantic Line Detection and Its Applications" [paper]

Recent works can be found in here and here.

Requirements

  • PyTorch 1.3.1
  • CUDA 10.0
  • CuDNN 7.6.5
  • python 3.6

Installation

Create conda environment:

$ conda create -n SLNet python=3.6 anaconda
$ conda activate SLNet
$ pip install opencv-python==3.4.2.16
$ conda install pytorch==1.3.1 torchvision cudatoolkit=10.0 -c pytorch

Download repository:

$ git clone https://github.com/dongkwonjin/Semantic-Line-SLNet.git

Instruction

  1. Download SEL dataset and preprocessed data to root/. You can download the original dataset in here. We provide the preprocessed data to train and test the model in data and edge folder. You can generate these data using the source codes in Preprocessing/. We obtain the data in edge folder, by employing HED algorithm.

  2. Download our network parameters to root/ if you want to get the performance of the paper.

  3. Edit config.py. Please modify dataset_dir and paper_weight_dir.

  4. Run with

$ cd Semantic-Line-SLNet-master/(Modeling or Preprocessing)/code/
$ python main.py

Reference

@Inproceedings{
  Lee2017SLNet,
  title={Semantic Line Detection and Its Applications},
  author={Jun-Tae Lee, Han-Ul Kim, Chul Lee, and Chang-Su Kim},
  booktitle={ICCV},
  year={2017}
}

About

Official pytorch reimplementation for "Semantic Line Detection and Its Applications"

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages