xwjabc / hed

A PyTorch reimplementation of Holistically-Nested Edge Detection
170 stars 42 forks source link

About the datasets #35

Open long123524 opened 3 years ago

long123524 commented 3 years ago

What should the composition of the data set folder look like? What does the .lst file do? Beginners ask for advice

xwjabc commented 3 years ago

You can refer to https://github.com/xwjabc/hed/blob/master/datasets.py#L19 Basically, in train_pair.lst, each line has an image path and its corresponding edge path. In test.lst, each line has an image path. The dataset folder structure can be arbitrary as long as the .lst files follow the above description.