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?
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:
it doesn't work either...
am I doing something wrong?