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
Hi Everyone,

Hi everyone,
I'm trying to log a file using the ClearML logger like this:

clearml.log_file(file_name=file_name, file_path=file_path)

For example, if file_name is "mapped_categories" and file_path is "/home/datalake_local/yolo/mapped_categories.json" , ClearML creates an intermediate subfolder, resulting in the file being stored as:
artifacts/mapped_categories/mapped_categories.json
Is there a way to prevent the creation of these subfolders and have the file logged directly under artifacts/ ?
Thanks in advance!

  
  
Posted one month ago
Votes Newest

Answers 3


Hi WittySeal70 , can you point to the documentation of log_file ?

  
  
Posted one month ago

oh, I'm sorry, my bad. It's simply:

def log_file(self, file_name: str, file_path: str):
        self.task.upload_artifact(name=file_name, artifact_object=file_path)
  
  
Posted one month ago

so it just calls upload_artifact

  
  
Posted one month ago
117 Views
3 Answers
one month ago
29 days ago
Tags