ICLabel: Difference between revisions

From Center for Cognitive Neuroscience
Jump to navigation Jump to search
(add information about compiling MatConvNet for ICLabel on Hoffman)
 
 
Line 6: Line 6:
  # load env
  # load env
  module load gcc/4.9.3  # 4.8 or newer
  module load gcc/4.9.3  # 4.8 or newer
  module load matlab/9.1 # R2015b or newer
  module load matlab # R2015b or newer
   
   
  # open matlab
  # open matlab

Latest revision as of 19:05, 12 January 2022

How to properly install ICLabel on Hoffman

After downloading ICLabel and placing it in the eeglab plugins folder, MatConvNet should be compiled for optimal CPU computations.

First, request an interactive session, then load the required software:

# load env
module load gcc/4.9.3   # 4.8 or newer
module load matlab	# R2015b or newer

# open matlab
matlab &

Once Matlab is open, change the directory to the MatConvNet folder and compile the library using the following:

% compile matconvnet
cd eeglab/plugins/ICLabel1.2.6/matconvnet
addpath matlab

% configure mex to use 'g++'
mex -setup C++
vl_compilenn('verbose', 1)

% test library
vl_testnn

Resources