Logs contain warnings about `transform_configs` argument to `TorchModelBridge` containing an `OptimizationConfig` value, not expected by typecheck
See original GitHub issueHi all,
I receive this warning:
[WARNING] ax.core.parameter: sort_values is not specified for ChoiceParameter "para_name". Defaulting to True for parameters of ParameterType INT. To override this behavior (or avoid this warning), specify sort_values during ChoiceParameter construction.
I currently define the parameters like this:
parameters=[
{
"name": "para_name",
"type": "choice",
"values": ["A", "B", "C", "D"],
},
...
How can I stop this warning? I already tried:
"sort_values": False
But then I receive:
ValueError: Unexpected keys {'sort_values'} in parameter representation.Exhaustive set of expected keys: {'values', 'value_type', 'target_value', 'is_task', 'bounds', 'digits', 'is_ordered', 'log_scale', 'value', 'type', 'name', 'is_fidelity'}.
Thank you and regards, Stefan
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Alright, thanks a lot! @lena-kashtelyan
The fix for this is now part of the most recent stable release.