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, I Want To Update The

Hi, I want to update the destination some of my completed datasets, is it possible to do so and how? Thanks!
image

  
  
Posted one year ago
Votes Newest

Answers 6


Hi @<1523709807092043776:profile|GrittyKangaroo27>

some of my completed datasets,

This only has an effect on the dataset when it is being uploaded, if completed it is there for logging purposes only. What is exactly the use case? (just to be verify, once a Task/Dataset is completed you cannot edit it)

  
  
Posted one year ago

I see, so basically fix old links that are now not accessible? If this is the case you might need to manually change the document on the mongodb running in the backend

  
  
Posted one year ago

ohh, not really 😞 this is really low level editing the DB.
You might be able to forcefully edit the links (i.e. artifacts) on the Dataset (task)
Check if this works

from clearml.backend_api.session.client import APIClient
c = APIClient()
t = c.tasks.get_by_id("DATASET_UUID_HERE")
# you might need to loop over the artifacts
t.data.execution.artifacts[0].uri = "
"
c.tasks.edit(task=t.id, execution=t.data.execution, force=True)
  
  
Posted one year ago

@<1523701205467926528:profile|AgitatedDove14> Thanks, I'll give it a try

  
  
Posted one year ago

@<1523701205467926528:profile|AgitatedDove14> do you have any documents and/or instruction to do so?

  
  
Posted one year ago

@<1523701205467926528:profile|AgitatedDove14> The only reason I want to change the destination is because of an unforeseeable mistake in the past. Now I must change the old destination (private IP address) of my past datasets to the new alias (labserver-2) to be able to download using the python script.

  
  
Posted one year ago
634 Views
6 Answers
one year ago
one year ago
Tags