Skip to content

problem with inference #2

@Ghezzo98

Description

@Ghezzo98

I have my quantized YoloV8m and I'm trying make some inference but I'm facing some errors...
When I run those lines of code:
"
ov_model = YOLO("YOLO8_quantization/quantization_OpenVino/quantized_res/best_noAC_openvino_int8_model/")

results = ov_model("YOLO8_quantization/quantization_OpenVino/foto_prova")
"

I get this error:
"
TypeError: unsupported operand type(s) for &=: 'bool' and 'str'
"

Same error if I try to run those lines:
"
from ultralytics import YOLO
model = YOLO('YOLO8_quantization/quantization_OpenVino/quantized_res/')
model.predict('YOLO8_quantization/quantization_OpenVino/foto_prova' , save = True , save_txt = True)
"

As for the path to the quantized model, I already tried to put:

  • path to the folder
  • path to the .bin file
  • path to the .xml file
    it doesn't work either...

am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions