Unanswered
How Can I Test Scripts That Use Clearml In A Ci Environment? The Integration Tests Run In A Docker Container Without Access To A Clearml Server, So I Get The Following Error:
# Never save to clearml demo server Task.set_offline(parameters['experiment'].get('offline', False)) if not Task.is_offline(): os.environ['CLEARML_NO_DEFAULT_SERVER'] = '1' task = Task.init( project_name=parameters['experiment']['project_name'], task_name=parameters['experiment']['experiment_name'], task_type=task_type, tags=parameters['experiment']['tags'], auto_connect_arg_parser=True, auto_connect_streams=True, auto_connect_frameworks=True, auto_resource_monitoring=True, ) task.connect_configuration(parameters)
So Task.set_offline is called before the initialization of the task
187 Views
0
Answers
3 years ago
one year ago