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
Okay Another Question !! Okay So I Would Like To Edit Parameters Through The Ui And Run It. So This Is My Script

Okay another question !! Okay so I would like to edit parameters through the ui and run it. So this is my script

` from clearml import Task
task = Task.init(project_name="project1", task_name="task1")
task.execute_remotely()

args = {'batch_size': 128,
'epochs': 6,
'layer_1': 512,
'layer_2': 512,
'layer_3': 10,
'layer_4': 512,
}
args = task.connect(args)

print (args) `
However, when I edit the parameters inside the "Configuration" tab, Hyperparameters section, "General" tab, where I edit the stuff, it doesn't seem to pass through because the print statements are the same no matter what. How should I edit my code? Thank you

  
  
Posted 3 years ago
Votes Newest

Answers 4


Awesome. Thank you !!!!

  
  
Posted 3 years ago

o i have to upload and run a script with its default value first (since I don't have an initial task id), then clone it, edit the configuration inside that newly cloned one, get the id of the clone, and pass this into my script as the task_id and run it from my machine?

Correct. You can also create it (from code), "Reset" it (right click in the UI) and then edit it.

Is there a way do this without running it on my machine?

check clearml-task it is a CLI that will create a Task from the code on your machine/repo and enqueue it for you 🙂
https://clear.ml/docs/latest/docs/apps/clearml_task

  
  
Posted 3 years ago

AgitatedDove14 hello, I think I got this to work. But just to make sure I am doing this correctly ... in order for me to get the task_id, do i have to upload and run a script with its default value first (since I don't have an initial task id), then clone it, edit the configuration inside that newly cloned one, get the id of the clone, and pass this into my script as the task_id and run it from my machine?

Is there a way do this without running it on my machine? Like the another user can edit it from the UI, enqueue it to an agent, and the agent can run the script? All without having the original script to run? Thanks.

  
  
Posted 3 years ago

Hi CluelessElephant89
When you edit the args (General section) in the UI, you are editing the args for "remote execution"
(i.e. when executed by the agent, the args dict will get the values from the UI , as oppsed to "manual execution" where there UI gets the values from code)
In order to simulate the "remote execution" inside your development environment
Try:
` from clearml import Task

simulate remote execution of a specific Task instance

Task.debug_simulate_remote_task(task_id='REPLACE WITH TASK ID FROM UI')

task = Task.init(project_name="project1", task_name="task1")
... `

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