fix: upgrade ONNX Runtime to 1.18.0 for IR v10, mark Detection models as optional
This commit is contained in:
+5
-5
@@ -11,11 +11,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
wget \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# 安装 ONNX Runtime
|
||||
RUN wget -q https://github.com/microsoft/onnxruntime/releases/download/v1.16.3/onnxruntime-linux-x64-1.16.3.tgz \
|
||||
&& tar -xzf onnxruntime-linux-x64-1.16.3.tgz \
|
||||
&& mv onnxruntime-linux-x64-1.16.3 /usr/local/onnxruntime \
|
||||
&& rm onnxruntime-linux-x64-1.16.3.tgz
|
||||
# 安装 ONNX Runtime 1.18.0 (支持 IR version 10)
|
||||
RUN wget -q https://github.com/microsoft/onnxruntime/releases/download/v1.18.0/onnxruntime-linux-x64-1.18.0.tgz \
|
||||
&& tar -xzf onnxruntime-linux-x64-1.18.0.tgz \
|
||||
&& mv onnxruntime-linux-x64-1.18.0 /usr/local/onnxruntime \
|
||||
&& rm onnxruntime-linux-x64-1.18.0.tgz
|
||||
|
||||
ENV ONNXRUNTIME_DIR=/usr/local/onnxruntime
|
||||
ENV PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
|
||||
|
||||
Reference in New Issue
Block a user