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.

[Tune] tune cli --columns flag no longer filters columns

See original GitHub issue

--columns no longer filters columns in version 0.7.3. It always returns all columns.

(.venvpy3) bfortuner@bfortuner-desktop:~/workplace/dev_cruisetune$ tune list-trials --columns custom_trial_name,status,opt_metric,width,height,grid_param /tmp/tune/studies/hello_world_bcpxm
+--------------------+---------------+---------------------+-----------------+----------------------------------+
| config:algorithm   | config:goal   |   config:grid_param |   config:height | config:hyperparameterMetricTag   |
|--------------------+---------------+---------------------+-----------------+----------------------------------|
| RANDOM_SEARCH      | MAXIMIZE      |                  73 |         30.8939 | opt_metric                       |
| RANDOM_SEARCH      | MAXIMIZE      |                   9 |         33.9063 | opt_metric                       |
| RANDOM_SEARCH      | MAXIMIZE      |                  63 |         99.6534 | opt_metric                       |
| RANDOM_SEARCH      | MAXIMIZE      |                  59 |         73.2126 | opt_metric                       |
| RANDOM_SEARCH      | MAXIMIZE      |                  23 |         44.97   | opt_metric                       |
| RANDOM_SEARCH      | MAXIMIZE      |                  79 |         40.3266 | opt_metric                       |
| RANDOM_SEARCH      | MAXIMIZE      |                  20 |         83.9005 | opt_metric                       |
| RANDOM_SEARCH      | MAXIMIZE      |                  83 |         37.713  | opt_metric                       |
| RANDOM_SEARCH      | MAXIMIZE      |                   6 |         23.4727 | opt_metric                       |
| RANDOM_SEARCH      | MAXIMIZE      |                  44 |         16.304  | opt_metric                       |
+--------------------+---------------+---------------------+-----------------+----------------------------------+
Dropped columns: [u'config:hyperparams_config', u'config:local_dir', u'config:parameterNames', u'config:resources_per_trial', u'config:stop', u'config:study_name', u'config:tensorboard', u'config:tune_cli', u'config:upload_dir', u'config:width', 'height', 'opt_metric', 'width']
Please increase your terminal size to view remaining columns.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bfortunercommented, Aug 6, 2019

Awesome! That PR fixed it for me. Would it be possible to add back the status column? Which tells me which trial is RUNNING/TERMINATED, etc?

python python/ray/tune/scripts.py list-trials --filter "width > 50"  --sort width --columns width,opt_metric --desc True /tmp/tune/studies/hello_world_pelxg
+--------------+---------+
|   opt_metric |   width |
|--------------+---------|
|      56.5585 | 93.3237 |
|      15.5017 | 81.9795 |
|      94.1378 | 56.2671 |
|      96.8194 | 52.3797 |
|      25.2801 | 50.102  |
+--------------+---------+
0reactions
richardliawcommented, Aug 8, 2019

Closing this issue for #5408.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tune CLI (Experimental) — Ray 2.2.0
Empty columns will be dropped by default. Add the --sort flag to sort the output by specific columns. Add the --filter flag to...
Read more >
Notes and restrictions for column-level filtering - AWS Lake ...
Simple column filtering just specifies a list of columns to include or exclude. Both the Lake Formation console, the API, and the AWS...
Read more >
Filtering and flagging rows — Dataiku DSS 7.0 documentation
The Filter rows/cells on value and Flag rows on value match rows based on whether certain columns contain specified values.
Read more >
gcloud topic filters | Google Cloud CLI Documentation
In order to filter on a nested list(not at the root level of the json) , one can use the --flatten flag to...
Read more >
pandas.DataFrame.pivot — pandas 1.5.2 documentation
Return reshaped DataFrame organized by given index / column values. ... For finer-tuned control, see hierarchical indexing documentation along with the ...
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