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

Process.from_disk throws TypeError: too many positional arguments #7

Closed
AdiGro opened this issue Sep 26, 2024 · 7 comments
Closed

Process.from_disk throws TypeError: too many positional arguments #7

AdiGro opened this issue Sep 26, 2024 · 7 comments

Comments

@AdiGro
Copy link
Contributor

AdiGro commented Sep 26, 2024

I am trying to load pretrained data using Process.from_disk(filename) but it throws a TypeError
Full traceback: https://basedbin.fly.dev/p/odbTJx.py

@x-tabdeveloping
Copy link
Owner

Can you reproduce the error somehow or give me some code examples?

@AdiGro
Copy link
Contributor Author

AdiGro commented Sep 26, 2024

Sure! Have a look at this gist

@x-tabdeveloping
Copy link
Owner

Thanks! It seems to me that there must be some issue with pickling PyNNDescent objects, I will look into this.

@x-tabdeveloping
Copy link
Owner

It seems that we're not the only ones having this issue: lmcinnes/pynndescent#247
I have seen other Github threads also complain about this, mainly on UMAP.
From what I'm seeing it seems like these pickling errors appear with certain versions for the most part and not with others.

@AdiGro
Copy link
Contributor Author

AdiGro commented Sep 27, 2024

Yes, thank you for your response. I tried downgrading the library to an older version and it worked fine. You can have a look here.
I could PR and change the dependency version if you'd like.

@x-tabdeveloping
Copy link
Owner

I'd really appreciate that actually, thanks

@x-tabdeveloping
Copy link
Owner

I have merged your PR and published the new version. Thanks for your time :D I'm closing the issue

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