Project-MONAI / Project-MONAI/MONAILabel

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

Open
#1,708 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
891
Forks
269
Avg merge
15h 41m
Merged PRs (30d)
1

Description

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!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with sample-apps/endoscopy/update_cvat_model.sh, especially the variables around lines 41 and 47 and the docker cp command at line 54. Reproduce the endoscopy CVAT/Nuclio workflow, inspect the container path that contains the model weights, and verify that the updated weights are copied successfully into the Nuclio container.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops, infrastructure
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.