please use torch.load with map_location=torch.device(‘cpu‘) to map your storages to the CPU.

NoSuchKey

猜你喜欢

转载自blog.csdn.net/qq_39691492/article/details/121120909