Tensorboard:无法检索请求的 URL

Tensorboard: The requested URL could not be retrieved

我在 D:[=12=] 中保存了 tensorboard 摘要。我从 cmd 启动 tensorboard,将驱动器从 C 更改为 D,然后启动 tensorboard --logdir="D:[=16=]"。问题是,tensorboard 有时有效,有时我收到错误:

ERROR
The requested URL could not be retrieved
The following error was encountered while trying to retrieve the URL: http://nsv:6006/

Unable to determine IP address from host name nsv

The DNS server returned:

Name Error: The domain name does not exist.
This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.

Your cache administrator is webmaster.

有一次修复它,我更改了 computer name 重新启动了笔记本电脑并且它工作了。但我不想每次都这样做。有更简单的解决方案吗?

好的。这真的很愚蠢。这个错误的原因似乎是因为我连接到 VPN 来访问实验室服务器。一旦我断开与 VPN 的连接,tensorboard 就可以工作了。