You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm very excited to use this fastsam extension for 3dslicer. I recently have run into issues for T1w from OASIS1 dataset when i try to input include and exclude points on the volume I get this singular affine matrix error and no segmentation registers. Wondering if others have run into this in the past. Thanks!
Error.
Traceback (most recent call last):
File "<hidden_path>/fastsam.py", line 293, in onMarkupIncludePointPositionDefined
self.addPoint(caller, self.logic.include_coords)
File "<hidden_path>/fastsam.py", line 353, in addPoint
coords = np.round(np.linalg.inv(self.logic.affine) @ np.array(coords).T)
File "<hidden_path>/numpy/linalg/linalg.py", line 561, in inv
ainv = _umath_linalg.inv(a, signature=signature, extobj=extobj)
File "<hidden_path>/numpy/linalg/linalg.py", line 112, in _raise_linalgerror_singular
raise LinAlgError("Singular matrix")
numpy.linalg.LinAlgError: Singular matrix
The text was updated successfully, but these errors were encountered:
Hello,
I'm very excited to use this fastsam extension for 3dslicer. I recently have run into issues for T1w from OASIS1 dataset when i try to input include and exclude points on the volume I get this singular affine matrix error and no segmentation registers. Wondering if others have run into this in the past. Thanks!
Error.
Traceback (most recent call last):
File "<hidden_path>/fastsam.py", line 293, in onMarkupIncludePointPositionDefined
self.addPoint(caller, self.logic.include_coords)
File "<hidden_path>/fastsam.py", line 353, in addPoint
coords = np.round(np.linalg.inv(self.logic.affine) @ np.array(coords).T)
File "<hidden_path>/numpy/linalg/linalg.py", line 561, in inv
ainv = _umath_linalg.inv(a, signature=signature, extobj=extobj)
File "<hidden_path>/numpy/linalg/linalg.py", line 112, in _raise_linalgerror_singular
raise LinAlgError("Singular matrix")
numpy.linalg.LinAlgError: Singular matrix
The text was updated successfully, but these errors were encountered: