The to_input_req
method of the TuningJobCompletionCriteriaConfig doesn't work and makes it unusable
#3743
Labels
Describe the bug
When trying to specify the
TuningJobCompletionCriteriaConfig
and using theto_input_req
method on the instantiated class object (which the HPO tuner does when the fit() function is called), it throws an error, which prevents from using it. This is because in theto_input_req
values are assigned to non-existent keys of a dictionary.Additionally, the
TuningJobCompletionCriteriaConfig
is not documentation in the Python SDK: https://sagemaker.readthedocs.io/en/stable/api/training/tuner.htmlTo reproduce
A clear, step-by-step set of instructions to reproduce the bug.
Results in:
When we try to do it only for the
target_objective_metric_value
it works as expected. This is because there is just one level of the dictionary for this argument in thecompletion_criteria_config
in theto_input_req
which confirms my assumption in the description of the issue.Expected behavior
Given this input:
I would expect the function to return:
This can be achieved by modifying the
to_input_req
of theTuningJobCompletionCriteriaConfig
class to:System information
A description of your system. Please provide:
The text was updated successfully, but these errors were encountered: