gathierry / FastFlow

Apache License 2.0
130 stars 22 forks source link

Error occurred during validation. #19

Closed leibaoer closed 1 year ago

leibaoer commented 1 year ago

image

leibaoer commented 1 year ago

There is no modification of the code in datasets.But there is no picture of _mask.png in the test folder.

gathierry commented 1 year ago

Do you really have the image data under this folder? As this is a Windows path, I'm not sure if it is recognized correctly by the program.

leibaoer commented 1 year ago

Make sure the data set is in good condition and can be trained, but the following shows that there is no mask picture in test. Shouldn't the mask picture be in groundtrue?

leibaoer commented 1 year ago

image

leibaoer commented 1 year ago

Thanks for your reply.

gathierry commented 1 year ago

Maybe this line doesn't work in your code? I never tested on Windows but that might be the reason https://github.com/gathierry/FastFlow/blob/37c99ae33b8db0e5cb534fd0d197b0bc44817a03/dataset.py#L44

longge-vision commented 1 year ago

You can modify the code to "image_file.replace("\test\", "\ground_truth\")" on windows