Last active
July 12, 2018 03:21
-
-
Save post2web/ed9846c135b035ae12b4cd965bfdd97f to your computer and use it in GitHub Desktop.
Start/stop tensorboad in a jupyter cell
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
!pip3 install datalab | |
from google.datalab.ml import TensorBoard | |
TensorBoard().start('./model_dir/') | |
for pid in TensorBoard.list()['pid']: | |
TensorBoard().stop(pid) | |
print('Stopped TensorBoard with pid {}'.format(pid)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment