Comments (7)
from emsphinx.
Hi Marc,
Thanks for the really quick reply! I believe this set was uncompressed.. but before I say that for sure I'll gather another dataset and see if I get the same error.
I do have another series of patterns which I exported (an incredible pain storage wise) and will use your Matlab code to generate a .data file.
Let me play around with that and gather another uncompressed .ebsp dataset and report back.
Thanks, Marc!
Ben
from emsphinx.
Hey @marcdegraef
Finally got back to this issue. I have rescanned a couple datasets with uncompressed patterns. Same issue is arising with the
"vector subscript out of range" when previewing patterns.
Hopefully this isn't too complicated of a fix..
Thanks for all of your help!
Ben
from emsphinx.
Hi Ben,
I managed to get it working by incorporating this pull request. It looks like the height and width of the patterns is switched around in the histogram equalization code. I think the Ni example data has square patterns, so it is not an issue, but the .ebsp files typically have rectangular patterns where this becomes an issue.
I found another issue with pattern batch sizes when working with .ebsp files before I finally got it working, but will raise it as a separate issue. If I make the batch size equal to a factor of the total number of patterns, then it completes the analysis.
Johan
from emsphinx.
Hey Johan,
Thank you for the update! I'll incorporate your pull request and see how it plays with my data. I will report back with any findings.
Cheers,
Ben
from emsphinx.
Hi Ben,
I managed to get it working by incorporating this pull request. It looks like the height and width of the patterns is switched around in the histogram equalization code. I think the Ni example data has square patterns, so it is not an issue, but the .ebsp files typically have rectangular patterns where this becomes an issue.
I found another issue with pattern batch sizes when working with .ebsp files before I finally got it working, but will raise it as a separate issue. If I make the batch size equal to a factor of the total number of patterns, then it completes the analysis.
Johan
Hey Johan,
Solution worked for me but towards the end of analysis I get another error. Is this what you have seen as well?
Cheers,
from emsphinx.
Hi Ben,
I have created another issue for this error: #13
You have 255x196 = 44100 patterns in the .ebsp file. Under "Indexing parameters" on the right, try setting the "batchsize" to say 100, which is a factor of the total number of patterns. At the moment it is set to 0, which will automatically determine the batchsize. This number might not be a factor of the total number of patterns. Some initial debugging shows that this error might be related to reading the last partial batch from the .ebsp in the following loop of the index_ebsd.cpp file.
size_t batches = idxData.pat->numPat() / nml.batchSize;//how many batches are needed
if(batches * nml.batchSize < idxData.pat->numPat()) ++batches;//extra batch for leftovers
for(size_t i = 0; i < batches; i++) {//loop over batches
const size_t start = i * nml.batchSize;//first pattern
const size_t end = std::min(start + nml.batchSize, idxData.pat->numPat());//last pattern
pool.schedule(std::bind(idxData.workItem, std::placeholders::_1));//queue indexing
}
Please also make sure to output the vendor file as ".ang" and not ".ctf" as it will give another error. I have logged this as a separate issue #14. You might also find the discussions on the pattern center determination on the Oxford system useful.
from emsphinx.
Related Issues (18)
- Wigner Table Tests Fail on Windows HOT 1
- .ang phase labeling HOT 2
- use normalized spherical cross correlation
- Error when indexing .ebsp file: Can't dereference out of range vector iterator HOT 1
- Error when writing .ctf vendor file after indexing HOT 1
- Installation Issue
- Error when indexing .ebsp file produced by AZtec 6.0 HOT 21
- Read failed for the EBSD data set that was converted from Bruker (.bcf) to .h5 using the converter. HOT 1
- Programs have runtime_error on CentOS7 build
- Can't Launch Downloaded .exe with MacOS HOT 2
- GUI crash after saving .h5 output file
- Opening .ang files created by EMSphInx in OIM software HOT 3
- Please make git repository requirement optional HOT 1
- Incorrect search for libfftw HOT 1
- binned detector height incorrectly rounded to 94 (from 96.3) for 5x5 binning HOT 2
- What will the upcoming Python bindings entail?
- TKD: SHT preparation and indexing errors HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emsphinx.