Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mahdizynali/mazenet

Mnist digits multi perceptron neural-network training from scratch with c++ and opencv matrix. (nn with c++)
https://github.com/mahdizynali/mazenet

artificial-intelligence classification cpp cpp-neural-network cpp-training machine-learning mnist mnist-cpp multi-classification neural-network neural-networks opencv preceptron scratch training

Last synced: 6 days ago
JSON representation

Mnist digits multi perceptron neural-network training from scratch with c++ and opencv matrix. (nn with c++)

Awesome Lists containing this project

README

        

# MazeNet
Mnist multi perceptron neural-network training from scratch with c++ and opencv matrix. \
in this repository there are two folder that includes folder contains header files and src contains cpp programs.
## How to train
First clone repository via this command :
```
git clone https://github.com/mahdizynali/MazeNet.git
```
Now try to run shell script easy to use :
```
chmod a+x run.sh
```
```
./run.sh
```
### Run as developer
after that you have to extract dataset from compress file (dataset.tar.xz).
tar.xz is being support by linux & mac systems. \
you would change config.hpp header in order to set your hyperparameter as you need.

```
# define l_rate 0.005
# define total_epochs 10
# define batch_size 64
```
right now inside MazeNet folder follow these commands to build and run training loop :
```
mkdir build && cd build
```
```
make
```
Or try this for a bit faster :
```
make -j`nproc`
```
finally run the program :
```
./maze
```
after training , neuron weights will recive and save into a yml file besides maze program.