GPU server offline training model

1 Question source

        Recently, the Tencent Cloud GPU server was used to train the neural network model. Due to the recent instability of the campus network and the frequent disconnection of the network, the training of the model on the server stopped. Therefore, it is considered to let the server train the model offline.

2 solutions

        ① The code is in the form of a shell command:

nohup sh train.sh > out.log &

        ② The code is in .py file format:

nohup python train.py > out.log &

Guess you like

Origin blog.csdn.net/m0_59705760/article/details/129066792