check_requirements(('coremltools',)) (#4478)

* `check_requirements(('coremltools',))`

* Update ci-testing.yml

* Update ci-testing.yml
This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-08-18 21:16:57 +02:00
1 parent 1d65e8194d
commit d1182c4f29
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -87,6 +87,7 @@ def export_coreml(model, img, file):
# CoreML model export
prefix = colorstr('CoreML:')
try:
check_requirements(('coremltools',))
import coremltools as ct
print(f'\n{prefix} starting export with coremltools {ct.__version__}...')