🌈 搜索
📅  最后修改于: 2022-03-11 14:45:14.204000             🧑  作者: Mango
torch.save(model.state_dict(), PATH) model.load_state_dict(torch.load(PATH))