Open PhilipMay opened 5 years ago
complete_history = [] try: complete_history = joblib.load(filename) #evals_loaded_trials = len(trials.statuses()) #max_evals += evals_loaded_trials #print('{} evals loaded from trials file "{}".'.format(evals_loaded_trials, filename)) except FileNotFoundError: pass # do nothing complete_history.append(history.history) print('Saving history list of lenth {}.'.format(len(complete_history))) joblib.dump(complete_history, filename, compress=('gzip', 3))
done - doc is missing
Should change function name