-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
66 lines (51 loc) · 1.35 KB
/
main.cpp
File metadata and controls
66 lines (51 loc) · 1.35 KB
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
#include <iostream>
#include <fstream>
#include <vector>
#include <random>
#include <chrono>
#include "exp_mnist.h"
#include "exp_mnist_epochs.h"
#include "exp_mnist_activations.h"
#include "exp_mnist_params.h"
#include "exp_mnist_rates.h"
#include "exp_mnist_dynamic.h"
#include "exp_mnist_dropout.h"
#include "exp_mnist_overfit.h"
#include "exp_mnist_grad.h"
#include "exp_cifar.h"
#include "exp_cifar_rates.h"
#include "exp_iris.h"
int main() {
srand(time(NULL));
auto first = std::chrono::system_clock::now();
/*
MnistDynamicExperiment exp1;
exp1.run();
MnistRateExperiment exp2;
exp2.run();
MnistEpochExperiment exp3;
exp3.run();
MnistActivationExperiment exp4;
exp4.run();
MnistParamExperiment exp5;
exp5.run();
MnistDropoutExperiment exp6;
exp6.run();
IrisExperiment iris_experiment;
iris_experiment.run();
CifarRateExperiment cifar_experiment;
cifar_experiment.run();
MnistOverfitExperiment exp7;
exp7.run();
*/
MnistGradExperiment exp8;
exp8.run();
// IrisExperiment exp8;
// exp8.run();
auto last = std::chrono::system_clock::now();
auto dur = last - first;
typedef std::chrono::duration<float> float_seconds;
auto secs = std::chrono::duration_cast<float_seconds>(dur);
std::cout << secs.count() << " seconds... \n";
return 0;
}