server icon indicating copy to clipboard operation
server copied to clipboard

my label_filename don't read I have class0 for label

Open davy-blavette opened this issue 1 year ago • 1 comments

here is my config.pbtxt file :

output [
{
  name: "output0"
  data_type: TYPE_FP32
  dims: [-1,-1,-1]
  label_filename: "P0031_labels.txt"
}
]

and my file "P0031_labels.txt"

Demi-baguette
Scorring
Black spot

My client

model = YOLO(f'http://localhost:8000/{tmodel}', task='detect') # Run inference on the server results = model.predict( image_path, imgsz=1024, conf=0.5, half=True, save=False, verbose=True )

and my result

1024x1024 1 class0, 44.1ms

but normally class0 should be Demi-baguette...I'd like the configuration to be server-side. Thanks for your help.

davy-blavette avatar Jun 24 '24 13:06 davy-blavette

it's ok, I managed to map with a configuration file of the template I had upstream.

davy-blavette avatar Jun 25 '24 06:06 davy-blavette