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
Unanswered
Hi Again


Hmm should be pushed later today, meanwhile:
` from clearml import Task
from clearml.automation.trigger import TriggerScheduler

def func(*args, **kwargs):
print('test', args, kwargs)

if name == 'main':
s = TriggerScheduler(pooling_frequency_minutes=1.0)
s.add_model_trigger(
name='trigger 1', schedule_function=func,
trigger_project='examples', trigger_on_tags=['deploy']
)
s.add_model_trigger(
name='trigger 2',
schedule_task_id='3f7458549e814591b003a87f63c333c6',
schedule_queue='moshik',
trigger_project='examples', trigger_on_tags=['deploy']
)
s.add_dataset_trigger(
name='trigger 3', schedule_function=func,
trigger_project='datasets', trigger_on_tags=['deploy']
)
s.add_task_trigger(
name='trigger 4', schedule_function=func,
trigger_project='examples',
trigger_on_metric='epoch_accuracy', trigger_on_variant='epoch_accuracy',
trigger_on_sign='max', trigger_on_threshold=0.99
)
s.start() `

` from clearml import Task
from clearml.automation.scheduler import TaskScheduler

def func():
print('test')

if name == 'main':
s = TaskScheduler()
s.add_task(name='example job', schedule_function=func, minute=10)
s.start() `

  
  
Posted 3 years ago
187 Views
0 Answers
3 years ago
one year ago