diff --git a/bob/learn/tensorflow/script/eval_generic.py b/bob/learn/tensorflow/script/eval_generic.py
index b77bb96fde3358a50f33c826b0c5acd7d83ead49..e4eb7f3f0bf9e7c2a9a2aa2a8ad0fec6681eb673 100644
--- a/bob/learn/tensorflow/script/eval_generic.py
+++ b/bob/learn/tensorflow/script/eval_generic.py
@@ -39,8 +39,8 @@ Example configuration::
     import tensorflow as tf
     from bob.learn.tensorflow.utils.tfrecords import batch_data_and_labels
 
-    model_dir = "%(model_dir)s"
-    tfrecord_filenames = ['%(tfrecord_filenames)s']
+    model_dir = 'model_dir'
+    tfrecord_filenames = ['tfrecord_filenames']
     data_shape = (1, 112, 92)  # size of atnt images
     data_type = tf.uint8
     batch_size = 2
diff --git a/bob/learn/tensorflow/script/train_generic.py b/bob/learn/tensorflow/script/train_generic.py
index bd1f46dda5525b9d631ce96c7bb482479b78ad36..c543d9bd4615d154a82ba560c1a4e30d45267581 100644
--- a/bob/learn/tensorflow/script/train_generic.py
+++ b/bob/learn/tensorflow/script/train_generic.py
@@ -37,8 +37,8 @@ Example configuration::
     import tensorflow as tf
     from bob.learn.tensorflow.utils.tfrecords import shuffle_data_and_labels
 
-    model_dir = "%(model_dir)s"
-    tfrecord_filenames = ['%(tfrecord_filenames)s']
+    model_dir = 'model_dir'
+    tfrecord_filenames = ['tfrecord_filenames']
     data_shape = (1, 112, 92)  # size of atnt images
     data_type = tf.uint8
     batch_size = 2