` from clearml import Task
import numpy as np
def run():
task = Task.init(project_name="test/img", task_name="WandbLogger2_sg_nd_130_7")
logger = task.get_logger()
m = np.eye(256, 256, dtype=np.float64)
iteration = 42
logger.report_image("image", "image float", iteration=iteration, image=m)
if name == "main":
run() `
2022-03-29 16:27:55,273 - clearml.Task - INFO - No repository found, storing script code instead ClearML results page:
Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06e4d7fe50>: Failed to establish a new connection: [Errno 111] Connection refused')': / Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06e46e5710>: Failed to establish a new connection: [Errno 111] Connection refused')': / Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06e46e5190>: Failed to establish a new connection: [Errno 111] Connection refused')': / Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06e4672c10>: Failed to establish a new connection: [Errno 111] Connection refused')': / Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06e466ba50>: Failed to establish a new connection: [Errno 111] Connection refused')': / Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06e4681f10>: Failed to establish a new connection: [Errno 111] Connection refused')': / Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06e4689e90>: Failed to establish a new connection: [Errno 111] Connection refused')': / Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06e4696090>: Failed to establish a new connection: [Errno 111] Connection refused')': / Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06e469dd50>: Failed to establish a new connection: [Errno 111] Connection refused')': / 2022-03-29 16:28:46,675 - clearml.metrics - WARNING - Failed uploading to
(HTTPConnectionPool(host='10.151.32.18', port=8091): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f06e46965d0>: Failed to establish a new connection: [Errno 111] Connection refused'))) 2022-03-29 16:28:46,677 - clearml.metrics - ERROR - Not uploading 1/1 events because the data upload failed Process finished with exit code -1