question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Logs contain warnings about `transform_configs` argument to `TorchModelBridge` containing an `OptimizationConfig` value, not expected by typecheck

See original GitHub issue

Hi 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:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Stefan2016commented, Jan 7, 2022

Alright, thanks a lot! @lena-kashtelyan

0reactions
lena-kashtelyancommented, Mar 14, 2022

The fix for this is now part of the most recent stable release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to do when you get an error - Hugging Face Course
In this section we'll look at some common errors that can occur when you're trying to generate predictions from your freshly tuned Transformer...
Read more >
Ingestion Transformations
Transformations include extracting records from nested objects, applying simple transform functions on certain columns, filtering out unwanted columns, ...
Read more >
Microsoft Sentinel Support for Ingestion-Time Data ...
Log Analytics has recently announced two new features: ingestion time transformations and Data Collection Rules (DCR)-based custom logs.
Read more >
Transform functions in Pinot schema · Issue #5135
This means that every column in the destination schema should be present exactly as it is in the source schema (except the time...
Read more >
Solved: I am getting this error to load the pig ouput into...
BaseOperatorPlan - Encountered Warning IMPLICIT_CAST_TO_LONG 21 time(s). grunt> STORE bb INTO 'default.finaluniqlo' using org.apache.hive.hcatalog.pig.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found