Unanswered
Hello, I Have A Question Regarding The Usage Of
JumpyDragonfly13 The function was auto-generated from the backend schema, so it was auto-included. This function is actually used by the UI when you press the Download full log
button, but the SDK can't call it because the response is simply an octet-stream representing the log (the SDK expects a JSON containing some fields).
Anyway, you could've also done something like this to get the task log:from clearml import Task t = Task.get_task(task_id="cecc9d51581d4fe3948b857d21af1ff3") print(t.get_reported_console_output(number_of_reports=100))
Still, the get_reported_console_output
method is a bit limited because you can't iterate through batches for now. If you don't have a lot of logs, you should use this function
161 Views
0
Answers
2 years ago
one year ago