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
Whats The Main Difference Between Creating A Task And Using Init?

whats the main difference between creating a task and using init?

  
  
Posted 3 years ago
Votes Newest

Answers 10


You create() a task in order to manually edit its execution details, and then run it remotely using a ClearML Agent

  
  
Posted 3 years ago

Because create() only creates a task in the server, but it does not mean the task is "running" in your machine (so you can't report stuff for it etc.)

  
  
Posted 3 years ago

how can I use without an agent?

  
  
Posted 3 years ago

The only thing I'm doing with the task is task.get_logger().report_scatter2d

  
  
Posted 3 years ago

With init its working well, I can see the results in the UI, and with create it does nothing

  
  
Posted 3 years ago

But without an agent you'll have to manually run all those tasks you create - are you sure you want to do that?

  
  
Posted 3 years ago

SweetGiraffe8 what do you mean by "doesn't really work"?

  
  
Posted 3 years ago

yes, it seems that task.create doesn't really work.. should i do something similar to .run() ?

  
  
Posted 3 years ago

You can just install an agent on your machine...

  
  
Posted 3 years ago

SweetGiraffe8 Task.init will autolog everything (git/python packages/console etc), for your existing process.
Task.create purely creates a new Task in the system, and lets' you manually fill in all the details on that Task
Make sense ?

  
  
Posted 3 years ago