TypeError: h5py objects cannot be pickled

TypeError: h5py objects cannot be pickled

确认不是文件出问题之后,将Dataloader加载时的num_workers,改为0即可。

你可能感兴趣的:(Python,Debug,python)