[Linux服务器 错误] RunTimeError: Cannot join current thread

在这里插入图片描述
关于线程的错误。
我的训练指令是nohup python train.py --config-yml configs/lf_disc_faster_rcnn_x101.yml --load-pthpath checkold/checkpoint_31.pth --validate --gpu-id 0 1 --cpu-workers 8 &

把cup-worker改成4个就可以了,原因应该是训练和测试同时的时候,都是8个 服务器没那么多

猜你喜欢

转载自blog.csdn.net/qq_45347185/article/details/107884536