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 Everyone! I Would Need Your Opinion About How To Proceed With Offline Mode When Serving Models. We Currently Have Some Serving Endpoints Which Are Constantly Running And We Report Images And Statistics. How Do You Recommend Dealing With Offline Mode In

Hi everyone! I would need your opinion about how to proceed with offline mode when serving models. We currently have some serving endpoints which are constantly running and we report images and statistics. How do you recommend dealing with offline mode in this scenario - in case there is a drop in network connectivity?
Because as far as understand the offline mode will create an archive whenever a task finished in offline mode, but if the task is constantly running as it's serving models then the pattern is a bit different.
Thanks in advance! 🙌

  
  
Posted 9 days ago
Votes Newest

Answers


Hi WickedWhale51 ! ClearML is tolerant to network failures. Anyway, if you wish the upload the offline data periodically, you could zip the offline mode folder and import it:

# make sure the state of the offline data is saved
Task.current_task()._edit()
# create zip file
offline_folder = Task.current_task().get_offline_mode_folder()
zip_file = offline_folder.as_posix() + ".zip"
with ZipFile(zip_file, "w", allowZip64=True, compression=ZIP_DEFLATED) as zf:
    for filename in offline_folder.rglob("*"):
        if filename.is_file():
            relative_file_name = filename.relative_to(offline_folder).as_posix()
            zf.write(filename.as_posix(), arcname=relative_file_name)
Task.import_offline_session(zip_file, task_holding_reports="PASS_VALID_ID_TO_AVOID_DUPLICATES")

Also, note the task_holding_reports argument

  
  
Posted 8 days ago
47 Views
1 Answer
9 days ago
8 days ago
Tags