clearml initial version 0.17.0

This commit is contained in:
allegroai
2020-12-22 23:25:37 +02:00
parent a460df1e68
commit d327f2e2b9
145 changed files with 3136 additions and 794 deletions

View File

@@ -1,4 +1,4 @@
# TRAINS - example of multiple sub-processes interacting and reporting to a single master experiment
# ClearML - example of multiple sub-processes interacting and reporting to a single master experiment
import multiprocessing
import os
@@ -7,7 +7,7 @@ import sys
import time
from argparse import ArgumentParser
from trains import Task
from clearml import Task
# fake data for us to "process"
data = (
@@ -51,7 +51,7 @@ if __name__ == '__main__':
# We have to initialize the task in the master process,
# it will make sure that any sub-process calling Task.init will get the master task object
# notice that we exclude the `counter` argument, so we can launch multiple sub-processes with trains-agent
# notice that we exclude the `counter` argument, so we can launch multiple sub-processes with clearml-agent
# otherwise, the `counter` will always be set to the original value.
task = Task.init('examples', 'Popen example', auto_connect_arg_parser={'counter': False})