Demo codes for "A brain-inspired architecture for cost-efficient object recognition in shallow neural networks"

1. System requirements
- MATLAB (2019a or 2019b is recommended.)

- Installation of Deep Learning Toolbox

- Uploaded codes were tested using MATLAB 2019a and 2019b.

- No non-standard hardware is required to run the codes.


2. Installation guide
- Download "LRC_code.zip" and unzip the file.

- Download "DATASET_ori.zip","pretrainedNet.zip" and unzip on same file.

- Choose the proper subfolder of 'fun_modifed_toolbox' which is matched to your MATLAB version and
  Move each files to proper directory
  (see the comment in line 4 of each file for proper directory  e.g. 'dir = C:\Program Files\MATLAB\...')


3. Demo and instructions for use
- By running "Main.m" and selecting code option and figure option (see line 35 - 41 on the Main.m)
  code options
   i) flg_ShowRes : Show the result figure of demo code using pretrained network (in pretrainedNet.zip)
   ii) flg_Demo : Run the demo code using a randomly initialized network
  figure options : flg1 - Result 1 / flg2 - Result 2 / flg3 - Result 3 