Skip to content

ValueError: Buffer dtype mismatch when running anonlink.candidate_generation.find_candidate_pairs on AWS Glue #595

@bllmo

Description

@bllmo

When running the following code snippet on AWS Glue:

results_candidate_pairs = anonlink.candidate_generation.find_candidate_pairs(
    [
     ...
    ],
    [
    ...
    ]
    anonlink.similarities.dice_coefficient_accelerated,
    0.9,
)

I encounter the following error:

ValueError: Buffer dtype mismatch, expected 'const char' but got 'signed char'

I tried using anonlink.similarities.dice_coefficient_accelerated_python as an alternative, and it did not produce the error. However, this alternative is significantly slower, making it impractical for large datasets.

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