The alignment problem fixed with automatic resizing hidden layers. #48
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build C with Makefiles | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install libzip | |
run: sudo apt install -y libzip-dev | |
- name: Build and install npy_array | |
run: | | |
cd npy_array | |
ls -l | |
./configure | |
make | |
sudo make install | |
- name: configure and make | |
run: | | |
cd src | |
./configure | |
make | |
- name: Build examples (Mushrooms and MNIST) | |
run: | | |
cd examples | |
./configure | |
make | |
- name: Run first mushroom example | |
run: | | |
sudo apt install -y python3-numpy | |
cd examples | |
python3 mushroom_to_numpy.py | |
./example_01 | |
- name: Run second mushroom example | |
run: | | |
cd examples | |
./example_02 | |
- name: Run test_sgd example with odd sizes | |
run: | | |
cd examples | |
./test_sgd | |
- name: Download MNIST data. | |
run: | | |
cd examples | |
wget http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz | |
wget http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz | |
wget http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz | |
wget http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz | |
- name: unzip MNIST data. | |
run: | | |
cd examples | |
gunzip train-images-idx3-ubyte.gz | |
gunzip train-labels-idx1-ubyte.gz | |
gunzip t10k-images-idx3-ubyte.gz | |
gunzip t10k-labels-idx1-ubyte.gz | |
- name: Run MNIST example. (May take some minutes) | |
run: | | |
cd examples | |
./example_03 | |
- name: Compile and run tests | |
run: | | |
cd tests | |
./configure | |
make | |
make run | |