Remove OpenVINO ONNX `opset<=12` check (#7398)

No longer needed.
This commit is contained in:
Glenn Jocher 2022-04-12 14:57:50 +02:00 committed by GitHub
parent 74aaab3312
commit 5333b55e74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -473,7 +473,6 @@ def run(
# Checks
imgsz *= 2 if len(imgsz) == 1 else 1 # expand
opset = 12 if ('openvino' in include) else opset # OpenVINO requires opset <= 12
assert nc == len(names), f'Model class count {nc} != len(names) {len(names)}'
# Input