Created
September 18, 2018 09:37
-
-
Save araffin/de84eb6685284a9453c1e31842a41d77 to your computer and use it in GitHub Desktop.
Stable Baselines - Tensorboard integration for RL
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
tensorboard --logdir /tmp/a2c_cartpole_tensorboard/ |
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
from stable_baselines import A2C | |
model = A2C('MlpPolicy', 'CartPole-v1', verbose=1, tensorboard_log="/tmp/a2c_cartpole_tensorboard/") | |
model.learn(total_timesteps=50000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment