dlunion/DBFace

Ealuation error

Closed this issue · 0 comments

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'