-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run prostate-mri-lesion-seg on Colab #342
Comments
Thanks @fedorov for giving this a try. The notebook was not intended to be executed standalone on Colab. It references application code and so the full repository should be present and available. Executing on Colab, just with the notebook, would be possible if some cells were added to write the application files locally throughout. This would be similar to other MONAI Deploy examples such as the segmentation app tutorial here. This would be possible and may be added in the future but for now the tutorial.ipynb should be used with full repository available locally. |
Ok, thanks for the clarification. This time I cloned the entire repository, downloaded model weights, and ran the command from the repo. This is the next error:
So I manually installed SimpleITK, monai, pydicom and highdicom packages, which were missing. After that I hit the error below, which indicates that unfortunately it won't be possible to use this notebook in Colab, since it requires docker, which is not supported in Colab, and there are no plans to support it (see googlecolab/colabtools#299 (comment)).
Thus, I am closing this issue. What I would like to be able to do is impossible. |
Thanks @fedorov. Yes, MONAI MAPs are containerized solutions for deployment of MONAI models. By the way, there are also some additional scripts in the repository, such as the |
@fedorov were you able to try the offline test of the repository on Colab as suggested above? If not, no worries. I reopened the issue, but feel free to close at your discretion. |
@jtetrea I do not have time to do this deep of an investigation. I still think having a notebook that works out of the box with Colab would significantly improve visibility and accessibility of this model. But it's not my project, and I can't make the time to work on fixing it. If you don't have interest/time either, please feel free to close this issue! |
No problem. I agree that having a mechanism to work directly on Colab may improve accessibility for some users. We will consider this as we plan to create extensions and updates to this repository in the near future. Thanks! |
@jtetrea trying to run this notebook https://github.com/Project-MONAI/research-contributions/blob/main/prostate-mri-lesion-seg/tutorial.ipynb on Google Colab leads to this error:
If this notebook is not expected to run on Colab, it would be nice to indicate the prerequisites/limitations in the opening paragraph.
But also it would be nice to make it work on Colab, since IMHO it is the easiest way to try things out quickly.
The text was updated successfully, but these errors were encountered: