From 739226b381caa1a6c4579633a06e19f9bdf04178 Mon Sep 17 00:00:00 2001 From: SACHIDANAND ALLE Date: Mon, 24 Oct 2022 13:48:45 -0700 Subject: [PATCH] fix model path for model publish for bundle (#1091) Signed-off-by: Sachidanand Alle Signed-off-by: Sachidanand Alle --- sample-apps/endoscopy/update_cvat_model.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sample-apps/endoscopy/update_cvat_model.sh b/sample-apps/endoscopy/update_cvat_model.sh index 21ba3c411..073866237 100755 --- a/sample-apps/endoscopy/update_cvat_model.sh +++ b/sample-apps/endoscopy/update_cvat_model.sh @@ -44,7 +44,7 @@ else BUNDLE_NAME=${BUNDLENAMES[$FUNC_NAME]} MODEL_PATH="$APP_ROOT/model/$BUNDLE_NAME/models/model.pt" # Update to bundle nuclio container - MODEL_CONTAINER="/opt/conda/monailabel/sample-apps/endoscopy/model/$BUNDLE_NAME/models/model_new2.pt" # default model path at function container + MODEL_CONTAINER="/opt/conda/monailabel/sample-apps/endoscopy/model/$BUNDLE_NAME/models/model.pt" # default model path at function container fi # Check if latest model checkpoint is done and saved. @@ -53,4 +53,4 @@ if [ -z "$MODEL_PATH" ] || [ ! -f "$MODEL_PATH" ]; then else $(docker cp "$MODEL_PATH" "$FUNC_CONTAINER:$MODEL_CONTAINER") echo "Fetched and Published latest model: $FUNC_NAME to the nuclio function container." -fi \ No newline at end of file +fi