Environment:
- ITK-SNAP 4.4.0
- Windows 10
- Python 3.12
Error:
TypeError: nnInteractiveInferenceSession.init() got an unexpected keyword argument 'use_pinned_memory'
Cause:
itksnap-dls 0.1.2 calls nnInteractiveInferenceSession with use_pinned_memory=True in segment.py, but nnInteractive 2.2.0 removed that argument from init().
Fix:
Either pin nninteractive<=2.1.0 in itksnap-dls dependencies, or remove the use_pinned_memory argument from the nnInteractiveInferenceSession call in segment.py.
Environment:
Error:
TypeError: nnInteractiveInferenceSession.init() got an unexpected keyword argument 'use_pinned_memory'
Cause:
itksnap-dls 0.1.2 calls nnInteractiveInferenceSession with use_pinned_memory=True in segment.py, but nnInteractive 2.2.0 removed that argument from init().
Fix:
Either pin nninteractive<=2.1.0 in itksnap-dls dependencies, or remove the use_pinned_memory argument from the nnInteractiveInferenceSession call in segment.py.