我正在阅读PyTorch教程,目前正在使用TensorBoard。 通过研究,我已经能够使其内联并通过另一个选项卡工作。 我的喜好是将其保留在另一个将自动更新的标签中。
以下描述的方法使用ngrok: https://medium.com/@iamsdt/using-tensorboard-in-google-colab-with-pytorch-458f9bb95212
但是,它不稳定,因为它会连接到许多连接然后掉线:
Too many connections! The tunnel session '1Z8HZHdl5gLd1xJVdx5Vqqpl9dW' has violated the rate-limit policy of 20 connections per minute by initiating 133 connections in the last 60 seconds. Please decrease your inbound connection volume or upgrade to a paid plan for additional capacity.
The error encountered was: ERR_NGROK_702
发生这种情况时,我必须重新启动整个内核并重新开始。非常令人沮丧。
这确实不是我想要的解决方案。 有人对此有解决方案吗?
我认为google将对此提供解决方案.....
答案 0 :(得分:1)
您可以通过将嵌入式Colab Tensorboard iFrame URL复制到另一个选项卡来简单地做到这一点。 See example here in a gif