问题描述
每当我尝试使用此命令在 Visual Studio 代码中的 jupyter notebook 中运行 tensorboard 时,我都会收到消息 Launching TensorBoard...
.但是,Tensorboard 从未启动.有时我也会收到错误消息.
Whenever I try to run tensorboard in a jupyter notebook within visual studio code with this command tensorbard --logdir=runs
, I get the message Launching TensorBoard...
. However, Tensorboard never launches. Sometimes I also get an error message.
关于如何在 vscode 中启动 tensorboard 的任何想法?
Any ideas on how to launch tensorboard within vscode?
我也尝试运行稍微优化的命令
I also tried running slightly optimized commands
%load_ext tensorboard
%tensorboard --logdir runs
但这只会永远显示消息Launching Tensorboard...
.
but this only shows the message Launching Tensorboard...
eternally.
结果与
%reload_ext tensorboard
%tensorboard --logdir runs --host localhost --port 8888
是否有将张量板嵌入到单元输出中的张量板扩展?
Is there any tensorboard extension that embeds tensorboard into a cell output?
推荐答案
VS Code 和 Python 扩展现在在其最新版本中集成了 TensorBoard!
VS Code and the Python extension now has TensorBoard integrated in it in its latest release!
https://devblogs.microsoft.com/python/python-in-visual-studio-code-february-2021-release/
这篇关于如何在 vscode 中运行张量板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!