转载:划分训练集的之后,没有重置索引。machine learning - Pytorch: "KeyError: Caught KeyError in DataLoader worker process 0." - Stack Overflow