Skip to content
Snippets Groups Projects
Commit 5e01381e authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

change test annotations format

parent 2cb6ae37
Branches
Tags
1 merge request!86Fix fit extra parameters
Pipeline #60505 passed
include README.rst buildout.cfg version.txt requirements.txt include README.rst buildout.cfg version.txt requirements.txt
recursive-include doc *.rst *.png *.ico *.txt recursive-include doc *.rst *.png *.ico *.txt
recursive-include bob *.csv *.json *.pgm *.pos recursive-include bob *.csv *.json *.pgm
{
"reye": [12, 10],
"leye": [120, 10]
}
10 12 10 120
{
"reye": [121, 101],
"leye": [1201, 101]
}
101 121 101 1201
...@@ -40,8 +40,8 @@ def test_annotations_loader(): ...@@ -40,8 +40,8 @@ def test_annotations_loader():
) )
annotation_loader = AnnotationsLoader( annotation_loader = AnnotationsLoader(
annotation_directory=path, annotation_directory=path,
annotation_extension=".pos", annotation_extension=".json",
annotation_type="eyecenter", annotation_type="json",
) )
sample_loader = make_pipeline(csv_sample_loader, annotation_loader) sample_loader = make_pipeline(csv_sample_loader, annotation_loader)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment