forked from janncker/LeNet5
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
21 lines (17 loc) · 671 Bytes
/
makefile
File metadata and controls
21 lines (17 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
lenet: lenet.c main.c lenet_forward.c forward_func.c cnnapi_base.c cnnapi_base_q.c utils.c
gcc lenet.c main.c lenet_forward.c forward_func.c cnnapi_base.c cnnapi_base_q.c utils.c -lm -o lenet -g
download:
wget -c http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz
wget -c http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz
wget -c http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
wget -c http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz
gzip -d t10k-labels-idx1-ubyte.gz
gzip -d t10k-images-idx3-ubyte.gz
gzip -d train-images-idx3-ubyte.gz
gzip -d train-labels-idx1-ubyte.gz
run:
./lenet
d:
gdb lenet
clean:
rm lenet