Hi,
I increased the memory, and it ran partially to create the segmented input images, however I reached this error that I don't quite understand:
2023-05-10 17:16:15.526359: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2023-05-10 17:16:15.609260: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2023-05-10 17:16:18.907335: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
using 1 thread
Segmentation of reference image already exists; reading from disk
Segmentation of floating image already exists; reading from disk
Linear registration
Computing centroids and estimating affine transform
Traceback (most recent call last):
File "/scratch.global/tpengo/freesurfer/python/scripts/mri_easyreg", line 1809, in <module>
main()
File "/scratch.global/tpengo/freesurfer/python/scripts/mri_easyreg", line 194, in main
Mflo = getM(atlasCOG[:, ok > 0], floCOG[:, ok > 0])
File "/scratch.global/tpengo/freesurfer/python/scripts/mri_easyreg", line 1198, in getM
x = np.matmul(np.linalg.inv(np.matmul(np.transpose(A), A)), np.matmul(np.transpose(A), b))
File "<__array_function__ internals>", line 180, in inv
File "/scratch.global/tpengo/freesurfer/python/lib/python3.8/site-packages/numpy/linalg/linalg.py", line 552, in inv
ainv = _umath_linalg.inv(a, signature=signature, extobj=extobj)
File "/scratch.global/tpengo/freesurfer/python/lib/python3.8/site-packages/numpy/linalg/linalg.py", line 89, in _raise_linalgerror_singular
raise LinAlgError("Singular matrix")
numpy.linalg.LinAlgError: Singular matrix
Nadia Kane Junior Imaging Specialist University Imaging Centers | University of Minnesota |
|