RuntimeError: DataLoader worker (pid(s) 28749) exited unexpectedly

DataLoader(test_data, batch_size=args.batch_size, shuffle=False, num_workers=4)
中的num_workers=4过大了

你可能感兴趣的:(python)