Add Dockerfile-conda FROM continuumio/miniconda3:latest (#4706)
This commit is contained in:
parent
02b857e14c
commit
a1c1d6b483
10 changed files with 152 additions and 28 deletions
|
|
@ -154,7 +154,8 @@ class Exporter:
|
|||
format = self.args.format.lower() # to lowercase
|
||||
if format in ('tensorrt', 'trt'): # 'engine' aliases
|
||||
format = 'engine'
|
||||
if format in ('mlmodel', 'mlpackage', 'mlprogram', 'apple', 'ios'): # 'coreml' aliases
|
||||
if format in ('mlmodel', 'mlpackage', 'mlprogram', 'apple', 'ios', 'coreml'): # 'coreml' aliases
|
||||
os.environ['PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION'] = 'python' # fix attempt for protobuf<3.20.x errors
|
||||
format = 'coreml'
|
||||
fmts = tuple(export_formats()['Argument'][1:]) # available export formats
|
||||
flags = [x == format for x in fmts]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue