forked from yechengxi/LightNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRunAll.m
68 lines (50 loc) · 1.39 KB
/
RunAll.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
clear all;
cd('./MLP');
disp('Testing training a multilayer perceptron.')
Main_MNIST_MLP_RMSPROP();
cd ..
clear all;
cd('./ReinforcementLearning');
disp('Testing training a Q-network.')
Main_Cart_Pole_Q_Network
cd ..
clear all;
cd('./ReinforcementLearning');
disp('Testing training a policy network.')
Main_Cart_Pole_Policy_Network
cd ..
clear all;
cd('./RNN');
disp('Testing training a Quasi-RNN.')
Main_Char_RNN();
cd ..
clear all;
cd('./CNN');
disp('Testing using a pretrained ImageNet convolutional neural network model.')
Main_CNN_ImageNet_minimal();
cd ..
clear all;
cd('./CNN');
disp('Testing training a new convolutional neural network using SGD.')
disp('An Nvidia GPU is required by default.')
disp('If you do not have it please set use_gpu=0')
disp('Neural Network Toolbox is required by default.')
disp('If you do not have it please set opts.use_nntoolbox=0')
Main_CIFAR_CNN_SGD();
cd ..
clear all;
disp('Second-order SGD test 1.')
cd('./SGD2');
disp('Testing training a new convolutional neural network using SGD2.')
disp('An Nvidia GPU is required by default.')
disp('If you do not have it please set use_gpu=0')
disp('Neural Network Toolbox is required by default.')
disp('If you do not have it please set opts.use_nntoolbox=0')
Main_CIFAR_CNN_SGD2();
cd ..
clear all;
cd('./SGD2');
disp('Second-order SGD test 2.')
disp('SGD2 initialization tests.')
MNIST_Deep_MLP_Init_Comparison();
cd ..