diff --git a/bob/learn/tensorflow/script/db_to_tfrecords.py b/bob/learn/tensorflow/script/db_to_tfrecords.py index dc1cd120b6db31c0857415d44de7964bf722d53d..d69ddb43ca89da4e7680466de77f64535ae3f99a 100644 --- a/bob/learn/tensorflow/script/db_to_tfrecords.py +++ b/bob/learn/tensorflow/script/db_to_tfrecords.py @@ -62,7 +62,7 @@ An example for mnist would be:: An example for bob.bio.base would be:: from bob.bio.base.test.dummy.database import database - from bob.bio.base.test.dummy.preprocessor import preprocessor + from bob.bio.base.utils import read_original_data groups = 'dev' @@ -78,7 +78,7 @@ An example for bob.bio.base would be:: def reader(biofile): - data = preprocessor.read_original_data( + data = read_original_data( biofile, database.original_directory, database.original_extension) label = file_to_label(biofile) key = biofile.path