ENHANCE-PET / MOOSE

MOOSE (Multi-organ objective segmentation) a data-centric AI solution that generates multilabel organ segmentations to facilitate systemic TB whole-person research.The pipeline is based on nn-UNet and has the capability to segment 120 unique tissue classes from a whole-body 18F-FDG PET/CT image.
https://enhance.pet
GNU General Public License v3.0
196 stars 28 forks source link

BUG: I can't download the models #95

Closed Daniloper closed 10 months ago

Daniloper commented 10 months ago

Hi everyone!

Describe the bug I can not use a model, that I haven't used before, because the model can not be downloaded. For example: moosez -d /path/ -m clin_ct_lungs

To Reproduce

  1. Try to use a model that you haven't used before

Screenshots Screenshot from 2024-01-28 17-03-18

Desktop (please complete the following information):

LalithShiyam commented 10 months ago

Hi @Daniloper, Could you please let me know the version of moose you are using. We have migrated from ibm to aws. So the links from old versions will not work. Check if the version is the latest. If it's an old version, please reinstall the latest version in a fresh environment. Ideally it should work. Kindly let me know. Cheers, Lalith

Daniloper commented 10 months ago

Hi Lalith, I am using v2.0.0. I installed it in December and the download was working back then.

LalithShiyam commented 10 months ago

Hi there, I would be needing the exact version of moose. You are talking about the "major release". But I need the exact version. For example, the latest moosez version is v2.3.9.

You can check your actual version by typing:

pip show moosez

If it's anything other than 2.3.9. You need to upgrade the moosez version. Or reinstall from scratch in a new environment by following the installation steps.

Daniloper commented 10 months ago

Yes I am using v2.3.4 I am going to try to upgrade it.

Thank you!

LalithShiyam commented 10 months ago

Great please keep me posted if it works out.

LalithShiyam commented 10 months ago

Hi @Daniloper, Is this solved or are you still having troubles? Kindly let me know. Cheers, Lalith

Daniloper commented 10 months ago

Hi @LalithShiyam , I have upgraded the moose. The model downloading is working well. But the MPS check causes error. I had to commented the MPS checking rows in order to make the segmentation work.

LalithShiyam commented 10 months ago

Could you elaborate more on the MPs check please. I am happy to fix it in the main branch.

Daniloper commented 10 months ago

I get the following error:

error

Keyn34 commented 10 months ago

Hey @Daniloper, what is your NVIDIA driver version? According to the posted error, it seems to be too old.

Daniloper commented 10 months ago

I have no GPU in that maschine. It is expected to run on CPU. But before the running could start, the MPS error occures.

mprires commented 10 months ago

Hi, @Daniloper! I was able to reproduce your error and found a fix. Should be online now, test it and let us know :)

LalithShiyam commented 10 months ago

In 2.4.0 - it's fixed!

LalithShiyam commented 10 months ago

Hi @Daniloper kindly let us know if the error goes away from moosez 2.4.0. So that we can close the issue :)! Thanks again for pointing us towards the bug. Much appreciated!

Daniloper commented 10 months ago

Hi @LalithShiyam, I have tried the v2.4.0. It is working. Everything is fine now. Thank you!

LalithShiyam commented 10 months ago

@Daniloper fantastic! Closing this!