如果你希望提供一个默认的输入值,你可以使用 yes
命令。例如,提供一个空的默认值:
yes "" | nohup python train.py --config configs/r50_nuimg_704x256.py &
如果你想提供一个特定的名字,比如 "my_run":
echo "my_run" | nohup python train.py --config configs/r50_nuimg_704x256.py &
如果你希望提供一个默认的输入值,你可以使用 yes
命令。例如,提供一个空的默认值:
yes "" | nohup python train.py --config configs/r50_nuimg_704x256.py &
如果你想提供一个特定的名字,比如 "my_run":
echo "my_run" | nohup python train.py --config configs/r50_nuimg_704x256.py &