But still, in the web app the task is considered to be still "running". I am not sure what to do, so that the task is considered to be "completed".
I am running it in the Python Console in PyCharm with Task.init. I get with the log:
ClearML Task: overwriting (reusing) task id=dfa2dff538d54c18ad97ea1593cbd357
2023-02-14 13:06:44,336 - clearml.Task - WARNING - Failed auto-detecting task repository: [WinError 123] Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch: '[...]\<input>'
ClearML results page: None
It means "The syntax for the file name, folder name or volume label / disk is wrong" somthing along those lines. The [...] is the directory path to my project, which I opened in PyCharm and from which I run the commands in the Python Console.
Maybe this is only logged after it is not "running" anymore, but I am not sure how to "complete" a task programmatically.
I just see the website that I linked to. I am not sure what is meant by "python environment". I cannot make a screen shot, because I do not know where to look for this in the first place.
>pip show clearml
WARNING: Ignoring invalid distribution -upyterlab (c:\users\...\lib\site-packages)
WARNING: Ignoring invalid distribution -illow (c:\users\...\lib\site-packages)
Name: clearml
Version: 1.6.4
Summary: ClearML - Auto-Magical Experiment Manager, Version Control, and MLOps for AI
Home-page:
None Author: ClearML
Author-email: support@clear.ml
License: Apache License 2.0
Location: c:\users\...\lib\site-packages
Requires: attrs, furl, future, jsonschema, numpy, pathlib2, Pillow, psutil, pyjwt, pyparsing, python-dateutil, PyYAML, requests, six, urllib3
Required-by:
Hi VivaciousBadger56 , can you provide some screenshots of what you're seeing?
Hi VivaciousBadger56 , can you elaborate on this error please?
2023-02-14 13:06:44,336 - clearml.Task - WARNING - Failed auto-detecting task repository: [WinError 123] Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch: '[...]\\<input>'
When you run your code after you've added Task.init()
into your code, you will get a link in the console. Following that link will take you to the console output of the experiment. From there you can go into 'Execution' tab and see it all there 🙂
Ah... if I run the same script not from PyCharm, but from the terminal, then it gets completed... puh...
But then I do not see the "installed packages" in "excecution".
My entire code is
from clearml import Task, TaskTypes
task = Task.init(project_name='FirstTrial', task_name='first_trial', task_type=TaskTypes.training)
PACKAGE_VERSION = '0.4.1'
dataset_name = "Demodata"
which I - now - also ran as a whole script.
"uncommitted changes" and "container" is also empty.
How are you running the task? Can you add logs please?
and when you do pip show clearml
the version is 1.6.4?
I am using a venv environment, managed by poetry. Not sure if that helps.
I see that with task.mark_completed(), I am able to programmatically complete the task.
What version of clearml
are you using? Are you using the community server?
I am using professional version 1.6.4.
Ah, wait, when I run the entire script, I do see the respective information in "execution".