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

Error loading pickle file with best hyperparameters #1021

Open
sujoyrc opened this issue Aug 2, 2024 · 0 comments
Open

Error loading pickle file with best hyperparameters #1021

sujoyrc opened this issue Aug 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sujoyrc
Copy link

sujoyrc commented Aug 2, 2024

Describe the bug

I have a few pickle files created last year / earlier this year which have a hyperparameters pickle file. I am getting an error with this

Failed for  results_splitwise_PVA_WristElbow_GR_SSR_4_1_singers_run_1.pkl  with  No module named 'keras_tuner.engine.hyperparameters.hyperparameters'

To Reproduce
Load a pickle file with keras hyperparameters. Some other pickle files generated later work

In [26]: [type(v) for k,v in temp['split1'].items()]
Out[26]: 
[keras_tuner.src.engine.hyperparameters.hyperparameters.HyperParameters,
 numpy.ndarray,
 numpy.float64,
 numpy.ndarray,
 numpy.float64,
 numpy.ndarray,
 numpy.float64,
 numpy.ndarray,
 numpy.float64]


Expected behavior
Load the model

Additional context

Would you like to help us fix it?
Is it a version issue. If so what is the version

@sujoyrc sujoyrc added the bug Something isn't working label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant