myCNN
The first CNN appeared in the work of Fukushima in 1980 and was called Neocognitron. The basic architectural ideas behind the CNN (local receptive fields,shared weights, and spatial or temporal subsampling) allow such networks to achieve some degree of shift and deformation invariance and at the same time reduce the number of training parameters.
Since 1989, Yann LeCun and co-workers have introduced a series of CNNs with the general name LeNet, which contrary to the Neocognitron use supervised training. In this case, the major advantage is that the whole network is optimized for the given task, making this approach useable for real-world applications.
LeNet has been successfully applied to character recognition, generic object recognition, face detection and pose estimation, obstacle avoidance in an autonomous robot etc.
myCNN class allows to create, train and test generic convolutional networks (e.g., LeNet) as well as more general networks with features:
- any directed acyclic graph can be used for connecting the layers of the network;
- the network can have any number of arbitrarily sized input and output layers;
- the neuron’s receptive field (RF) can have an arbitrary stride (step of local RF tiling), which means that in the S-layer, RFs can overlap and in the C-layer the stride can differ from 1;
- any layer or feature map of the network can be switched from trainable to nontrainable (and vice versa) mode even during the training;
- a new layer type: softmax-like M-layer.
The archive contains the myCNN class source (with comments) and a simple example of LeNet5 creation and training.
All updates and new releases can be found here: http://sites.google.com/site/chumerin/projects/mycnn
Cita come
Nikolay Chumerin (2024). myCNN (https://www.mathworks.com/matlabcentral/fileexchange/25247-mycnn), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- AI and Statistics > Deep Learning Toolbox >
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation >
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Text Detection and Recognition >
Tag
Riconoscimenti
Ispirato da: CNN - Convolutional neural network class
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.4.0.0 | - a graphical demo (demo_myCNN) added (thanks to Mikhail Sitotenko, submission 24291)
|
||
1.3.0.0 | - the first attempt to make the M-layer trainable
|
||
1.2.0.0 | see ChangeLog inside the archive. |
||
1.1.0.0 | - fixed some bugs related to system dependencies;
|
||
1.0.0.0 |