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,

Hi,
What would be the correct way to check the hash of a file before using https://clear.ml/docs/latest/docs/references/sdk/dataset/#add_files ? is there a built in function in Clear ML? What would be the correct way to add the dataframe.shape to the content/preview within clearml Dataset ?

  
  
Posted one year ago
Votes Newest

Answers 6


We need to convert it a DataFrame since

Displaying metadata in the UI is only supported for pandas Dataframes for now. Skipping!

  
  
Posted one year ago

shape -> tuple([int],[int])
I decided to use

._task.upload_artifact(name='metadata', artifact_object=metadata)

where metadata is a dict

metadata = {**metadata, **{"name":f"{Path(file_tmp_path).name}", "shape": f"{df.shape}"}}

  
  
Posted one year ago

How would you report this to a Task?

  
  
Posted one year ago

About 2. I'm not familiar in depth with it. What does it come out as? Text?

  
  
Posted one year ago

Hi OutrageousSheep60 ,

I guess ClearML has an internal function to check hash. You can follow the code and see what is being used and use something similar to validate.

How does you dataframe.shape look?

  
  
Posted one year ago
980 Views
6 Answers
one year ago
one year ago
Tags
Similar posts