Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in face detection code while testing over WIDER_val dataset #107

Open
CodexForster opened this issue Mar 24, 2021 · 0 comments
Open

Comments

@CodexForster
Copy link

I tried to evaluate the saved model on the WIDER_val dataset. I have downloaded the dataset from the official website and placed the folder in the data_provider_farm and changed the required paths in evaluation_on_widerface.py (line 27). But when I run the same python file, I get the following error:

Traceback (most recent call last):
File "evaluation_on_widerface.py", line 57, in
fout.write('%d %d %d %d %.03f' % (math.floor(bbox[0]), math.floor(bbox[1]), math.ceil(bbox[2] - bbox[0]), math.ceil(bbox[3] - bbox[1]), bbox[4] if bbox[4] <= 1 else 1) + '\n')
TypeError: must be real number, not tuple

What am I doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant