报错
Error: mkl-service + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp.so.1 library.
Try to import numpy first or set the threading layer accordingly. Set MKL_SERVICE_FORCE_INTEL to force it.
subprocess.CalledProcessError: Command '['...envs/yolov8/bin/python3.10', '-m', 'torch.distributed.run', '--nproc_per_node', '2', '--master_port', '45139', '/.....Ultralytics/DDP/_temp_83be_rbe140309451601808.py']' returned non-zero exit status 1.
numpy版本问题,进行更新,以下这个版本训练无报错
pip install numpy==1.23.5
也可以自行尝试其它版本
其它版本可能冲突
ultralytics 8.2.74 requires numpy<2.0.0,>=1.23.0, but you have numpy 2.0.1 which is incompatible.
scipy 1.14.0 requires numpy<2.3,>=1.23.5, but you have numpy 1.23.0 which is incompatible.