qinnzou/DeepCrack

test_example file

dys-c opened this issue · 2 comments

dys-c commented

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

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

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 ?