错误在state_dict,之前写state.dict torch.save(model.state_dict(), os.path.join(model_save_path, f'text_cls_textCNN.pt'))