server
server copied to clipboard
my label_filename don't read I have class0 for label
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.
it's ok, I managed to map with a configuration file of the template I had upstream.