-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
1174 replace hard coded indices in runhistory #1180
base: development
Are you sure you want to change the base?
1174 replace hard coded indices in runhistory #1180
Conversation
smac/runhistory/runhistory.py
Outdated
] | ||
|
||
config_ids_to_serialize = set([entry[0] for entry in data]) | ||
data[k.config_id] = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might need to be adapted
smac/runhistory/runhistory.py
Outdated
self.add( | ||
config=self._ids_config[int(entry[0])], | ||
config=self._ids_config[int(key)], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might need to be adapted
1733133181.21695, # end_time | ||
{} # additional_info | ||
], | ||
"data": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK the config id is a unique configuration without the budget and the instance. If this is the case, we need a different data structure, because currently we would overwrite evaluated trials with the same configs but different budgets/instances. I would propose a list of dictionaries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will check that and get back to you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will adapt this accordingly
also please update |
No description provided.