clearml/examples/advanced/multiple_tasks_single_process.py

11 lines
281 B
Python
Raw Normal View History

from clearml import Task
for i in range(3):
task = Task.init(project_name="same process, multiple tasks", task_name="Task #{}".format(i))
# Doing Task processing here
print("Task #{} running".format(i))
#
print("Task #{} done :) ".format(i))
task.close()