r-zemblys / irf Goto Github PK
View Code? Open in Web Editor NEWEye-movement event detection using random forest
License: MIT License
Eye-movement event detection using random forest
License: MIT License
i am following the instruction in Readme to parse the data in lookAtPoint_EL
using your pretrained models. i2mc extractor was successfully runned. But a error was raised, said “Changing the dtype to a subarray type is only supported if the total itemsize is unchanged”. I wonder if the version of my numpy(1.16.6) is improper。 Looking forward to your reply!
After properly formatting my data according to the internal data format used by irf, when I run the MATLAB script to extract the i2mc feature I get the following error.
nfile =
1 1
Importing and processing ....\etdata\lookAtPoint_EL_irf\i2mc\tobii_data_i2mc_raw.mat; 1 out of 1
Importing and processing �; Searching for valid interpolation windows
Replace interpolation windows with Steffen interpolation
2-Means clustering started for averaged signal
Error using filtfilt>getCoeffsAndInitialConditions
Data length must be larger than 24 samples.
Error in filtfilt>efiltfilt (line 142)
[b2,a2,zi,nfact,L] = getCoeffsAndInitialConditions(b1,a1,Npts);
Error in filtfilt (line 102)
y = efiltfilt(b,a,x);
Error in twoClusterWeighting (line 97)
ll_d{p+1} = filtfilt(b{p},a{p},ll_d{1});
Error in I2MCfunc (line 159)
[data.finalweights,stopped] = twoClusterWeighting(xpos,ypos,missingn,par.downsamples,par.chebyOrder,par.windowtime,par.steptime,par.freq,par.maxerrors);
Error in I2MC_rz (line 49)
[fix, finalweights] = I2MCfunc(data,opt);
Command attempted:
python run_training.py etdata/lookAtPoint_EL training
What happened:
2%|▊ | 23/1188 [00:00<00:00, 2231.94it/s]
File "run_training.py", line 100, in
i2mc = get_i2mc(etdata, fpath_i2mc, config['geom'])
ValueError: zero-size array to reduction operation minimum which has no identity
More info:
I used ./utils_lib/data_prep/augment.py script to prepare lookAtPoint_EL dataset for training.
It created 792 data for training and 396 for validation.
I followed your instruction and ran ./util_lib/I2MC-Dev/I2MC_rz.m in Matlab. It suppose to create 1188(792+ 296) i2mc file, but it only created 23 file. Why it’s only creating 23 file?.I think I am getting the above error because of that.
Can u tell me what I did wrong in Matlab? I edited the folder data as ‘……etdata/lookAtPoint_EL’
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.