meteorshowers / RCF-pytorch

Richer Convolutional Features for Edge Detection model in pytorch CVPR2017
509 stars 145 forks source link

How to extract PASCAL and HED-BSDS and evaluate.py? #47

Open za13 opened 4 years ago

za13 commented 4 years ago

I created a data folder and placed the downloaded PASCAL and HED-BSDS tar.gz files in it. Then, I extracted them into folders PASCAL and HED-BSDS. I ran the train_RCF.py and then got errors about missing files, so I then created a new folder named HED-BSDS_PASCAL and placed the HED-BSDS and PASCAL folders in it

After running the training again, it says no such file or directory data/HED-BSDS_PASCAL/HED-BSDS/train/aug_gt_scale_0.5/90.0_1_0/143090.png

I see there is 143090.jpg in there instead. Do I have to change all the png to jpg in bsds_pascal_train_pair.lst?

Also, where is evaluate.py?