Skip to content
Snippets Groups Projects
Commit 0c6cdd35 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI Committed by Tiago de Freitas Pereira
Browse files

fix example

parent 1fb310c4
No related branches found
No related tags found
1 merge request!18Monitored training
......@@ -39,12 +39,12 @@ Example configuration::
checkpoint_dir = 'avspoof-simple-cnn-train'
eval_dir = 'avspoof-simple-cnn-eval'
tfrecord_filenames = ['/path/to/dev.tfrecod']
tfrecord_filenames = ['/path/to/dev.tfrecods']
data_shape = (50, 1024, 1)
data_type = tf.float32
batch_size = 50
from bob.learn.tensorflow.utils.tfrecods import batch_data_and_labels
from bob.learn.tensorflow.utils.tfrecords import batch_data_and_labels
def get_data_and_labels():
return batch_data_and_labels(tfrecord_filenames, data_shape, data_type,
batch_size)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment