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
Unanswered
Hello! I'Ve Been Trying To Use Clearml For The First Time, But I Cannot Seem To Run The First Serving Model. First, I Run The Following In Powershell: >>> Clearml-Serving Create --Name "June Test" Log: Clearml-Serving - Cli For Launching Clearml Serving


Hi @<1523701070390366208:profile|CostlyOstrich36>
Sorry for the delayed response.

No errors in the serving containers.
I did follow the link you've shared before posting. I ran the following:
curl.exe -X POST " None " -H "accept: application/json" -H "Content-Type: application/json" -d '{"x0": 1, "x1": 2}'
(note that I'm using port 8082, since 8080 is already taken by ClearML Server on this VM).
and got the following response:

{"detail":[{"type":"json_invalid","loc":["body",1],"msg":"JSON decode error","input":{},"ctx":{"error":"Expecting property name enclosed in double quotes"}}]}

So I fixed it by changing:
-d '{"x0": 1, "x1": 2}'
to:
'{\"x0\": 1, \"x1\": 2}'
And I'm back to the original issue I had (in the image), with the log:

{"detail":"Error [<class 'ValueError'>] processing request: Expected 2D array, got scalar array instead:\narray={'x0': 1, 'x1': 2}.\nReshape your data either using array.reshape(-1, 1) if you
r data has a single feature or array.reshape(1, -1) if it contains a single sample."}

Am I the only one encountering it? 😞

  
  
Posted 2 months ago
43 Views
0 Answers
2 months ago
2 months ago