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
When I Tried To Create A Clearml Serving Inference Endpoint For Yolov8, I Received The Following Error:

When I tried to create a ClearML Serving inference endpoint for YOLOv8, I received the following error:

Error: Triton engine requires input description - missing values in ['input_type', 'input_size', 'input_name', 'output_type', 'output_size', 'output_name']

How should I know what values to specify for these input parameters?

Here's the command I used:

~/.local/bin/clearml-serving --id b1a87044a49844cb88dab86213f03ca1 model add --engine triton --endpoint detect_yolov8 --model-id a19de2f442254038b3b5a31f8
56451e9 --name yolov8-endpoint --project yolov8 --published
  
  
Posted one year ago
Votes Newest

Answers 5


Hi @<1593413673383104512:profile|MiniatureDragonfly17>
These are the specific model input/output layers name.
The way Triton analyses PyTorch model is usually
input__0 then input__1 for the input layers and output__0 and so on for the results:
You can see an example here:
None

--input-size 1 28 28 --input-name "INPUT__0" --input-type float32    --output-size -1 10 --output-name "OUTPUT__0" --output-type float32
  
  
Posted one year ago

@<1523701205467926528:profile|AgitatedDove14> Thanks for the reply. However, I am not sure what values I should specify for the input and output layers for YOLOv8.

If I load the model into Netron, I don't see any dimensions for the input layer shape.

On the output layer, I can see the shape is [136, 64, 80, 80] . Is that correct?
image

  
  
Posted one year ago

This line 🙂
None
Notice Triton (and so is clearml-serving) needs the pytorch model to be converted into torchscript, so that the triton backend can load it

  
  
Posted one year ago

, I can see the shape is

[136, 64, 80, 80]

. Is that correct?

Yes that's correct. In case of the name, just try input__0
Notice you also need to convert it to torchscript

  
  
Posted one year ago

What do you mean convert it to Torchscript? @<1523701205467926528:profile|AgitatedDove14>

  
  
Posted one year ago