Skip to content

AllTrialsFailed:  #173

Open
Open
@Kayden-lolasery

Description

@Kayden-lolasery

Hey Hyperopt team!

I've been facing an intermittent issue when fitting the HyperoptEstimator to my data.

I've changed nothing in code but re-running the same code when restarting my kernel results in this error:
model
error grab
~\anaconda3\lib\site-packages\hyperopt\base.py in best_trial(self)
620 ]
621 if not candidates:
--> 622 raise AllTrialsFailed
623 losses = [float(t["result"]["loss"]) for t in candidates]
624 if len(losses) == 0:

AllTrialsFailed:

Is there any reason why this is the case? I have tried fitting with the nonscaled version of my data and it sometimes allows it to run.
But I have been stuck for hours trying to make it work, your help is much appreciated! Thank you!

P.s. quite literally after failing for 20 + times, after i clicked post here the code suddenly started working again.
And yes it intermittently works and fails accordingly..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions