-
Notifications
You must be signed in to change notification settings - Fork 9
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
Demo dataset #63
Comments
Great question - in an effort to keep the github repo as small as possible, we have not included a test dataset, hoping that users will have their own. However, we did include a test dataset in our paper on PyEBSDIndex, and it can be found at https://zenodo.org/records/8400425 |
Thank you :) |
I will assume you are using a conda environment? This indicates that Ray did not get installed. Currently Ray is not packaged in conda-forge, but, you should be able to install this with pip.
More details here: https://docs.ray.io/en/latest/ray-overview/installation.html If that should fail,
|
I will also note that I am not sure Ray supports python 3.12 yet - so that might the issue. If making a conda environment:
should work, then follow the instructions above to install Ray. |
I have installed Python 3.11.7 and Anaconda, and as a result, the file is running well on one of my computers. |
Looks like some kind of Ray error again. This might be related to a Windows firewall or VPN blocking ray from starting up the virtual network? If you can turn those off, that might work.
That is only my best guess at this point. |
So there are two questions here. First, what is wrong with NLPAR, and second, best parameters for indexing: What you can try in the mean time is manually set the number of rows when you create the nlpar object:
This should process only the first 800 rows, and the remaining data will be zeroed out. 2 - The default parameters listed are a fine starting point. The largest adjustment is the value of rSig, which depends on how wide your bands are (on average) across your detector. I have found the range from 1.0--3.0 to be typical. You want to make the peaks on the Radon image to be as prominent as possible. Given the smaller pattern size, you could index somewhat faster with a smaller Radon (and thus scale tSig and rSig appropriately), but you want nR = approximately equal to the smallest dimension of your patterns. I might try this:
If you are indexing multiple phases, and they are not separating well, you might want to try more bands, 8--15 is typical. |
Thank you very much. Adding In addition, I've encountered another issue with index pattern processing. My desktop has a weak configuration: an i5 CPU with 4 cores, 16GB DDR4 RAM, and no GPU. I adjusted the The error notifications always show 6 or 4 running processes remaining and list index out of range, even though completion was 100%. I look forward to your suggestions to help me resolve this issue. |
GAH! Hexagonal grid?! Nuts. Yeah, I have not done anything to account for those. I never collect them, and I was hoping no one else did too. Probably a really bad assumption. But, this would explain the issues. Mainly, it is that I am reading the number of columns/rows out of the header of the file assuming that it is square-grid. The fixes for this will take some time, as I am not exactly sure how those files are always constructed. Hmm - no GPU? Or just integrated graphics? Probably the later, in that your i5 does have a GPU built in, and that should be better than running on just CPU. But, that status line does indicate that no GPUs were detected. Not sure if that is because you set to only use CPUs, or you did not install pyopencl, or if I need to do some double checks on detecting integrated graphics properly. I have a few guesses as to what is up, and that is I was likely to conservative in estimating a timeout on a job being stuck within the band detection process -- which that timeout will be much longer on the CPU than GPU. No easy fix until I send out a new release. However, you could try running non distributed on your laptop to get you through. It will take a while on that hardware, and will not send out a lot of info, but it should get there ... eventually.
You might also be hitting an issue indexing that same file from before - it might be that it is trying to index patterns that are not really present at the end of the file. Try indexing from |
I tried with 'npats = int(800*800)', it was successful. I think the hexagonal grid dataset is the cause of my issues. I'll record my dataset with the square-grid in next time and try the running program again. |
Dear Dave Rowenhorst,
I want to practice analyzing with PyEBSDindex. However, I don't know where the datasets of example.up1 and SLMtest/scan2v3.up1 can be downloaded.
Please, provide their links for me.
Thank you.
Best regards,
Ngoc
The text was updated successfully, but these errors were encountered: