Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bllmo opened this issue Sep 21, 2023 · 1 comment

Comments

@bllmo
Copy link

bllmo commented Sep 21, 2023

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.

@snazzer
Copy link

snazzer commented May 21, 2024

I ran into a similar problem in #566, I put a PR there that hopefully fixes it. However, I'm not clear what the contribution guidelines are, so not sure how to move it forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants