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 Have A Clearml-Task That Reads Args From Command Line Using Argparse. Before This Worked Fine. Now, Args Are Show Up In The Configuration Tab Of The Experiment, But Are Not Being Passed To The Script, Printing Passed Argyments Yields An Empty Lis

Hello! I have a clearml-task that reads args from command line using argparse. Before this worked fine. Now, args are show up in the configuration tab of the experiment, but are not being passed to the script, printing passed argyments yields an empty list

  
  
Posted 2 months ago
Votes Newest

Answers 3


Im testing with the following script. It runs fine if its not part of a git repo. Placing it inside a git repo (though I am testing it in a private bitbucket in my work) and the args arent passed:

#script that just multiplies args, with one arg, x being obligatory
if __name__ == "__main__":
    import argparse

    parser = argparse.ArgumentParser()

    parser.add_argument("--x", type=float, required=True)
    parser.add_argument("--y", type=float, default = 2.)
    parser.add_argument("--z", type=float, default=3.)
    args = parser.parse_args()

    v = 1
    for key, value in vars(args).items():
        print(key, value)
        v *= value

    print(v)
  
  
Posted 2 months ago

also worth noting, in the configuration tab of an experiment, before this issue all other args would be shown with their default value once the script would be executed. Now, only the args explicitely passed in the command line clearml-task are shown in this tab

  
  
Posted 2 months ago

Hi @<1688721797135994880:profile|ThoughtfulPeacock83> , can you add a standalone script that reproduces this?

  
  
Posted 2 months ago
182 Views
3 Answers
2 months ago
2 months ago
Tags