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
Hi, Someone Faced This Issue?

Hi, Someone faced this issue? graphviz.backend.execute.ExecutableNotFound: failed to execute PosixPath('dot'), make sure the Graphviz executables are on your systems' PATH i'm running clearml pipeline step evaluate_model in kubernetes agent
this is the code (taken from : None )

@PipelineDecorator.component(return_values=['accuracy'], cache=True, task_type=TaskTypes.qc, packages=['graphviz', 'matplotlib', 'scikit-learn', 'xgboost'])
def evaluate_model(model, X_test, y_test):
    # Imports first
    import matplotlib.pyplot as plt
    from sklearn.metrics import accuracy_score
    import xgboost as xgb
    from xgboost import plot_tree
    # Load the data in XGBoost format
    dtest = xgb.DMatrix(X_test, label=y_test)

    # Make predictions for test data
    y_pred = model.predict(dtest)
    predictions = [round(value) for value in y_pred]

    # Evaluate predictions
    accuracy = accuracy_score(dtest.get_label(), predictions)
    print("Accuracy: %.2f%%" % (accuracy * 100.0))

    # Plots
    plt.title("Decision Tree")
    return accuracy

full log:

Posted 6 months ago
Votes Newest

Answers 3

solved using adding this to the agent config:

clearmlConfig: |-
       extra_docker_shell_script: ["apt-get install -y graphviz", ]

config file: None

Posted 6 months ago

Hi @<1595587997728772096:profile|MuddyRobin9> , does the step fail or just prints this error?

Posted 6 months ago

Hi @<1523701070390366208:profile|CostlyOstrich36> it fails i got Process failed, exit code 1

Posted 6 months ago
3 Answers
6 months ago
6 months ago