Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IndexError Traceback (most recent call last)
- <ipython-input-176-9c79921d5ccc> in <module>()
- 127 sess.run(reset_valid_op)
- 128 if __name__ == "__main__":
- --> 129 tf.app.run()
- 130
- 1 frames
- <ipython-input-176-9c79921d5ccc> in main(argv)
- 106 _, label_vals = sess.run((features_final, labels_final), feed_dict = {handle: heldout_handle})
- 107
- --> 108 heldout_lp = np.mean(np.log(mean_probs[np.arange(mean_probs.shape[0]), label_vals]))
- 109
- 110
- IndexError: arrays used as indices must be of integer (or boolean) type
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement