def sotreResults(results, v): # %% import pickle with open('test_results_'+v+'.pickle', 'w') as f: pickle.dump(results, f) # %% # Plot stored training statistics. Look for the best model