Skip to content

Cannot import pscan_cuda #19

Open
Open

Description

@Maxxxx-he

In 2DMambaMIL/models/pscan_2d.py, the import of pscan_cuda fails. The code falls back to the exception:
try:
from models import pscan_cuda
except:
print('Cannot import pscan_cuda')
There is nothing in that dir
Do you know how to solve this problem?

Activity

  1. jingweizhang-xyz commented on Feb 24, 2026

    @jingweizhang-xyz
    Collaborator

    You need to first build the CUDA kernel according to our instructions and put the built .so file in that directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions