removed yoloworld support

mct-2.1.1
Francesco Mattioli 4 months ago
parent ae6b7755f1
commit 1ea6b563ed
  1. 1
      ultralytics/utils/benchmarks.py

@ -114,6 +114,7 @@ def benchmark(
if i in {12}: # NCNN
assert not isinstance(model, YOLOWorld), "YOLOWorldv2 NCNN exports not supported yet"
if i in {13}: # MCT
assert not isinstance(model, YOLOWorld), "YOLOWorldv2 MCT exports not supported"
assert model.task == "detect", "MCT only supported for detection task"
assert "C2f" in model.__str__(), "MCT only supported for YOLOv8"
if "cpu" in device.type:

Loading…
Cancel
Save