question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parameter profiles to hdf5

See original GitHub issue

At the moment I’m saving the parameter estimation results and corresponding problem to hdf5. This helps to recall the waterfall and parameter plot. However I noticed that it isn’t possible to save enough data to recall the parameter profiles plot. Would it be possible to get this implemented?

This is the error I get after reading the saved data and trying to get the three plots:

Traceback (most recent call last):

  File "/home/maartje/Documents/Helmholtz_ICB/mainICB.py", line 313, in <module>
    result1 = pypesto.parameter_profile(problem=problem,result=result,optimizer=optimizer)#,profile_options=profile_options)

  File "/home/maartje/anaconda3/envs/envICB/lib/python3.8/site-packages/pypesto/profile/profile.py", line 147, in parameter_profile
    profile_index = np.ones(problem.dim_full)

AttributeError: 'Result' object has no attribute 'dim_full'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mhhoogcommented, May 14, 2020

Writing this out I see the bug in problem = hdf_result.read()

0reactions
yannikschaeltecommented, Jun 18, 2020

This problem here should be resolved. Profiles cannot yet be saved to hdf5, that is handled in #410

Read more comments on GitHub >

github_iconTop Results From Across the Web

Profiling Using HDF5 User Guide - Slurm Workload Manager
These parameters are directly used by the HDF5 Profile Plugin. ProfileHDF5Dir=<path>: This parameter is the path to the shared folder into ...
Read more >
Density profile from HDF5 · Issue #3514 - GitHub
Hi,. There is a few lines in density.param to load the profile from HDF5 file. This is in #261. I have questions regarding...
Read more >
Easy Analysis of HDF5 Datasets - LinkedIn
In order to configure Drill to query HDF5 files, you will first have to set the following variables in the configuration for your...
Read more >
Best way to save parameters in data? - Google Groups
Hello all,. So, I'm aware that you can save field data pretty simply, but I'm wondering what the best way is to save...
Read more >
User-Defined functions for HDF5 — HDF5-UDF 2.1 ...
HDF5 -UDF is a mechanism to generate HDF5 dataset values on-the-fly using user-defined functions (UDFs). The platform supports UDFs written in Python, C++,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found