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
Hello, How Can I Make A Pipeline That Accepts Parameters?

Hello, how can I make a pipeline that accepts parameters?

Posted 2 years ago
Votes Newest

Answers 6

` param = {'arg': value}
task.connect(param, section='new section')

create pipeline here

pipeline `

Posted 2 years ago

` from clearml import Task
import argparse

only create the task, we will actually execute it later

task = Task.init(project_name='examples', task_name='pipeline demo',
task_type=Task.TaskTypes.controller, reuse_last_task_id=False)
args = {'dataset_path' : ''}
task.connect(args, section='Args') `like this?

Posted 2 years ago

Yes, only task.execute_remotely() should be the last call. because it literally will stop the local run before you add the Args section

Posted 2 years ago

I don't see anything in the CONFIGURATION section:

Posted 2 years ago

ahh that makes sense, thanks!

Posted 2 years ago


Posted 2 years ago