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
Hello, I Am Starting To Use Clearml And Would Like To Deactivate The Detection Of A Git Repository. The Reason Is That The Repository Is Currently Only On My Local Machine And There Is No Remote To Check Out On The Worker Machines. The Error I Am Getting

Hello, I am starting to use clearml and would like to deactivate the detection of a git repository. The reason is that the repository is currently only on my local machine and there is no remote to check out on the worker machines. The error I am getting is this:
cloning: origin Repository cloning failed: 'NoneType' object has no attribute 'startswith' clearml_agent: ERROR: Failed cloning repository.If I delete .git , then the files are saved instead and I can run the code on the worker machines.
2021-04-27 09:45:14,196 - clearml.Task - INFO - No repository found, storing script code insteadCan I force this behavior, even if I develop in a git repository?

  
  
Posted 3 years ago
Votes Newest

Answers 5


or do you mean this by your note? i.e. leaving the execution parts empty.

yep 🙂

Currently, when ClearML detect a .git file, it will store your running script as part of your git repo. The workaround to store the whole script as a standalone is just like you did (or to run it outside of the repo).
We currently don’t have such an option to store the script as a standalone, but this could be a useful feature.

Can you add a new  https://github.com/allegroai/clearml/issues  issue with this request? Just so it won’t get lost

  
  
Posted 3 years ago

or do you mean this by your note? i.e. leaving the execution parts empty.

  
  
Posted 3 years ago

okay, that is a step in the right direction. Unfortunately, now the script is not stored.
Maybe I don't use clearml as intended. As a first try, I run the code locally, then I clone it and run it on a worker.
With the above change, there is no code stored: "Note: This experiment seems to not contain any executable code. If enqueued to run, it might produce no results."

  
  
Posted 3 years ago

Hi HighCentipede85 ,

You can pass the git repo detection with auto_connect_frameworks={"detect_repository": False} :
task = Task.init(project_name="Your project name", task_name="Your task name", auto_connect_frameworks={"detect_repository": False})Notice: This will leave empty all the sections for the execution part.

  
  
Posted 3 years ago
1K Views
5 Answers
3 years ago
one year ago
Tags
Similar posts