Skip to content

Commit 8318962

Browse files
authored
fix bug with docker container directory (#1709)
1 parent ac65ad3 commit 8318962

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sample-apps/endoscopy/update_cvat_model.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ fi
3838
if [ $FUNC_NAME == "deepedit" ];then
3939
MODEL_PATH="$APP_ROOT/model/$FUNC_NAME.pt"
4040
# Replace prior pretrained model with lastest model as current pre-trained model
41-
MODEL_CONTAINER="/opt/conda/monailabel/sample-apps/endoscopy/model/pretrained_$FUNC_NAME.pt" # default model path at function container
41+
MODEL_CONTAINER="/usr/local/monailabel/sample-apps/endoscopy/model/pretrained_$FUNC_NAME.pt" # default model path at function container
4242
else
4343
# if bundle is used, get bundle name and fetch the model
4444
BUNDLE_NAME=${BUNDLENAMES[$FUNC_NAME]}
4545
MODEL_PATH="$APP_ROOT/model/$BUNDLE_NAME/models/model.pt"
4646
# Update to bundle nuclio container
47-
MODEL_CONTAINER="/opt/conda/monailabel/sample-apps/endoscopy/model/$BUNDLE_NAME/models/model.pt" # default model path at function container
47+
MODEL_CONTAINER="/usr/local/monailabel/sample-apps/endoscopy/model/$BUNDLE_NAME/models/model.pt" # default model path at function container
4848
fi
4949

5050
# Check if latest model checkpoint is done and saved.

0 commit comments

Comments
 (0)