Browse Source

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

No longer needed.
modifyDataloader
Glenn Jocher GitHub 2 years ago
parent
commit
5333b55e74
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      export.py

+ 0
- 1
export.py View File



# Checks # Checks
imgsz *= 2 if len(imgsz) == 1 else 1 # expand 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)}' assert nc == len(names), f'Model class count {nc} != len(names) {len(names)}'


# Input # Input

Loading…
Cancel
Save