Commit a5c96853 authored by Mirali Ahmadli's avatar Mirali Ahmadli
Browse files

Fixed tf.compat.v1 bug

parent 0effd158
......@@ -331,7 +331,7 @@ def shuffle_records(fname):
tmp_fname = fname + ".unshuffled"
tf.gfile.Rename(fname, tmp_fname)
reader = tf.compat.v1.io.tf_record_iterator(tmp_fname)
reader = tf.io.tf_record_iterator(tmp_fname)
records = []
for record in reader:
records.append(record)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment