I am testing the DensityLungSegmentation extension, as available in Extension Manager in Slicer 5.0.2 in Python 3.9.10/macOS 12.4 setting. It seems the precomputed GMM model that the extension uses was generated with some older libraries – Python 3.8.5, scikit learn 0.23.2, etc. – and, as expected, Slicer issues a warning:
/Users/ashipde/Applications/Slicer.app/Contents/lib/Python/lib/python3.9/site-packages/sklearn/base.py:329: UserWarning: Trying to unpickle estimator GaussianMixture from version 0.23.2 when using version 1.1.1. This might lead to breaking code or invalid results. Use at your own risk. For more info please refer to: https://scikit-learn.org/stable/model_persistence.html#security-maintainability-limitations warnings.warn(
The extension works and generates results, but is the likelihood of inaccuracy high?