You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have read the code completely and I appreciate your code style. So I want to know how to complete shuffling mini-batches in the code Because there exists no the function in your code ??
The text was updated successfully, but these errors were encountered:
xljhtq
changed the title
how to shuffle batches with the iteration?
how to shuffle batches with the iterator?
Jan 30, 2019
Good point, there is no shuffling. I invite you to look at my recent implementation that uses tf.data shuffle operation.
If you want to do shuffling on your own with this version of the code, the easier is to probably modify the minibatches function in model/data_utils.py. You would load the entire dataset into a list, shuffle this list (use google + stackoverflow) and then yield batches from this list.
Hi, I have read the code completely and I appreciate your code style. So I want to know how to complete shuffling mini-batches in the code Because there exists no the function in your code ??
The text was updated successfully, but these errors were encountered: