r-zemblys / irf

Eye-movement event detection using random forest
MIT License
17 stars 11 forks source link

Error When Traing #2

Open sujan0991 opened 3 years ago

sujan0991 commented 3 years ago

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’

r-zemblys commented 3 years ago

It is definitely because Matlab script failed. You need to look if there are any error messages when running Matlab. Alternative is to exclude i2mc feature from training (delete it from config.json)