4
4
import p3b1_runner
5
5
import nt3_tc1_runner
6
6
7
+ from datetime import datetime
8
+
7
9
def main ():
8
10
9
11
hyper_parameter_map = {'epochs' : 1 }
@@ -14,35 +16,48 @@ def main():
14
16
# hyper_parameter_map['dense'] = [1219, 536]
15
17
# hyper_parameter_map['framework'] = 'keras'
16
18
17
-
18
19
#1 # p1b1 - works
19
20
# hyper_parameter_map['save'] = './p1bl1_testing_failure'
20
21
print ("STARTING#####P1B1##########" )
22
+ ts_p1b1 = datetime .now ()
21
23
p1b1_validation_loss = p1b1_runner .run (hyper_parameter_map )
22
- print ("DONE##########P1B1#####" )
23
-
24
+ te_p1b1 = datetime .now ()
25
+ print ("Validation loss=" ,p1b1_validation_loss )
26
+ print ("DONE##########P1B1#####, TIME=" , te_p1b1 - ts_p1b1 )
27
+
24
28
25
29
#2 # p1b3 - works too big for desktop
26
30
print ("STARTING#####P1B3##########" )
31
+ te_p1b3 = datetime .now ()
27
32
p1b3_validation_loss = p1b3_runner .run (hyper_parameter_map )
28
- print ("DONE######P1B3#########" )
33
+ te_p1b3 = datetime .now ()
34
+ print ("Validation loss=" ,p1b3_validation_loss )
35
+ print ("DONE##########P1B1#####, TIME=" , te_p1b3 - ts_p1b3 )
29
36
30
37
#3 # p2b1 - works
31
38
print ("STARTING#####P2B1##########" )
39
+ te_p2b1 = datetime .now ()
32
40
p2b1_validation_loss = p2b1_runner .run (hyper_parameter_map )
33
- print ("DONE#####P2B1##########" )
41
+ te_p2b1 = datetime .now ()
42
+ print ("Validation loss=" ,p2b1_validation_loss )
43
+ print ("DONE##########P1B1#####, TIME=" , te_p2b1 - ts_p2b1 )
34
44
35
45
#4 # p3b1 - fails - ValueError: invalid literal for int() with base 10: '1200;1200'
36
46
print ("STARTING#####P3B1##########" )
47
+ te_p3b1 = datetime .now ()
37
48
p3b1_validation_loss = p3b1_runner .run (hyper_parameter_map )
38
- print ("DONE#####P3B1##########" )
49
+ te_p3b1 = datetime .now ()
50
+ print ("Validation loss=" ,p3b1_validation_loss )
51
+ print ("DONE##########P1B1#####, TIME=" , te_p3b1 - ts_p3b1 )
39
52
40
53
#5 # NT3 - works - too big
41
54
print ("STARTING#####NT3##########" )
42
55
hyper_parameter_map ['model_name' ] = 'nt3'
56
+ te_nt3 = datetime .now ()
43
57
nt3tc1_validation_losss = nt3_tc1_runner .run (hyper_parameter_map )
44
- print ("DONE#####NT3##########" )
58
+ te_nt3 = datetime .now ()
59
+ print ("Validation loss=" ,nt3tc1_validation_loss )
60
+ print ("DONE##########P1B1#####, TIME=" , te_nt3 - ts_nt3 )
45
61
46
- # # print("Validation Loss: ", p1b1_validation_loss)
47
62
if __name__ == '__main__' :
48
63
main ()
0 commit comments