Skip to content

nnInteractive 2.2.0 incompatible with Itksnap-dls 0.1.2: use_pinned_memory argument removed #236

Description

@jdepassier

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions