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

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

  
  
Posted 3 years ago
Votes Newest

Answers 6


` 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)
task.execute_remotely()
args = {'dataset_path' : ''}
task.connect(args, section='Args') `like this?

  
  
Posted 3 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 3 years ago

I don't see anything in the CONFIGURATION section:

  
  
Posted 3 years ago

👍

  
  
Posted 3 years ago

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

create pipeline here

pipeline `

  
  
Posted 3 years ago

ahh that makes sense, thanks!

  
  
Posted 3 years ago
909 Views
6 Answers
3 years ago
one year ago
Tags
Similar posts