在 VS Code 远程服务器连接上训练模型时如何编码和 运行 行?
How to code and run lines while training a model on VS Code remote server connection?
当我正在训练一个模型并且解释器很忙时,有没有一种方法可以 运行 另一个文件在新的 window 或其他东西上。
I'm training a model here and the interpreter is busy
我想在服务器忙于训练我的模型时在 commandline/python 解释器上编写代码和测试东西。
谢谢,
钟
其他图片:
Trying to run 'import time' from the editor as training the model and the command is queued to the already-busy terminal instead of the split one
您只需单击终端面板右上角的 +
标志即可打开一个新终端。这将打开另一个终端,您可以使用它来执行 运行 命令。
如果您想将它们并排放置,可以单击 +
符号旁边的 split terminal
符号以打开当前 运行ning 终端旁边的另一个终端也是。
VSC 指南中有更多相关内容here
当您使用 Shift+Enter
快捷方式执行 Run Selection/Line in Terminal
命令时。
VSCode 将创建一个名为 Python
的终端来执行来自 Run Selection/Line in Terminal
命令的所有命令。
如果你想避开它。您需要创建一个新终端并手动执行 python 文件而不是快捷命令。
当我正在训练一个模型并且解释器很忙时,有没有一种方法可以 运行 另一个文件在新的 window 或其他东西上。
I'm training a model here and the interpreter is busy
我想在服务器忙于训练我的模型时在 commandline/python 解释器上编写代码和测试东西。
谢谢, 钟
其他图片: Trying to run 'import time' from the editor as training the model and the command is queued to the already-busy terminal instead of the split one
您只需单击终端面板右上角的 +
标志即可打开一个新终端。这将打开另一个终端,您可以使用它来执行 运行 命令。
如果您想将它们并排放置,可以单击 +
符号旁边的 split terminal
符号以打开当前 运行ning 终端旁边的另一个终端也是。
VSC 指南中有更多相关内容here
当您使用 Shift+Enter
快捷方式执行 Run Selection/Line in Terminal
命令时。
VSCode 将创建一个名为 Python
的终端来执行来自 Run Selection/Line in Terminal
命令的所有命令。
如果你想避开它。您需要创建一个新终端并手动执行 python 文件而不是快捷命令。