Skip to content

Commit

Permalink
Fix yolov8_classification params
Browse files Browse the repository at this point in the history
  • Loading branch information
Matvezy committed Jan 17, 2025
1 parent c0cf066 commit be941dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inference/core/models/classification_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ class ClassificationBaseOnnxRoboflowInferenceModel(OnnxRoboflowInferenceModel):

task_type = "classification"

preprocess_means = [0.5, 0.5, 0.5]
preprocess_stds = [0.5, 0.5, 0.5]

def __init__(self, *args, **kwargs):
"""Initialize the model, setting whether it is multiclass or not."""
super().__init__(*args, **kwargs)
Expand Down

0 comments on commit be941dc

Please sign in to comment.