Skip to content

Commit

Permalink
Remove OpenVINO ONNX opset<=12 check (ultralytics#7398)
Browse files Browse the repository at this point in the history
No longer needed.
  • Loading branch information
glenn-jocher committed Apr 12, 2022
1 parent d7db071 commit 5c4587f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion export.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5c4587f

Please sign in to comment.