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
Hey All, I'M Trying To Get Artifact That Store Locally In Windows, Like That:

Hey all,
I'm trying to get artifact that store locally in windows, like that:

local_json = dataset_upload_task.artifacts['merged'].get()
But the file includes "/" and "" , something like this:
algorithms_python\data_pipeline\data\artifacts/main/get data.5062fe02003f4d5a9db394dd1695a5b2/artifacts/merged/merged.json'

There is a way to fix it ?

Thanks

  
  
Posted 2 years ago
Votes Newest

Answers 13


SuccessfulKoala55
Hi,
Using task.upload_artifact

  
  
Posted 2 years ago

In the init I passed output_uri=Folder

  
  
Posted 2 years ago

what was the folder format you used?

  
  
Posted 2 years ago

Can you show an actual example?

  
  
Posted 2 years ago

Regular folder...

  
  
Posted 2 years ago

Now, in other task I want to upload the artifact by using get_local_copy()
dataset_upload_task = Task.get_task(task_id=args['dataset_task_id']) local_json = dataset_upload_task.artifacts['dataset'].get_local_copy()But the path that I got contain '' and '/' (i.e combination of unix and win foramt)

  
  
Posted 2 years ago

Hi SuccessfulKoala55 ,
First I create the task and change the output_uri to some folder I created
task = Task.init(project_name='main', task_name='task', output_uri=r'C:\Users\Chen\Desktop\folder)Than I used:
task.upload_artifact

  
  
Posted 2 years ago

SparklingElephant70 , can you post the URL that is provided by the UI when you look at it?

  
  
Posted 2 years ago

Yes

  
  
Posted 2 years ago

CostlyOstrich36

  
  
Posted 2 years ago

Hi SparklingElephant70 , do you get an error? how was the artifact uploaded?

  
  
Posted 2 years ago

And just to make sure, you're running everything on the same machine, correct?

  
  
Posted 2 years ago