-
Notifications
You must be signed in to change notification settings - Fork 60
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
generic_logsumexp with larger point clouds #68
Comments
So I found a work-around, perhaps someone else has the same problems so: [Work-around]
[Feature Request]
[Background] pykeops itself has some problems regarding its cache in /home/username/.cache . It seems to me (speculation!) that if you stop the execution of your code it can happen that some pickle file in the cache is not managed correctly, therefore it becomes empty and from then on, the import of pykeops will fail with the error message 'run out of input' (which in geomloss gets silenced, as mentioned). |
Hello, after following your steps, I still get the above error. How can I solve it? |
Hi jeanfeydy,
I have one question regarding a strange error that occurs when using default geomloss.SampleLoss() with larger point clouds (>= 25k points):
For smaller point clouds (~2500) everything works fine, but for larger ones, I get the error "name 'generic_logsumexp' is not defined". Now, if I change the feature and the point dimension (so instead of 25k points with 3 features, I now have 3 points with 25k features), everything again works fine and the library is much faster (I assume because EMD vanilla is O(num_points ²)) but the output dimensions are randomly shifted, which is still manageable.
I also read in this issue #52 , that someone had the same problem. I reinstalled pykeops and geomloss but the problem remains.
Do you have some idea what could be the cause and how to fix it so that I can use your implementation for large point clouds without the aforementioned work-arounds?
Best Regards
Tobias
The text was updated successfully, but these errors were encountered: