From 26bd8cde47ebc2514692cd9167ef1a7ddfe94256 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Sun, 30 Apr 2023 21:46:45 -0500 Subject: [PATCH] fix(exe): load extras file from model path again --- exe/onnx-web-full.bat | 2 +- exe/onnx-web-half.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exe/onnx-web-full.bat b/exe/onnx-web-full.bat index b6b7296a..04347672 100644 --- a/exe/onnx-web-full.bat +++ b/exe/onnx-web-full.bat @@ -6,7 +6,7 @@ set ONNX_WEB_OUTPUT_PATH=%ONNX_WEB_BASE_PATH%\outputs REM customize these as needed set ONNX_WEB_CACHE_MODELS=0 -set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_BASE_PATH%\extras.json +set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_MODEL_PATH%\extras.json REM convert models and launch the server @echo Launching onnx-web in fp32 mode... diff --git a/exe/onnx-web-half.bat b/exe/onnx-web-half.bat index c8816fca..4c932251 100644 --- a/exe/onnx-web-half.bat +++ b/exe/onnx-web-half.bat @@ -7,7 +7,7 @@ set ONNX_WEB_OUTPUT_PATH=%ONNX_WEB_BASE_PATH%\outputs REM customize these as needed set ONNX_WEB_BLOCK_PLATFORMS=cpu set ONNX_WEB_CACHE_MODELS=0 -set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_BASE_PATH%\models\extras.json +set ONNX_WEB_EXTRA_MODELS=%ONNX_WEB_MODEL_PATH%\extras.json REM convert models and launch the server @echo Launching onnx-web in fp16 mode...