NaChuaN666 / UP-CrackNet

released code for "UP-CrackNet: Unsupervised Pixel-Wise Road Crack Detection via Adversarial Image Restoration"
8 stars 1 forks source link

how to test the model #1

Open N0ah10f1 opened 3 months ago

N0ah10f1 commented 3 months ago

Thanks for sharing the code. But when I run test.py, an error occurs, File "/Road_Damage_Detection/UP-CrackNet/test.py", line 60, in for i, (input, target, label, input_name) in enumerate(test_data_loader): ValueError: not enough values to unpack (expected 4, got 3)

how to fix this?

NaChuaN666 commented 3 months ago

Sorry for that. I have updated the project. Hope now you can run test.py.