You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, nohup can be tricky to deal with when running python programs requiring input arguments. To run the training with nohup, I will suggest the following way:
Wrap the environment variables and command inside a shell script named train.sh:
#!/bin/bash
export nnUNet_n_proc_DA=0
export CUDA_VISIBLE_DEVICES=0
nnUNetv2_train 703 2d all -tr nnUNetTrainerUMambaEnc -device cuda
Save the shell script and run it using nohup: nohup bash train.sh > train_log.txt 2>&1
Could you please try this and let us know if it still doesn't run in the background?
When I use nohup for training, it doesn't run
The text was updated successfully, but these errors were encountered: