Skip to content
Snippets Groups Projects
Commit 78e36f6d authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

fix example

parent ab60c9cc
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !18. Comments created here will be created in the context of that merge request.
......@@ -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