show_and_tell.tensorflow
show_and_tell.tensorflow copied to clipboard
Hi, a suggestion of shuffling data :)
Hi,
A suggestion of shuffling data in train():
index = np.arange(len(feats)) np.random.shuffle(index) feats = feats[index] captions = captions[index]
These lines should be executed every time after the epoch is finished.
Welcome to more discussion of tensorflow implementation!
Thank you for your suggestion! I should have put shuffling code.