运行yolov5训练数据集,报错:RuntimeError: CUDA error: out of memory CUDA kernel errors might be asynchronously
运行yolov5报错:RuntimeError:CUDAerror:outofmemoryCUDAkernelerrorsmightbeasynchronouslyreportedatsomeotherAPIcall,sothestacktracebelowmightbeincorrect.FordebuggingconsiderpassingCUDA_LAUNCH_BLOCKING=1.Comp