yolov5 test.py BrokenPipeError: [Errno 32] Broken pipe问题解决
dataset.pybatch_size=min(batch_size,len(dataset))nw=min([os.cpu_count()//world_size,batch_sizeifbatch_size>1else0,workers])#numberofworkerssampler=torch.utils.data.distributed.DistributedSampler(datas