sccn / amica

Code for AMICA: Adaptive Mixture ICA with shared components
BSD 2-Clause "Simplified" License
23 stars 13 forks source link

Unrecognized field name "W" #37

Open d-scanzi opened 2 years ago

d-scanzi commented 2 years ago

Hi there,

As reported by other users, sometimes a fresh install of the AMICA plugin leads to the following error:

No gm present, setting num_models to 1
No W present, exiting
Unrecognized field name "W".

Error in runamica15 (line 895)
    weights = mods.W(:,:,1);

Error in pop_runamica (line 341)
    [W,S,mods] = runamica15(EEG.data(:,:),arglist{:});

Error while evaluating Menu Callback.

I faced this problem when I installed the plugin through EEGLAB. However, no problems occurred when I manually downloaded the directory from Github. Other colleagues experienced the same issue. Comparing the two installation folders, the one installed from EEGLAB missed the libiomp5md.dll driver. Adding this file to the AMICA1.6.1 directory solved the problem and ICA started correctly.

Would it be possible to look into this?

Thank you!