Documentation examples

This commit is contained in:
allegroai
2020-12-24 00:30:32 +02:00
parent 7edc998824
commit a29a655a6e
50 changed files with 223 additions and 37 deletions

View File

@@ -192,6 +192,8 @@ def main():
slack_monitor.status_alerts += ["completed"]
# start the monitoring Task
# Connecting ClearML with the current process,
# from here on everything is logged automatically
task = Task.init(project_name='Monitoring', task_name='Slack Alerts', task_type=Task.TaskTypes.monitor)
if not args.local:
task.execute_remotely(queue_name=args.service_queue)