Skip to content
Snippets Groups Projects
Commit 5265c226 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

Merge branch 'livedet-iris-2020' into 'master'

[livdet-iris-2020] Fix category type in view

See merge request !25
parents 40d8fc18 beb18f4d
No related branches found
No related tags found
1 merge request!25[livdet-iris-2020] Fix category type in view
{
"description": "Livedet Iris 2020 test database",
"description": "LivDet Iris 2020 test database",
"environment": {
"name": "Example databases",
"version": "1.4.1"
......
......@@ -37,4 +37,4 @@ class Test(View):
elif output == "label":
return {"value": bool(obj.label)}
elif output == "category":
return {"value": int(obj.category)}
return {"value": np.cast["int32"](obj.category)}
Test set of the LivDet-Iris-2020 Competition
############################################
For more information, please see http://www.iris2020.livdet.org/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment