-
Notifications
You must be signed in to change notification settings - Fork 52
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
orix.sampling.get_sample_local() is quite memory intensitve #175
Comments
Resolution is a difficult concept here, so I won't speculate about how many rotations you might actually expect. But the current implementation is very naive (it samples all of orientation space then cuts it back down). I think I could improve upon this. |
Understandable. But 250 is a reasoanble estimate, give or take, I would assume. I haven't used this function before now, but I believe it can be usefuly in our work. I would be happy to assist. |
The basic problems were:
I'm currently having a look and I think we probably could improve things |
Okay, I've now got an idea, could probably get this done for the start of next week, would that be okay? [1] - http://planning.cs.uiuc.edu/node198.html |
Yeah, totally, there is no rush on this! |
I believe |
Yeah that'll double the usage, but I think #175 should still make it a lot smaller. |
Improving the performance of the samplings utils (see #175)
Closed by #177 |
This code fills my 16 GB memory (from 6 GB used before running) immediately
Am I wrong in assuming that this code would give me about 5^3 / 0.5 = 250 rotations about
r
? If I'm right, we should revisit the implementation ofget_sample_local()
.The text was updated successfully, but these errors were encountered: