Skip to content

Commit a52856e

Browse files
MarkDaoustcopybara-github
authored andcommitted
Drop tensorboard.dev usage.
PiperOrigin-RevId: 515194153
1 parent 8451d31 commit a52856e

File tree

2 files changed

+19
-117
lines changed

2 files changed

+19
-117
lines changed

site/en/tutorials/generative/pix2pix.ipynb

Lines changed: 9 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,8 @@
11801180
"\n",
11811181
"If you work on a local machine, you would launch a separate TensorBoard process. When working in a notebook, launch the viewer before starting the training to monitor with TensorBoard.\n",
11821182
"\n",
1183-
"To launch the viewer paste the following into a code-cell:"
1183+
"Launch the TensorBoard viewer (Sorry, this doesn't\n",
1184+
"display on tensorflow.org):"
11841185
]
11851186
},
11861187
{
@@ -1198,72 +1199,30 @@
11981199
{
11991200
"cell_type": "markdown",
12001201
"metadata": {
1201-
"id": "Pe0-8Bzg22ox"
1202-
},
1203-
"source": [
1204-
"Finally, run the training loop:"
1205-
]
1206-
},
1207-
{
1208-
"cell_type": "code",
1209-
"execution_count": null,
1210-
"metadata": {
1211-
"id": "a1zZmKmvOH85"
1202+
"id": "fyjixlMlBybN"
12121203
},
1213-
"outputs": [],
12141204
"source": [
1215-
"fit(train_dataset, test_dataset, steps=40000)"
1205+
"You can view the [results of a previous run](https://tensorboard.dev/experiment/lZ0C6FONROaUMfjYkVyJqw) of this notebook on [TensorBoard.dev](https://tensorboard.dev/)."
12161206
]
12171207
},
12181208
{
12191209
"cell_type": "markdown",
12201210
"metadata": {
1221-
"id": "oeq9sByu86-B"
1222-
},
1223-
"source": [
1224-
"If you want to share the TensorBoard results _publicly_, you can upload the logs to [TensorBoard.dev](https://tensorboard.dev/) by copying the following into a code-cell.\n",
1225-
"\n",
1226-
"Note: This requires a Google account.\n",
1227-
"\n",
1228-
"```\n",
1229-
"!tensorboard dev upload --logdir {log_dir}\n",
1230-
"```"
1231-
]
1232-
},
1233-
{
1234-
"cell_type": "markdown",
1235-
"metadata": {
1236-
"id": "l-kT7WHRKz-E"
1237-
},
1238-
"source": [
1239-
"Caution: This command does not terminate. It's designed to continuously upload the results of long-running experiments. Once your data is uploaded you need to stop it using the \"interrupt execution\" option in your notebook tool."
1240-
]
1241-
},
1242-
{
1243-
"cell_type": "markdown",
1244-
"metadata": {
1245-
"id": "-lGhS_LfwQoL"
1211+
"id": "Pe0-8Bzg22ox"
12461212
},
12471213
"source": [
1248-
"You can view the [results of a previous run](https://tensorboard.dev/experiment/lZ0C6FONROaUMfjYkVyJqw) of this notebook on [TensorBoard.dev](https://tensorboard.dev/).\n",
1249-
"\n",
1250-
"[TensorBoard.dev](https://tensorboard.dev){:.external} is a managed experience for hosting, tracking, and sharing ML experiments with everyone.\n",
1251-
"\n",
1252-
"It can also included inline using an `<iframe>`:"
1214+
"Finally, run the training loop:"
12531215
]
12541216
},
12551217
{
12561218
"cell_type": "code",
12571219
"execution_count": null,
12581220
"metadata": {
1259-
"id": "8IS4c93guQ8E"
1221+
"id": "a1zZmKmvOH85"
12601222
},
12611223
"outputs": [],
12621224
"source": [
1263-
"display.IFrame(\n",
1264-
" src=\"https://tensorboard.dev/experiment/lZ0C6FONROaUMfjYkVyJqw\",\n",
1265-
" width=\"100%\",\n",
1266-
" height=\"1000px\")"
1225+
"fit(train_dataset, test_dataset, steps=40000)"
12671226
]
12681227
},
12691228
{
@@ -1339,8 +1298,8 @@
13391298
"metadata": {
13401299
"accelerator": "GPU",
13411300
"colab": {
1342-
"collapsed_sections": [],
13431301
"name": "pix2pix.ipynb",
1302+
"provenance": [],
13441303
"toc_visible": true
13451304
},
13461305
"kernelspec": {

site/en/tutorials/keras/overfit_and_underfit.ipynb

Lines changed: 10 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,8 @@
847847
"\n",
848848
"These models all wrote TensorBoard logs during training.\n",
849849
"\n",
850-
"Open an embedded TensorBoard viewer inside a notebook:"
850+
"Open an embedded TensorBoard viewer inside a notebook (Sorry, this doesn't\n",
851+
"display on tensorflow.org):"
851852
]
852853
},
853854
{
@@ -858,8 +859,6 @@
858859
},
859860
"outputs": [],
860861
"source": [
861-
"#docs_infra: no_execute\n",
862-
"\n",
863862
"# Load the TensorBoard notebook extension\n",
864863
"%load_ext tensorboard\n",
865864
"\n",
@@ -870,44 +869,10 @@
870869
{
871870
"cell_type": "markdown",
872871
"metadata": {
873-
"id": "fjqx3bywDPjf"
874-
},
875-
"source": [
876-
"You can view the [results of a previous run](https://tensorboard.dev/experiment/vW7jmmF9TmKmy3rbheMQpw/#scalars&_smoothingWeight=0.97) of this notebook on [TensorBoard.dev](https://tensorboard.dev/).\n",
877-
"\n",
878-
"TensorBoard.dev is a managed experience for hosting, tracking, and sharing ML experiments with everyone.\n",
879-
"\n",
880-
"It's also included in an `<iframe>` for convenience:"
881-
]
882-
},
883-
{
884-
"cell_type": "code",
885-
"execution_count": null,
886-
"metadata": {
887-
"id": "dX5fcgrADwym"
888-
},
889-
"outputs": [],
890-
"source": [
891-
"display.IFrame(\n",
892-
" src=\"https://tensorboard.dev/experiment/vW7jmmF9TmKmy3rbheMQpw/#scalars&_smoothingWeight=0.97\",\n",
893-
" width=\"100%\", height=\"800px\")"
894-
]
895-
},
896-
{
897-
"cell_type": "markdown",
898-
"metadata": {
899-
"id": "RDQDBKYZBXF_"
872+
"id": "HkIIzE5rBBY_"
900873
},
901874
"source": [
902-
"If you want to share TensorBoard results you can upload the logs to [TensorBoard.dev](https://tensorboard.dev/) by copying the following into a code-cell.\n",
903-
"\n",
904-
"Note: This step requires a Google account.\n",
905-
"\n",
906-
"```\n",
907-
"!tensorboard dev upload --logdir {logdir}/sizes\n",
908-
"```\n",
909-
"\n",
910-
"Caution: This command does not terminate. It's designed to continuously upload the results of long-running experiments. Once your data is uploaded you need to stop it using the \"interrupt execution\" option in your notebook tool."
875+
"You can view the [results of a previous run](https://tensorboard.dev/experiment/vW7jmmF9TmKmy3rbheMQpw/#scalars&_smoothingWeight=0.97) of this notebook on [TensorBoard.dev](https://tensorboard.dev/)."
911876
]
912877
},
913878
{
@@ -1208,49 +1173,27 @@
12081173
"\n",
12091174
"These models also recorded TensorBoard logs.\n",
12101175
"\n",
1211-
"To open an embedded tensorboard viewer inside a notebook, copy the following into a code-cell:\n",
1212-
"\n",
1213-
"```\n",
1214-
"%tensorboard --logdir {logdir}/regularizers\n",
1215-
"```"
1216-
]
1217-
},
1218-
{
1219-
"cell_type": "markdown",
1220-
"metadata": {
1221-
"id": "KX3Voac-FEO4"
1222-
},
1223-
"source": [
1224-
"You can view the [results of a previous run](https://tensorboard.dev/experiment/fGInKDo8TXes1z7HQku9mw/#scalars&_smoothingWeight=0.97) of this notebook on [TensorBoard.dev](https://tensorboard.dev/).\n",
1225-
"\n",
1226-
"It's also included in an `<iframe>` for convenience:"
1176+
"To open an embedded run the following into a code-cell (Sorry, this doesn't display on tensorflow.org):"
12271177
]
12281178
},
12291179
{
12301180
"cell_type": "code",
12311181
"execution_count": null,
12321182
"metadata": {
1233-
"id": "doMtyYoqFEO5"
1183+
"id": "Op4vLqVWBK_y"
12341184
},
12351185
"outputs": [],
12361186
"source": [
1237-
"display.IFrame(\n",
1238-
" src=\"https://tensorboard.dev/experiment/fGInKDo8TXes1z7HQku9mw/#scalars&_smoothingWeight=0.97\",\n",
1239-
" width = \"100%\",\n",
1240-
" height=\"800px\")\n"
1187+
"%tensorboard --logdir {logdir}/regularizers"
12411188
]
12421189
},
12431190
{
12441191
"cell_type": "markdown",
12451192
"metadata": {
1246-
"id": "mds5RXGjIcSu"
1193+
"id": "_rx5b294BXBd"
12471194
},
12481195
"source": [
1249-
"This was uploaded with:\n",
1250-
"\n",
1251-
"```\n",
1252-
"!tensorboard dev upload --logdir {logdir}/regularizers\n",
1253-
"```"
1196+
"You can view the [results of a previous run](https://tensorboard.dev/experiment/vW7jmmF9TmKmy3rbheMQpw/#scalars&_smoothingWeight=0.97) of this notebook on [TensorBoard.dev](https://tensorboard.dev/)."
12541197
]
12551198
},
12561199
{
@@ -1287,8 +1230,8 @@
12871230
"metadata": {
12881231
"accelerator": "GPU",
12891232
"colab": {
1290-
"collapsed_sections": [],
12911233
"name": "overfit_and_underfit.ipynb",
1234+
"provenance": [],
12921235
"toc_visible": true
12931236
},
12941237
"kernelspec": {

0 commit comments

Comments
 (0)