qinnzou / DeepCrack

DeepCrack: Learning Hierarchical Convolutional Features for Crack Detection
253 stars 60 forks source link

test_example file #24

Closed dys-c closed 1 year ago

dys-c commented 2 years ago

i wanna know if the test_example.txt file also needs both bmg path and png path

qinnzou commented 1 year ago

You can modify the test codes with your own settings of the test image. The test codes need only the input image.

dys-c commented 1 year ago

But whether it is a training set or a test set, when reading data, it needs two parameters: img and lab like this: img = cv2.imread(item[0]) lab = cv2.imread(item[1]) when i just put the img path in the txt file,the item[1] is none. how can i solve ?