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, 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
    plot_tree(model)
    plt.title("Decision Tree")
    plt.show()
    
    return accuracy

full log:

  
  
Posted one year ago
Votes Newest

Answers 3


solved using adding this to the agent config:

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

config file: None

  
  
Posted one year ago

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

  
  
Posted one year ago

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

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