Fail to post process label on MONAI Label Server using Histogram+GraphCut #711
-
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 7 replies
-
Sorry for the bad layout, here is the reorganized one: In the Slicer error pop-up:
In the console:
|
Beta Was this translation helpful? Give feedback.
-
It's because if simple crf package nor installed with all dependency.. I suggest to remove and install again.. you can also try some older stable version if latest version didn't work.. older version gets compiled during setup based on OS |
Beta Was this translation helpful? Give feedback.
-
Thanks for opening this discussion, @eufmike. As @SachidanandAlle suggested, it seems SimpleCRF is not installed. Try what he recommends and please let us know. BTW, if getting future errors, the logs are definitely more informative to us than the error you see in Slicer. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
I also saw this issue, and was able to get around it by upgrading numpy from 1.21.5 to 1.22.1.
It seems like this may have been introduced by #671 ? Trying to
so it seems that later version of numpy was necessary? |
Beta Was this translation helpful? Give feedback.
-
I have solved this problem with @adamaji 's suggestion. However, my numpy was 1.22.3, so here is my understanding: When the monai is installed, for some reasons, two version of numpy was installed in my conda env, numpy and numpy-base:
Following @adamaji 's suggestion, I first uninstalled numpy (1.22.3), then upgrade numpy-base:
The numpy-base will be uninstalled and upgrade. After that, there is only one numpy left:
I haven't tested it, but I believe one can solve the problem by uninstalling numpy-base (1.21.5) at the beginning. Thank you all, especially @adamaji ,for suggestion and testing. |
Beta Was this translation helpful? Give feedback.
-
this problem have been taken in latest release candidates. |
Beta Was this translation helpful? Give feedback.
this problem have been taken in latest release candidates.
The dependencies are fixed for the scribbles method.
https://github.com/Project-MONAI/MONAILabel#release-candidate