dlunion / DBFace

DBFace is a real-time, single-stage detector for face detection, with faster speed and higher accuracy
1.35k stars 303 forks source link

Ealuation error #30

Closed colorjam closed 4 years ago

colorjam commented 4 years ago

Hi, thank you for your useful work. I run your eval.py and simply modify the data path, but I got the following error:

Traceback (most recent call last):  
File "eval.py", line 43, in <module>    
files, anns = zip(*common.load_webface("/home/v-chenqy/data/widerface/val/wider_val.txt", "/home/v-chenqy/data/widerface/val/images"))  
File "/home/v-chenqy/PyTorchFace/DBFace/train/small/common.py", line 470, in load_webface    facials.append([float(item) for item in line.split(" ")])  
File "/home/v-chenqy/PyTorchFace/DBFace/train/small/common.py", line 470, in <listcomp>    facials.append([float(item) for item in line.split(" ")])
ValueError: could not convert string to float: '/24--Soldier_Firing/24_Soldier_Firing_Soldier_Firing_24_329.jpg'