Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save reconstruction + objective as part of callback #1

Open
ClaireDelplancke opened this issue Apr 13, 2022 · 0 comments
Open

Save reconstruction + objective as part of callback #1

ClaireDelplancke opened this issue Apr 13, 2022 · 0 comments
Assignees

Comments

@ClaireDelplancke
Copy link
Contributor

Currently the reconstruction and objective are saved after the algorithm ran:

    where_to_save = "/home/jovyan/Hackathon-000-Stochastic-Hydra/Hydra_Example/results"
    algorithm.solution.write('{}/{}'.format(where_to_save,'solution'))
    np.save('{}/{}'.format(where_to_save,'objective'),algorithm.objective)

https://github.com/TomographicImaging/Hackathon-000-Stochastic-Hydra/blob/wip_claire/Hydra_Example/coordinators/coordinator.py#L77-79

This should be part of the callback defined L72.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants