Im trying to use segmentation-models-pytorch as smp on jupyter notebook but the kernel keeps dying.
I downloaded the latest version (0.3.3) if i try to import it shows the torch error: shm.dll or one of its dependencies
”’
OSError: [WinError 126] The specified module could not be found. Error loading “C:UsersUSERAppDataLocalPackagesPythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0LocalCachelocal-packagesPython312site-packagestorchlibshm.dll” or one of its dependencies.
”’
i tried looking for solutions and installing torch==2.2.2 fixed the torch issues but if i try and import smp the kernel dies.
installing smp in a conda spyderenv seems to work but i need to work on jupyter
please help its for college
eggsbaconsausage is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.