pkuCactus / BDCN

The code for the CVPR2019 paper Bi-Directional Cascade Network for Perceptual Edge Detection
MIT License
341 stars 71 forks source link

what's error? #18

Closed Ruilkyu closed 5 years ago

Ruilkyu commented 5 years ago

python train.py

FileNotFoundError: [Errno 2] No such file or directory: 'path_to/bsds500/HED-BSDS/train_pair.lst'

huberthomas commented 5 years ago

As far as I can remember you do have to download the training dataset from here: http://vcl.ucsd.edu/hed/HED-BSDS.tar (see https://github.com/s9xie/hed for more information) If you extract it you will find the train_pair.lst file which contains file correspondences between ground truth and rgb data. After that you do have to adapt the config file, e.g. see https://github.com/pkuCactus/BDCN/blob/master/cfg.py#L33 for the default setting.

Ruilkyu commented 5 years ago

Thank you very much!