Created
December 16, 2020 17:35
-
-
Save Rub21/bb149ecebd171d16b3c5cca450134db7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import glob | |
import tensorflow as tf | |
save_path = 'tf_serving_warmup_requests' | |
tfrecords_path = glob.glob('*_human_activities_*.tfrecords') | |
dataset = tf.data.TFRecordDataset(tfrecords_path) | |
writer = tf.data.experimental.TFRecordWriter(save_path) | |
writer.write(dataset) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment