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
If I Update The Annotation Files For Some Dataset And Upload It. Can It Call The Previous Version Of Dataset Using The Dataset Id ?

If I update the annotation files for some dataset and upload it. Can it call the previous version of dataset using the dataset id ?
Dataset.get(dataset_id=DS_ID).get_local_copy()

  
  
Posted 2 years ago
Votes Newest

Answers 6


Sorry for being late to the party WearyLeopard29 , if you want to see get_mutable_copy() in the wild you can check the last cell of this notebook:

https://github.com/abiller/events/blob/webinars/videos/the_clear_show/S02/E05/dataset_edit_00.ipynb

Or skip to 3:30 in this video:

https://youtube.com/watch?v=NhSRW12Bn5w&feature=share

  
  
Posted 2 years ago

You can get a mutable copy of the entire dataset (original version), with get_mutable_copy() Then change the files on the returned directory, then create a new Dataset with the parent dataset as the original verison, then sync the folder.
You can also just update the specific file (without needing to download the entire original version)

  
  
Posted 2 years ago

Hi WearyLeopard29
Yes 🙂 this is exactly how it should work

  
  
Posted 2 years ago

Make sense ?

  
  
Posted 2 years ago

What is the specific use case, updating a file on existing dataset and creating a new version?

  
  
Posted 2 years ago

Yes thanks I'll try it

  
  
Posted 2 years ago