Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

ML Engine: Improve logging #1390

Merged
merged 1 commit into from
Jan 22, 2019
Merged

Conversation

lgeiger
Copy link
Contributor

@lgeiger lgeiger commented Jan 21, 2019

This prints useful information on how to interact with the submitted job via the command line.

Example output:

INFO:tensorflow:Launched shake_shake_image_mnist_t2t_20190121_123909. See console to track: https://console.cloud.google.com/mlengine/jobs/.
INFO:tensorflow:Interact with the training job from the command line:
INFO:tensorflow:Abort job: gcloud ml-engine jobs cancel shake_shake_image_mnist_t2t_20190121_123909
INFO:tensorflow:Stream logs: gcloud ml-engine jobs stream-logs shake_shake_image_mnist_t2t_20190121_123909
INFO:tensorflow:Open tensorboard: tensorboard --logdir gs://lgeiger-test-bucket/training-test

This adds usefull commands on how to interact with the submitted job to the CLI.

Example output:
```shell
INFO:tensorflow:Launched shake_shake_image_mnist_t2t_20190121_123909. See console to track: https://console.cloud.google.com/mlengine/jobs/.
INFO:tensorflow:Interact with the training job from the command line:
INFO:tensorflow:Abort job: gcloud ml-engine jobs cancel shake_shake_image_mnist_t2t_20190121_123909
INFO:tensorflow:Stream logs: gcloud ml-engine jobs stream-logs shake_shake_image_mnist_t2t_20190121_123909
INFO:tensorflow:Open tensorboard: tensorboard --logdir gs://lgeiger-test-bucket/training-test
```
@googlebot googlebot added the cla: yes PR author has signed CLA label Jan 21, 2019
@afrozenator
Copy link
Contributor

Thanks again @lgeiger !

@afrozenator afrozenator merged commit f0fe631 into tensorflow:master Jan 22, 2019
tensorflow-copybara pushed a commit that referenced this pull request Jan 22, 2019
PiperOrigin-RevId: 230363031
@lgeiger lgeiger deleted the ml-engine-logs branch January 22, 2019 19:26
kpe pushed a commit to kpe/tensor2tensor that referenced this pull request Mar 2, 2019
This adds usefull commands on how to interact with the submitted job to the CLI.

Example output:
```shell
INFO:tensorflow:Launched shake_shake_image_mnist_t2t_20190121_123909. See console to track: https://console.cloud.google.com/mlengine/jobs/.
INFO:tensorflow:Interact with the training job from the command line:
INFO:tensorflow:Abort job: gcloud ml-engine jobs cancel shake_shake_image_mnist_t2t_20190121_123909
INFO:tensorflow:Stream logs: gcloud ml-engine jobs stream-logs shake_shake_image_mnist_t2t_20190121_123909
INFO:tensorflow:Open tensorboard: tensorboard --logdir gs://lgeiger-test-bucket/training-test
```
kpe pushed a commit to kpe/tensor2tensor that referenced this pull request Mar 2, 2019
PiperOrigin-RevId: 230363031
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has signed CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants