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
Answered
Hi There - I Am Attempting To Use The Hp Optimization Feature, But Keep Getting The Following Error:

Hi there - I am attempting to use the hp optimization feature, but keep getting the following error: trains.automation.optimization - WARNING - Could not find requested hyper-parameters ['number_of_epochs', 'batch_size', 'base_lr'] on base task even though I ran the base task prior to the optimization script, just like the documentation script said... Any help would be appreciated.

  
  
Posted 4 years ago
Votes Newest

Answers 3


CharmingBeetle38 try adding "General/" before the arguments. This means batch_size becomes General/batch_size. This is only because we are accessing the parameters externally, when the task is executed it is resolved automatically

  
  
Posted 4 years ago

Hi CharmingBeetle38
On the base task, do you see those arguments under the Configuration tab?
Also, if they are under Args section, you should add "Args/" prefix to the HP optimization (this is how you differentiate between the sections)

  
  
Posted 4 years ago

Yes, I do - attached is a grab of the base task. I also ran trains.get_task(*params).id to make sure the task id's matched, in case a did something stupid. They did some I'm guessing it has something to do with the way I am implementing the optimization itself, but all my code is boilerplate for my toy example.

  
  
Posted 4 years ago
966 Views
3 Answers
4 years ago
one year ago
Tags