Code Monkey home page Code Monkey logo

irf's People

Contributors

r-zemblys avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

irf's Issues

ValueError raised

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!

i2mc feature extraction error via MATLAB

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);

Error When Traing

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’

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.