Open eafpres opened 5 months ago
Update--this may be a Python3.11-related issue. I have tested downgrading the server to Python3.9 and things seem too work then. I did try loading Python3.11 on my dev system and re-saving the model, but still got the error on the Python3.11 server.
hey, can you try this branch to see if it resolves the issue on python 3.11? https://github.com/lmcinnes/umap/pull/1123
I can confirm this is related to the python version. How should I proceed?
@timsainb I can see the #1123 has conflicts to be resolved. Is this in a shape that I could use for building a custom version to see if it solves the issue or do you want to rebase first?
We are just about to pull in an updated version of Parametric UMAP https://github.com/lmcinnes/umap/pull/1153 so my plan is to wait till that is pulled in to integrate #1123
Describe the bug
To Reproduce Steps to reproduce the behavior: ubuntu 20.04 Python 3.11 umap-learn==0.5.3
1) create an embedding:
2) attempt to load the model on a different linux machine using load_ParametricUMAP()
3)
Expected behavior On another machine this worked. I believe it is a subtle pickle issue. I had issues with other pickle files, which was solved by using pickle.dump(object, open(filename), protocol = 2). I have not figured out how to get umap to use the protocol.
Desktop (please complete the following information):