Code Monkey home page Code Monkey logo

Comments (6)

fedorov avatar fedorov commented on August 29, 2024

Notably, the error seems to be the same as in #342.

from research-contributions.

jtetrea avatar jtetrea commented on August 29, 2024

Thanks for giving the code a try @deepakri201!

The only thing that I can really give feedback based on the error you shared is to make sure that the notebook and the repository are in the right location...the notebook is originally designed to be executed right alongside the application folder, just as it is in the repository. I see that you changed the reference of the folder to an absolute path instead of the relative one...this shouldn't cause an error, but please verify location on your system is referenced properly. Otherwise try keeping as-is and executing alongside application code.

@fedorov I see the issue that you raised in #342 when trying to execute on Colab that is also similar. If you just run the notebook in Colab without cloning the full repository files, it will not be able to build the container.

from research-contributions.

deepakri201 avatar deepakri201 commented on August 29, 2024

Thanks for responding!

I was able to fix the above error (I had the wrong path name). Now I'm able to run the !monai-deploy package successfully, and also run the load_and_visualize_dicom_image.

However now I am running the following command !monai-deploy run lesion_seg_workflow_app:v1.0 {dcm_dir} output and get the following error about the organ model not being found:

image

I've downloaded the models from the Google drive folder, and placed them in prostate_mri_lesion_seg_app/models as the tutorial says. This is what my folder structure looks like:

image

I've also verified that the model.ts file does in fact exist in the organ folder.

Am I supposed to put the models in a different folder? Thanks!

Deepa

from research-contributions.

jtetrea avatar jtetrea commented on August 29, 2024

Hey @deepakri201 ...that is strange. I am not sure what would be causing this error. I tried some different version of MONAI (I was originally testing with 1.2.0, but 1.3.0 is now available) but I couldn't reproduce. I am using monai==1.3.0 and monai-deploy-app-sdk==0.5.1. Are these the versions you are using?

A way to verify directly would be to try to look inside the docker container with a command like:
docker run --rm -it --entrypoint=/bin/bash lesion_seg_workflow_app:v1.0

This will open a shell in the container and you could look in the /opt/monai/app/models folder and see if the right model is there. If not, then that is the issue and the container is not properly copying in the models during the build. I see nothing wrong with your folder structure or naming, but maybe something else. Please give this a try and let me know.

from research-contributions.

deepakri201 avatar deepakri201 commented on August 29, 2024

Hi @jtetrea,

I checked my version numbers and I'm also using monai==1.3.0 and monai-deploy-app-sdk==0.5.1.

Interestingly, I re-ran everything (!monai-deploy package and !monai-deploy run), and now it seems to find the model just fine :) I was able to go through the notebook without any further issues.

Thank you for your help!

Deepa

from research-contributions.

jtetrea avatar jtetrea commented on August 29, 2024

That is great news! We appreciate your interest in this model. Please reach out if needed as you continue using it. Cheers!

from research-contributions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.