Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Profile picture
ConvincingSwan15
Moderator
1 Question, 9 Answers
  Active since 10 January 2023
  Last activity one year ago

Reputation

0

Badges 1

9 × Eureka!
0 Votes
15 Answers
873 Views
0 Votes 15 Answers 873 Views
Hi, I try to optimize my hyperparamters with HyperParameterOptimizer but I have to main problems. It don't find my hyperparameters in my learning. I use Args...
3 years ago
0 Hi, I Try To Optimize My Hyperparamters With

For the train.py do I need a setup.py file in my repo to work corerctly with the agent ? For now it is just the path to train,py

3 years ago
0 Hi, I Try To Optimize My Hyperparamters With

Ok so I installed the last version of clearml and the hyperparameters are found now

3 years ago
0 Hi, I Try To Optimize My Hyperparamters With

` an_optimizer = HyperParameterOptimizer(
base_task_id="6f3bf2ecbb964ff3b2a6111c34cb0fa3",
hyper_parameters=[ DiscreteParameterRange('Args/patch_size', values=[32, 64, 128]),
DiscreteParameterRange('Args/nb_conv', values=[2, 3, 4]),
DiscreteParameterRange('Args/nb_fmaps', values=[30, 35, 40]),
DiscreteParameterRange('Args/epochs', values=[30]),
], objective_metric_title='valid_average_dice_epoch',
objective_metric_series='valid_average_dice_epoch',
objective_metric_sign='max',
max_number_of_...

3 years ago
0 Hi, I Try To Optimize My Hyperparamters With

Hi AgitatedDove14
The code is on a private repo (clearml-agent is configure with ssh key and get the code correctly) Otherwise I run the code directly on my computer. The code was previously ran in a task and the task seems to be correctly loaded. I get the right id from the get_task function.

When the optimizer try to run the first batch of hyperparameter I get this error message in the log ` /home/local/user/.clearml/venvs-builds/3.7/bin/python: can't open file 'train.py': [Errno...

3 years ago
0 Hi, I Try To Optimize My Hyperparamters With

I double check the id and it is the right one

3 years ago
0 Hi, I Try To Optimize My Hyperparamters With

Yes and I double check in python and I get the dictionnary with: Args/...

3 years ago
0 Hi, I Try To Optimize My Hyperparamters With

It was run with the exact same version. And I got the same message with "epochs" only.

3 years ago
0 Hi, I Try To Optimize My Hyperparamters With

The only thing to patch is the train.py issue

3 years ago
0 Hi, I Try To Optimize My Hyperparamters With

The log of my optimizer looks like this:
` Task: {'template_task_id': '6f3bf2ecbb964ff3b2a6111c34cb0fa3', 'run_as_service': False}
2021-03-30 10:45:25,413 - trains.automation.optimization - WARNING - Could not find requested hyper-parameters ['Args/patch_size', 'Args/nb_conv', 'Args/nb_fmaps', 'Args/epochs'] on base task 6f3bf2ecbb964ff3b2a6111c34cb0fa3
2021-03-30 10:45:25,433 - trains.automation.optimization - WARNING - Could not find requested metric ('dice', 'dice') report on base task 6f3...

3 years ago