import from IPython.display instead of IPython.core.display
parent
576cec95d9
commit
8c255153cf
|
@ -2590,7 +2590,7 @@
|
|||
"\n",
|
||||
" output.serve_kernel_port_as_window(6006)\n",
|
||||
"else:\n",
|
||||
" from IPython.core.display import display, HTML\n",
|
||||
" from IPython.display import display, HTML\n",
|
||||
"\n",
|
||||
" display(HTML('<a href=\"http://localhost:6006/\">http://localhost:6006/</a>'))"
|
||||
]
|
||||
|
@ -2632,7 +2632,11 @@
|
|||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"You can share your TensorBoard logs with the world by uploading them to https://tensorboard.dev/. For this, you can run the `tensorboard dev upload` command, with the `--logdir` and `--one_shot` options, and optionally the `--name` and `--description` options. The first time, it will ask you to accept Google's Terms of Service, and to authenticate. This requires user input. Colab supports user input from shell commands, but the main other Jupyter environments do not, so for them we use a hackish workaround (alternatively, you could run the command in a terminal window, after you make sure to activate this project's conda environment and move to this notebook's directory)."
|
||||
"You can share your TensorBoard logs with the world by uploading them to https://tensorboard.dev/. For this, you can run the `tensorboard dev upload` command, with the `--logdir` and `--one_shot` options, and optionally the `--name` and `--description` options. The first time, it will ask you to accept Google's Terms of Service, and to authenticate.\n",
|
||||
"\n",
|
||||
"Notes:\n",
|
||||
"* Authenticating requires user input. Colab supports user input from shell commands, but the main other Jupyter environments do not, so for them we use a hackish workaround (alternatively, you could run the command in a terminal window, after you make sure to activate this project's conda environment and move to this notebook's directory).\n",
|
||||
"* If you get an authentication related error (such as *invalid_grant: Bad Request*), it's likely that your login session has expired. In this case, try running the command `tensorboard dev auth revoke` to logout, and try again."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue