Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

my label_filename don't read I have class0 for label #7367

Open
davy-blavette opened this issue Jun 24, 2024 · 1 comment
Open

my label_filename don't read I have class0 for label #7367

davy-blavette opened this issue Jun 24, 2024 · 1 comment

Comments

@davy-blavette
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant