import pickle file_name = 'TSPI_model.sav' model = pickle.load(open(file_name,'rb'))