理解代码
CUDA_VISIBLE_DEVICES=0 nohup python -u train.py --weight_path weight/yolov4.weights --gpu_id 0 > nohup.log 2>&1 &
上述代码是下面代码的特例
CUDA_VISIBLE_DEVICES=X nohup python -u 文件名.py --文件参数
理解代码
CUDA_VISIBLE_DEVICES=0 nohup python -u train.py --weight_path weight/yolov4.weights --gpu_id 0 > nohup.log 2>&1 &
上述代码是下面代码的特例
CUDA_VISIBLE_DEVICES=X nohup python -u 文件名.py --文件参数