Project-MONAI / MONAILabel

MONAI Label is an intelligent open source image labeling and learning tool.
https://docs.monai.io/projects/label
Apache License 2.0
565 stars 185 forks source link

Unable to update cvat model: Missing path "/opt/conda" inside Nuclio container #1708

Open AdrianaNam opened 2 weeks ago

AdrianaNam commented 2 weeks ago

Describe the bug There is an error with the line command docker cp... line 54 in sample-apps/endoscopy/update_cvat_model.sh. This error is generated by the missing directory for $MODEL_CONTAINER defined in lines 41 & 47. /opt/conda I am guessing this is an error also on the other sample-applications.

To Reproduce Steps to reproduce the behavior, for the endoscopy sample application:

  1. Run the compose docker for CVAT
  2. Start a monailabel_server deploying in CVAT
  3. Start the nuclio container to deploy the model of the current running application.
  4. Try to update the model weights using the file update_cvat_model.sh inside the "workspace/endoscopy" folder of MONAILabel. In this case, we are using endoscopy.

Expected behavior The updated weights should be copied inside the nuclio docker container.

Screenshots

The /opt directory in the nuclio container

image

The actual directory inside the nuclio container that contains the model weights.

image

Environment

Working MONAILabel server using the tutorial in here and here.

Thanks to @mikelitu for helping me out on debugging the problem!