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

config.yaml enhancement for custom models #172

Open
mahesh11T opened this issue Feb 19, 2024 · 0 comments
Open

config.yaml enhancement for custom models #172

mahesh11T opened this issue Feb 19, 2024 · 0 comments

Comments

@mahesh11T
Copy link

YOLOv8:

type: yolov8
name: yolov8m-r20230415
display_name: YOLOv8m Ultralytics
model_path: yolov8m.onnx
confidence_threshold: 0.45
input_height: 640
input_width: 640
nms_threshold: 0.45
score_threshold: 0.5
classes:
- person
- bicycle

proposed

if we want to use any other onnx model apart from yolo, we should be able to give path to code where model can be loaded and also inference code for bbox.

custom_onnx_model

load_model_code: load_model.py
inference_model_code: inference_model.py
type: custom_model
name: yolov8m-r20230415
display_name: my_custom_model
model_path: custom.onnx
confidence_threshold: 0.45
input_height: 640
input_width: 640
nms_threshold: 0.45
score_threshold: 0.5
classes:
- abc
- 124
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant