Created
July 12, 2020 20:11
-
-
Save ModMaamari/86f0339148252123d020df8d29f62cf8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fit on all samples as one batch, log only on terminal state | |
self.model.fit(x = np.array(X).reshape(-1, *env.ENVIRONMENT_SHAPE), | |
y = np.array(y), | |
batch_size = MINIBATCH_SIZE, verbose = 0, | |
shuffle=False, callbacks=[self.tensorboard] if terminal_state else None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment