From c42148b1b625c59f8a0e3e4ca714a308ab0da9f3 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Sun, 28 Jan 2018 11:48:24 +0100 Subject: [PATCH] Don't call database.annotations when annotating --- bob/bio/face/script/annotate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bob/bio/face/script/annotate.py b/bob/bio/face/script/annotate.py index b0c9a13a..02201b40 100644 --- a/bob/bio/face/script/annotate.py +++ b/bob/bio/face/script/annotate.py @@ -80,7 +80,7 @@ def annotate(database, annotator, output_dir, force, jobs, **kwargs): continue data = annotator.read_original_data( biofile, database.original_directory, database.original_extension) - annot = annotator(data, annotations=database.annotations(biofile)) + annot = annotator(data) create_directories_safe(dirname(outpath)) with open(outpath, 'w') as f: json.dump(annot, f, indent=1, allow_nan=False) -- GitLab