Skip to content

Commit

Permalink
range doesn't return list anymore
Browse files Browse the repository at this point in the history
Code was written for python2
  • Loading branch information
aarorasimbulus authored May 31, 2018
1 parent 3d2f895 commit c15aedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/rnn/quickdraw/create_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _pick_output_shard():
tf.python_io.TFRecordWriter("%s-%05i-of-%05i" % (output_file, i,
output_shards)))

reading_order = range(len(file_handles)) * observations_per_class
reading_order = list(range(len(file_handles))) * observations_per_class
random.shuffle(reading_order)

for c in reading_order:
Expand Down

0 comments on commit c15aedf

Please sign in to comment.