-
Notifications
You must be signed in to change notification settings - Fork 33
Description
When running quickstart.ipynb in get_brainiac_saliencymap or when running generate_segmentation.py the code fails as it cannot import NiftiSaver
Even when running any function I get the following warnings from Monai.
Upon inspecting, in requirements.txt it forces monai==1.3.2, but in that version pkg_resources is not used anymore and NiftiSaver has been deprecated in monai 1.1 and removed in all later versions.
Which one should I use?
C:\Users\User\anaconda3\envs\brainiac\lib\site-packages\monai\utils\module.py:399: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
pkg = import(module) # top level module
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'monai.savers'