SuccessfulKoala55
Hi,
Using task.upload_artifact
In the init I passed output_uri=Folder
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)
SparklingElephant70 , can you post the URL that is provided by the UI when you look at it?
And just to make sure, you're running everything on the same machine, correct?
Hi SparklingElephant70 , do you get an error? how was the artifact uploaded?
CostlyOstrich36
Hi SuccessfulKoala55 ,
First I create the task and change the output_uri to some folder I createdtask = Task.init(project_name='main', task_name='task', output_uri=r'C:\Users\Chen\Desktop\folder)
Than I used:task.upload_artifact