diff --git a/MANIFEST.in b/MANIFEST.in index fe2d7a555e986f6df459e7ef2d6d2af86636b921..67e0aede86c9bb13d7bf1f3ae572c87c7bbf222d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,3 +2,4 @@ include README.rst bootstrap-buildout.py buildout.cfg develop.cfg version.txt re recursive-include doc *.py *.rst recursive-include bob *.txt *.hdf5 recursive-include bob *.sql3 +recursive-include bob/pad/base/test/data scores-* *.sql3 diff --git a/bob/pad/base/tools/preprocessor.py b/bob/pad/base/tools/preprocessor.py index c4576e485f1ffd2e4e17b30b02a84ffbb9468645..0db64a3bef411f6a7b119065c2704394a6cb074f 100644 --- a/bob/pad/base/tools/preprocessor.py +++ b/bob/pad/base/tools/preprocessor.py @@ -57,8 +57,6 @@ def preprocess(preprocessor, groups=None, indices=None, force=False): # get the file lists data_files, original_directory, original_extension = fs.original_data_list_files(groups=groups) preprocessed_data_files = fs.preprocessed_data_list(groups=groups) - print("len of data files: %s" %(str(len(data_files)))) - print("len of preprocessed data files (paths): %s" %(str(len(preprocessed_data_files)))) # select a subset of keys to iterate if indices is not None: diff --git a/bob/pad/base/tools/scoring.py b/bob/pad/base/tools/scoring.py index 40f3171e23b8e84930ac699120f95f5dbb8fbfad..f9c89335d5f542ba7d97197b116c6bd2389421f3 100644 --- a/bob/pad/base/tools/scoring.py +++ b/bob/pad/base/tools/scoring.py @@ -112,14 +112,11 @@ def _save_scores(score_file, scores, toscore_objects, write_compressed=False): for i, toscore_object in enumerate(toscore_objects): id_str = (str(toscore_object.client_id)).zfill(3) sample_name = str(toscore_object.make_path()) - print("i=%d, scores=%s" % (i, str(scores))) for score in scores[i]: if not toscore_object.attack_type or toscore_object.attack_type=="None": - print("- Scoring: %s, id: %s, real" %(sample_name, id_str)) _write(f, "%s %s %s %.12f\n" % (id_str, id_str, sample_name, score), write_compressed) else: attackname = toscore_object.attack_type - print("- Scoring: %s, id: %s, attack: %s" %(sample_name, id_str, attackname)) _write(f, "%s %s %s %.12f\n" % (id_str, attackname, sample_name, score), write_compressed) _close_written(score_file, f, write_compressed)