Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
I Have A Self-Hosted Clearm-Server And And Clearml-Agent Started With

I have a self-hosted clearm-server and and clearml-agent started with clearml-agent daemon --queue default --foreground
I try to execute the following simple program:
` from clearml import Task

def main():
task = Task.init(project_name="test", task_name="test")

d = {"a": "1"}
task.upload_artifact("myArtifact", d)

if name == "main":
main() Locally it works well, I can see the artifact in the web gui. However, when I clone the experiment in the web gui and then submit it to my default queue, no artifact is generated. My agent only outputs all the install stuff and then Environment setup completed successfully

Starting Task Execution:

DONE: Running task 'ca6d1832b9e247178c35ad909c73bd50', exit status 0 `Any idea, why it is not creating the artifact?

  
  
Posted 3 years ago
Votes Newest

Answers 31


ReassuredTiger98 I'm trying to debug what's going on, because it should have worked.
Regrading Prints ...
` from clearml import Task
from time import sleep

def main():
task = Task.init(project_name="test", task_name="test")
d = {"a": "1"}
print('uploading artifact')
task.upload_artifact("myArtifact", d)
print('done uploading artifact')
# not sure if this helps but it won'r hurt to debug
sleep(3.0)
if name == "main":
main() `

  
  
Posted 3 years ago
17K Views
31 Answers
3 years ago
7 months ago
Tags