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 Guys, I'M Running A Task With

Hi guys,

I'm running a task with argparse to change the configuration. It's fine when I ran it on local machine, but when I triggered the job on the web UI, it keeps getting this error:

error: unrecognized arguments: --config-file /tmp/.clearml_agent.ux_7z5xr.cfg execute --disable-monitoring --id 

Is there any solutions for this?

Thanks so much for answer my question.

  
  
Posted one year ago
Votes Newest

Answers 3


  • The version of my clearml-agent was installed a month ago.
  • My code is something like this
from clearml import Task
import os
import argparse 

def eval_sdk_clearml(branch_name, commit_id, benchmark_script_name):
 # Stuff here
    pass


if __name__ == "__main__":
    parser = argparse.ArgumentParser("ClearML SDK Benchmarking!")
    parser.add_argument(
        "--branch_name",
        default="staging",
        help="Branch",
    )

    parser.add_argument(
        "--commit_id",
        default=None,
        help="Git commit ID",
    )

    parser.add_argument(
        "--benchmark_script_name",
        default="benchmark_v1.sh",
        help="Name of benchmark scripts",
    )
    args = parser.parse_args()
    task = Task.init(project_name="SDK_Benchmarking",
                  task_name=f"SDK_Benchmarking")
    eval_sdk_clearml(args)
  
  
Posted one year ago

Hi @<1570220852421595136:profile|TeenyHedgehog42> , are you using the latest version of clearml-agent ? Can you provide a stand alone code snippet that reproduces this behavior for you?

  
  
Posted one year ago

Can you try calling Task.init() before calling parse_args()?

  
  
Posted one year ago
998 Views
3 Answers
one year ago
one year ago
Tags