Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Add Picke Code to tools #6

Open
PhilipMay opened this issue Jun 21, 2019 · 2 comments
Open

Add Picke Code to tools #6

PhilipMay opened this issue Jun 21, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@PhilipMay
Copy link
Owner

    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))
@PhilipMay PhilipMay added the enhancement New feature or request label Jun 21, 2019
@PhilipMay PhilipMay self-assigned this Jun 21, 2019
@PhilipMay
Copy link
Owner Author

done - doc is missing

@PhilipMay
Copy link
Owner Author

Should change function name

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant