five

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

收藏
Zenodo2021-01-11 更新2026-05-25 收录
下载链接:
https://zenodo.org/record/3668670
下载链接
链接失效反馈
官方服务:
资源简介:
Demo codes for "A brain-inspired architecture for cost-efficient object recognition in shallow neural networks" <strong>1. System requirements</strong><br> - 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. <br> <strong>2. Installation guide</strong><br> - 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<br> Move each file to the proper directory<br> (see the comment in line 4 of each file for proper directory e.g. 'dir = C:\Program Files\MATLAB\...')<br> <strong>3. Instructions for use</strong><br> - By running "Main.m" and selecting code option and figure option (see line 35 - 41 on the Main.m)<br> code options :<br> i) flg_ShowRes : Show the result figure of demo code using the pretrained network (in pretrainedNet.zip)<br> ii) flg_Demo : Run the demo code using a randomly initialized network<br> figure options : flg1 - Result 1 / flg2 - Result 2 / flg3 - Result 3 <strong>cf. Modified MNIST datasets</strong> To separately examine the contribution of high and low-frequency information contained in sample images, we designed three types of modified MNIST datasets. Details are as follows: <strong>Type 1</strong><em>: shape</em>. The “<em>shape</em>” dataset was designed by arranging a hand-written digit of 8 x 8 pixels in the center of a 28 x 28 pixels image. The dataset consists of eight categories depending on the number in the center (1 to 8). For this dataset, only local information (shape) of the digits is required for classification. <br> <strong>Type 2</strong>: <em>position</em>. The “<em>position</em>” dataset was made by the following procedure. First, two digits of 8 x 8 pixels were randomly chosen. Second, these two digits were allocated in a 28 x 28 image, with one of the following position alignments: horizontal (top, middle, bottom), vertical (left, middle, right), or diagonal (45°, 135°). This dataset also consists of eight categories depending on the position only where the digits are located. Note that the shape of each number is irrelevant for classification. <br> <strong>Type 3</strong>: <em>shape-position</em>. The “<em>shape-position</em>” dataset was made by the following procedure. First, a 28 x 28 pixel area was divided into four 14 x 14 areas. Second, two diagonally aligned areas were selected (either 45° or 135°). Third, one of two digits, either “7” or “9”, composed of 8 x 8 pixels was inserted into each selected area. This dataset consists of eight categories depending on both the shape and position of the digits. The reason we chose “7” and “9” among ten numbers is to adjust the difficulty of the task to be similar to that of the previous tasks. Note that this dataset requires both local information (shape) and global information (position) of the digits for classification.
提供机构:
Zenodo
创建时间:
2020-02-18
二维码
社区交流群
二维码
科研交流群
商业服务