-
Notifications
You must be signed in to change notification settings - Fork 395
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
TypeError when sorting candidates during Hyperband search #33
Comments
Also facing the same issue using a different dataset. @floscha Were you able to find a solution to this problem as yet? Random Search works fine also for me. |
Hey @SivamPillai. Unfortunately, I couldn't find the time yet to look deep enough into the code to see where the error lies. But since I'm apparently not the only one with this problem, I'll see what I can do within the next couple of days, unless of course, @jhfjhfj1 does so as he's certainly more familiar with the codebase. |
I don't know the exact reason why
|
How I found a possible fixI got it working, by using some monkey-patching in the runtime. I had to redefine the _select_candidates function inside a HyperbandOracle instance used by the tuner.
The suggested changeRight now, I think we can get it fixed by:
What do you think? |
facing the same issue |
This fixed it for me. Thanks. |
I have this issue as well and this fix appears to work for me. |
Same |
While the "fix" makes the code run, can anyone confirm that it actually works? When debugging the |
I'm not sure if I get that. Code runs and 'best model' metrics (val loss, etc.) seem correct. I have never used Hyperband before. My "bandit problem" is defined in a very big space, so I could not tell the difference between random search and this. For the record, I saw that one specific model was evaluated twice (and I'm not talking about variance-reducing repetition). |
This should be fixed by: #115 Note that there was a rewrite to the
API Changes:
Closing this issue since the error should now be outdated, but if anyone runs into errors with the new implementation please open a new issue. Thanks! |
The following simple toy example fails with the error message shown below. When using the
RandomSearch
tuner instead, everything works as expected.The code was run with Python 3.6.6 and the following relevant libraries:
The text was updated successfully, but these errors were encountered: