/
output0024.log
1083 lines (1083 loc) · 39.5 KB
/
output0024.log
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
I0625 12:15:15.382361 1970144000 caffe.cpp:113] Use GPU with device ID 0
I0625 12:15:16.119817 1970144000 caffe.cpp:121] Starting Optimization
I0625 12:15:16.119844 1970144000 solver.cpp:32] Initializing solver from parameters:
test_iter: 100
test_interval: 500
base_lr: 1e-05
display: 100
max_iter: 2000
lr_policy: "inv"
gamma: 0.0001
power: 0.75
momentum: 0.9
weight_decay: 0
snapshot: 0
snapshot_prefix: "src/siamese_network_bw/model/snapshots/siamese"
solver_mode: GPU
net: "src/siamese_network_bw/model/siamese_train_validate.prototxt"
I0625 12:15:16.119922 1970144000 solver.cpp:70] Creating training net from net file: src/siamese_network_bw/model/siamese_train_validate.prototxt
I0625 12:15:16.120303 1970144000 net.cpp:287] The NetState phase (0) differed from the phase (1) specified by a rule in layer pair_data
I0625 12:15:16.120333 1970144000 net.cpp:42] Initializing net from parameters:
name: "siamese_train_validate"
state {
phase: TRAIN
}
layer {
name: "pair_data"
type: "Data"
top: "pair_data"
top: "sim"
include {
phase: TRAIN
}
transform_param {
scale: 0.00392156
}
data_param {
source: "src/siamese_network_bw/data/siamese_network_train_leveldb"
batch_size: 64
}
}
layer {
name: "slice_pair"
type: "Slice"
bottom: "pair_data"
top: "data"
top: "data_p"
slice_param {
slice_dim: 1
slice_point: 1
}
}
layer {
name: "conv1"
type: "Convolution"
bottom: "data"
top: "conv1"
param {
name: "conv1_w"
lr_mult: 1
}
param {
name: "conv1_b"
lr_mult: 2
}
convolution_param {
num_output: 20
kernel_size: 5
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "pool1"
type: "Pooling"
bottom: "conv1"
top: "pool1"
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layer {
name: "conv2"
type: "Convolution"
bottom: "pool1"
top: "conv2"
param {
name: "conv2_w"
lr_mult: 1
}
param {
name: "conv2_b"
lr_mult: 2
}
convolution_param {
num_output: 50
kernel_size: 5
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "pool2"
type: "Pooling"
bottom: "conv2"
top: "pool2"
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layer {
name: "ip1"
type: "InnerProduct"
bottom: "pool2"
top: "ip1"
param {
name: "ip1_w"
lr_mult: 1
}
param {
name: "ip1_b"
lr_mult: 2
}
inner_product_param {
num_output: 500
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "relu1"
type: "ReLU"
bottom: "ip1"
top: "ip1"
}
layer {
name: "ip2"
type: "InnerProduct"
bottom: "ip1"
top: "ip2"
param {
name: "ip2_w"
lr_mult: 1
}
param {
name: "ip2_b"
lr_mult: 2
}
inner_product_param {
num_output: 10
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "feat"
type: "InnerProduct"
bottom: "ip2"
top: "feat"
param {
name: "feat_w"
lr_mult: 1
}
param {
name: "feat_b"
lr_mult: 2
}
inner_product_param {
num_output: 2
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "conv1_p"
type: "Convolution"
bottom: "data_p"
top: "conv1_p"
param {
name: "conv1_w"
lr_mult: 1
}
param {
name: "conv1_b"
lr_mult: 2
}
convolution_param {
num_output: 20
kernel_size: 5
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "pool1_p"
type: "Pooling"
bottom: "conv1_p"
top: "pool1_p"
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layer {
name: "conv2_p"
type: "Convolution"
bottom: "pool1_p"
top: "conv2_p"
param {
name: "conv2_w"
lr_mult: 1
}
param {
name: "conv2_b"
lr_mult: 2
}
convolution_param {
num_output: 50
kernel_size: 5
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "pool2_p"
type: "Pooling"
bottom: "conv2_p"
top: "pool2_p"
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layer {
name: "ip1_p"
type: "InnerProduct"
bottom: "pool2_p"
top: "ip1_p"
param {
name: "ip1_w"
lr_mult: 1
}
param {
name: "ip1_b"
lr_mult: 2
}
inner_product_param {
num_output: 500
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "relu1_p"
type: "ReLU"
bottom: "ip1_p"
top: "ip1_p"
}
layer {
name: "ip2_p"
type: "InnerProduct"
bottom: "ip1_p"
top: "ip2_p"
param {
name: "ip2_w"
lr_mult: 1
}
param {
name: "ip2_b"
lr_mult: 2
}
inner_product_param {
num_output: 10
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "feat_p"
type: "InnerProduct"
bottom: "ip2_p"
top: "feat_p"
param {
name: "feat_w"
lr_mult: 1
}
param {
name: "feat_b"
lr_mult: 2
}
inner_product_param {
num_output: 2
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "loss"
type: "ContrastiveLoss"
bottom: "feat"
bottom: "feat_p"
bottom: "sim"
top: "loss"
contrastive_loss_param {
margin: 1
}
}
I0625 12:15:16.120609 1970144000 layer_factory.hpp:74] Creating layer pair_data
I0625 12:15:16.120630 1970144000 net.cpp:90] Creating Layer pair_data
I0625 12:15:16.120641 1970144000 net.cpp:368] pair_data -> pair_data
I0625 12:15:16.120703 1970144000 net.cpp:368] pair_data -> sim
I0625 12:15:16.120723 1970144000 net.cpp:120] Setting up pair_data
I0625 12:15:16.171545 1970144000 db.cpp:20] Opened leveldb src/siamese_network_bw/data/siamese_network_train_leveldb
I0625 12:15:16.171875 1970144000 data_layer.cpp:52] output data size: 64,2,62,47
I0625 12:15:16.172458 1970144000 net.cpp:127] Top shape: 64 2 62 47 (372992)
I0625 12:15:16.172479 1970144000 net.cpp:127] Top shape: 64 (64)
I0625 12:15:16.172485 1970144000 layer_factory.hpp:74] Creating layer slice_pair
I0625 12:15:16.172497 1970144000 net.cpp:90] Creating Layer slice_pair
I0625 12:15:16.172500 1970144000 net.cpp:410] slice_pair <- pair_data
I0625 12:15:16.172509 1970144000 net.cpp:368] slice_pair -> data
I0625 12:15:16.172518 1970144000 net.cpp:368] slice_pair -> data_p
I0625 12:15:16.172524 1970144000 net.cpp:120] Setting up slice_pair
I0625 12:15:16.172533 1970144000 net.cpp:127] Top shape: 64 1 62 47 (186496)
I0625 12:15:16.172538 1970144000 net.cpp:127] Top shape: 64 1 62 47 (186496)
I0625 12:15:16.172543 1970144000 layer_factory.hpp:74] Creating layer conv1
I0625 12:15:16.172550 1970144000 net.cpp:90] Creating Layer conv1
I0625 12:15:16.172557 1970144000 net.cpp:410] conv1 <- data
I0625 12:15:16.172566 1970144000 net.cpp:368] conv1 -> conv1
I0625 12:15:16.172581 1970144000 net.cpp:120] Setting up conv1
I0625 12:15:16.248438 1970144000 net.cpp:127] Top shape: 64 20 58 43 (3192320)
I0625 12:15:16.248469 1970144000 layer_factory.hpp:74] Creating layer pool1
I0625 12:15:16.248513 1970144000 net.cpp:90] Creating Layer pool1
I0625 12:15:16.248529 1970144000 net.cpp:410] pool1 <- conv1
I0625 12:15:16.248543 1970144000 net.cpp:368] pool1 -> pool1
I0625 12:15:16.248555 1970144000 net.cpp:120] Setting up pool1
I0625 12:15:16.248778 1970144000 net.cpp:127] Top shape: 64 20 29 22 (816640)
I0625 12:15:16.248792 1970144000 layer_factory.hpp:74] Creating layer conv2
I0625 12:15:16.248807 1970144000 net.cpp:90] Creating Layer conv2
I0625 12:15:16.248816 1970144000 net.cpp:410] conv2 <- pool1
I0625 12:15:16.248832 1970144000 net.cpp:368] conv2 -> conv2
I0625 12:15:16.248846 1970144000 net.cpp:120] Setting up conv2
I0625 12:15:16.249482 1970144000 net.cpp:127] Top shape: 64 50 25 18 (1440000)
I0625 12:15:16.249498 1970144000 layer_factory.hpp:74] Creating layer pool2
I0625 12:15:16.249508 1970144000 net.cpp:90] Creating Layer pool2
I0625 12:15:16.249513 1970144000 net.cpp:410] pool2 <- conv2
I0625 12:15:16.249538 1970144000 net.cpp:368] pool2 -> pool2
I0625 12:15:16.249547 1970144000 net.cpp:120] Setting up pool2
I0625 12:15:16.249594 1970144000 net.cpp:127] Top shape: 64 50 13 9 (374400)
I0625 12:15:16.249600 1970144000 layer_factory.hpp:74] Creating layer ip1
I0625 12:15:16.249608 1970144000 net.cpp:90] Creating Layer ip1
I0625 12:15:16.249611 1970144000 net.cpp:410] ip1 <- pool2
I0625 12:15:16.249619 1970144000 net.cpp:368] ip1 -> ip1
I0625 12:15:16.249626 1970144000 net.cpp:120] Setting up ip1
I0625 12:15:16.273718 1970144000 net.cpp:127] Top shape: 64 500 (32000)
I0625 12:15:16.273751 1970144000 layer_factory.hpp:74] Creating layer relu1
I0625 12:15:16.273772 1970144000 net.cpp:90] Creating Layer relu1
I0625 12:15:16.273792 1970144000 net.cpp:410] relu1 <- ip1
I0625 12:15:16.273813 1970144000 net.cpp:357] relu1 -> ip1 (in-place)
I0625 12:15:16.273823 1970144000 net.cpp:120] Setting up relu1
I0625 12:15:16.273905 1970144000 net.cpp:127] Top shape: 64 500 (32000)
I0625 12:15:16.273955 1970144000 layer_factory.hpp:74] Creating layer ip2
I0625 12:15:16.273977 1970144000 net.cpp:90] Creating Layer ip2
I0625 12:15:16.273984 1970144000 net.cpp:410] ip2 <- ip1
I0625 12:15:16.273994 1970144000 net.cpp:368] ip2 -> ip2
I0625 12:15:16.274008 1970144000 net.cpp:120] Setting up ip2
I0625 12:15:16.274087 1970144000 net.cpp:127] Top shape: 64 10 (640)
I0625 12:15:16.274099 1970144000 layer_factory.hpp:74] Creating layer feat
I0625 12:15:16.274112 1970144000 net.cpp:90] Creating Layer feat
I0625 12:15:16.274119 1970144000 net.cpp:410] feat <- ip2
I0625 12:15:16.274129 1970144000 net.cpp:368] feat -> feat
I0625 12:15:16.274140 1970144000 net.cpp:120] Setting up feat
I0625 12:15:16.274155 1970144000 net.cpp:127] Top shape: 64 2 (128)
I0625 12:15:16.274166 1970144000 layer_factory.hpp:74] Creating layer conv1_p
I0625 12:15:16.274179 1970144000 net.cpp:90] Creating Layer conv1_p
I0625 12:15:16.274186 1970144000 net.cpp:410] conv1_p <- data_p
I0625 12:15:16.274196 1970144000 net.cpp:368] conv1_p -> conv1_p
I0625 12:15:16.274206 1970144000 net.cpp:120] Setting up conv1_p
I0625 12:15:16.274629 1970144000 net.cpp:127] Top shape: 64 20 58 43 (3192320)
I0625 12:15:16.274647 1970144000 net.cpp:459] Sharing parameters 'conv1_w' owned by layer 'conv1', param index 0
I0625 12:15:16.274669 1970144000 net.cpp:459] Sharing parameters 'conv1_b' owned by layer 'conv1', param index 1
I0625 12:15:16.274679 1970144000 layer_factory.hpp:74] Creating layer pool1_p
I0625 12:15:16.274690 1970144000 net.cpp:90] Creating Layer pool1_p
I0625 12:15:16.274698 1970144000 net.cpp:410] pool1_p <- conv1_p
I0625 12:15:16.274709 1970144000 net.cpp:368] pool1_p -> pool1_p
I0625 12:15:16.274720 1970144000 net.cpp:120] Setting up pool1_p
I0625 12:15:16.274917 1970144000 net.cpp:127] Top shape: 64 20 29 22 (816640)
I0625 12:15:16.274935 1970144000 layer_factory.hpp:74] Creating layer conv2_p
I0625 12:15:16.274950 1970144000 net.cpp:90] Creating Layer conv2_p
I0625 12:15:16.274956 1970144000 net.cpp:410] conv2_p <- pool1_p
I0625 12:15:16.274966 1970144000 net.cpp:368] conv2_p -> conv2_p
I0625 12:15:16.274986 1970144000 net.cpp:120] Setting up conv2_p
I0625 12:15:16.275714 1970144000 net.cpp:127] Top shape: 64 50 25 18 (1440000)
I0625 12:15:16.275740 1970144000 net.cpp:459] Sharing parameters 'conv2_w' owned by layer 'conv2', param index 0
I0625 12:15:16.275758 1970144000 net.cpp:459] Sharing parameters 'conv2_b' owned by layer 'conv2', param index 1
I0625 12:15:16.275768 1970144000 layer_factory.hpp:74] Creating layer pool2_p
I0625 12:15:16.275779 1970144000 net.cpp:90] Creating Layer pool2_p
I0625 12:15:16.275785 1970144000 net.cpp:410] pool2_p <- conv2_p
I0625 12:15:16.275797 1970144000 net.cpp:368] pool2_p -> pool2_p
I0625 12:15:16.275809 1970144000 net.cpp:120] Setting up pool2_p
I0625 12:15:16.275876 1970144000 net.cpp:127] Top shape: 64 50 13 9 (374400)
I0625 12:15:16.275887 1970144000 layer_factory.hpp:74] Creating layer ip1_p
I0625 12:15:16.275898 1970144000 net.cpp:90] Creating Layer ip1_p
I0625 12:15:16.275907 1970144000 net.cpp:410] ip1_p <- pool2_p
I0625 12:15:16.275941 1970144000 net.cpp:368] ip1_p -> ip1_p
I0625 12:15:16.275950 1970144000 net.cpp:120] Setting up ip1_p
I0625 12:15:16.303083 1970144000 net.cpp:127] Top shape: 64 500 (32000)
I0625 12:15:16.303102 1970144000 net.cpp:459] Sharing parameters 'ip1_w' owned by layer 'ip1', param index 0
I0625 12:15:16.303781 1970144000 net.cpp:459] Sharing parameters 'ip1_b' owned by layer 'ip1', param index 1
I0625 12:15:16.303793 1970144000 layer_factory.hpp:74] Creating layer relu1_p
I0625 12:15:16.303804 1970144000 net.cpp:90] Creating Layer relu1_p
I0625 12:15:16.303812 1970144000 net.cpp:410] relu1_p <- ip1_p
I0625 12:15:16.303822 1970144000 net.cpp:357] relu1_p -> ip1_p (in-place)
I0625 12:15:16.303833 1970144000 net.cpp:120] Setting up relu1_p
I0625 12:15:16.303932 1970144000 net.cpp:127] Top shape: 64 500 (32000)
I0625 12:15:16.303946 1970144000 layer_factory.hpp:74] Creating layer ip2_p
I0625 12:15:16.303961 1970144000 net.cpp:90] Creating Layer ip2_p
I0625 12:15:16.303968 1970144000 net.cpp:410] ip2_p <- ip1_p
I0625 12:15:16.303987 1970144000 net.cpp:368] ip2_p -> ip2_p
I0625 12:15:16.304005 1970144000 net.cpp:120] Setting up ip2_p
I0625 12:15:16.304075 1970144000 net.cpp:127] Top shape: 64 10 (640)
I0625 12:15:16.304093 1970144000 net.cpp:459] Sharing parameters 'ip2_w' owned by layer 'ip2', param index 0
I0625 12:15:16.304111 1970144000 net.cpp:459] Sharing parameters 'ip2_b' owned by layer 'ip2', param index 1
I0625 12:15:16.304123 1970144000 layer_factory.hpp:74] Creating layer feat_p
I0625 12:15:16.304136 1970144000 net.cpp:90] Creating Layer feat_p
I0625 12:15:16.304163 1970144000 net.cpp:410] feat_p <- ip2_p
I0625 12:15:16.304204 1970144000 net.cpp:368] feat_p -> feat_p
I0625 12:15:16.304222 1970144000 net.cpp:120] Setting up feat_p
I0625 12:15:16.304255 1970144000 net.cpp:127] Top shape: 64 2 (128)
I0625 12:15:16.304271 1970144000 net.cpp:459] Sharing parameters 'feat_w' owned by layer 'feat', param index 0
I0625 12:15:16.304291 1970144000 net.cpp:459] Sharing parameters 'feat_b' owned by layer 'feat', param index 1
I0625 12:15:16.304302 1970144000 layer_factory.hpp:74] Creating layer loss
I0625 12:15:16.304317 1970144000 net.cpp:90] Creating Layer loss
I0625 12:15:16.304333 1970144000 net.cpp:410] loss <- feat
I0625 12:15:16.304339 1970144000 net.cpp:410] loss <- feat_p
I0625 12:15:16.304343 1970144000 net.cpp:410] loss <- sim
I0625 12:15:16.304350 1970144000 net.cpp:368] loss -> loss
I0625 12:15:16.304358 1970144000 net.cpp:120] Setting up loss
I0625 12:15:16.304369 1970144000 net.cpp:127] Top shape: (1)
I0625 12:15:16.304374 1970144000 net.cpp:129] with loss weight 1
I0625 12:15:16.304385 1970144000 net.cpp:192] loss needs backward computation.
I0625 12:15:16.304393 1970144000 net.cpp:192] feat_p needs backward computation.
I0625 12:15:16.304399 1970144000 net.cpp:192] ip2_p needs backward computation.
I0625 12:15:16.304407 1970144000 net.cpp:192] relu1_p needs backward computation.
I0625 12:15:16.304414 1970144000 net.cpp:192] ip1_p needs backward computation.
I0625 12:15:16.304473 1970144000 net.cpp:192] pool2_p needs backward computation.
I0625 12:15:16.304486 1970144000 net.cpp:192] conv2_p needs backward computation.
I0625 12:15:16.304494 1970144000 net.cpp:192] pool1_p needs backward computation.
I0625 12:15:16.304500 1970144000 net.cpp:192] conv1_p needs backward computation.
I0625 12:15:16.304507 1970144000 net.cpp:192] feat needs backward computation.
I0625 12:15:16.304514 1970144000 net.cpp:192] ip2 needs backward computation.
I0625 12:15:16.304522 1970144000 net.cpp:192] relu1 needs backward computation.
I0625 12:15:16.304527 1970144000 net.cpp:192] ip1 needs backward computation.
I0625 12:15:16.304535 1970144000 net.cpp:192] pool2 needs backward computation.
I0625 12:15:16.304541 1970144000 net.cpp:192] conv2 needs backward computation.
I0625 12:15:16.304549 1970144000 net.cpp:192] pool1 needs backward computation.
I0625 12:15:16.304556 1970144000 net.cpp:192] conv1 needs backward computation.
I0625 12:15:16.304564 1970144000 net.cpp:194] slice_pair does not need backward computation.
I0625 12:15:16.304597 1970144000 net.cpp:194] pair_data does not need backward computation.
I0625 12:15:16.304605 1970144000 net.cpp:235] This network produces output loss
I0625 12:15:16.304646 1970144000 net.cpp:482] Collecting Learning Rate and Weight Decay.
I0625 12:15:16.304692 1970144000 net.cpp:247] Network initialization done.
I0625 12:15:16.304710 1970144000 net.cpp:248] Memory required for data: 50089220
I0625 12:15:16.305239 1970144000 solver.cpp:154] Creating test net (#0) specified by net file: src/siamese_network_bw/model/siamese_train_validate.prototxt
I0625 12:15:16.305353 1970144000 net.cpp:287] The NetState phase (1) differed from the phase (0) specified by a rule in layer pair_data
I0625 12:15:16.305405 1970144000 net.cpp:42] Initializing net from parameters:
name: "siamese_train_validate"
state {
phase: TEST
}
layer {
name: "pair_data"
type: "Data"
top: "pair_data"
top: "sim"
include {
phase: TEST
}
transform_param {
scale: 0.00392156
}
data_param {
source: "src/siamese_network_bw/data/siamese_network_validation_leveldb"
batch_size: 100
}
}
layer {
name: "slice_pair"
type: "Slice"
bottom: "pair_data"
top: "data"
top: "data_p"
slice_param {
slice_dim: 1
slice_point: 1
}
}
layer {
name: "conv1"
type: "Convolution"
bottom: "data"
top: "conv1"
param {
name: "conv1_w"
lr_mult: 1
}
param {
name: "conv1_b"
lr_mult: 2
}
convolution_param {
num_output: 20
kernel_size: 5
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "pool1"
type: "Pooling"
bottom: "conv1"
top: "pool1"
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layer {
name: "conv2"
type: "Convolution"
bottom: "pool1"
top: "conv2"
param {
name: "conv2_w"
lr_mult: 1
}
param {
name: "conv2_b"
lr_mult: 2
}
convolution_param {
num_output: 50
kernel_size: 5
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "pool2"
type: "Pooling"
bottom: "conv2"
top: "pool2"
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layer {
name: "ip1"
type: "InnerProduct"
bottom: "pool2"
top: "ip1"
param {
name: "ip1_w"
lr_mult: 1
}
param {
name: "ip1_b"
lr_mult: 2
}
inner_product_param {
num_output: 500
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "relu1"
type: "ReLU"
bottom: "ip1"
top: "ip1"
}
layer {
name: "ip2"
type: "InnerProduct"
bottom: "ip1"
top: "ip2"
param {
name: "ip2_w"
lr_mult: 1
}
param {
name: "ip2_b"
lr_mult: 2
}
inner_product_param {
num_output: 10
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "feat"
type: "InnerProduct"
bottom: "ip2"
top: "feat"
param {
name: "feat_w"
lr_mult: 1
}
param {
name: "feat_b"
lr_mult: 2
}
inner_product_param {
num_output: 2
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "conv1_p"
type: "Convolution"
bottom: "data_p"
top: "conv1_p"
param {
name: "conv1_w"
lr_mult: 1
}
param {
name: "conv1_b"
lr_mult: 2
}
convolution_param {
num_output: 20
kernel_size: 5
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "pool1_p"
type: "Pooling"
bottom: "conv1_p"
top: "pool1_p"
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layer {
name: "conv2_p"
type: "Convolution"
bottom: "pool1_p"
top: "conv2_p"
param {
name: "conv2_w"
lr_mult: 1
}
param {
name: "conv2_b"
lr_mult: 2
}
convolution_param {
num_output: 50
kernel_size: 5
stride: 1
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "pool2_p"
type: "Pooling"
bottom: "conv2_p"
top: "pool2_p"
pooling_param {
pool: MAX
kernel_size: 2
stride: 2
}
}
layer {
name: "ip1_p"
type: "InnerProduct"
bottom: "pool2_p"
top: "ip1_p"
param {
name: "ip1_w"
lr_mult: 1
}
param {
name: "ip1_b"
lr_mult: 2
}
inner_product_param {
num_output: 500
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "relu1_p"
type: "ReLU"
bottom: "ip1_p"
top: "ip1_p"
}
layer {
name: "ip2_p"
type: "InnerProduct"
bottom: "ip1_p"
top: "ip2_p"
param {
name: "ip2_w"
lr_mult: 1
}
param {
name: "ip2_b"
lr_mult: 2
}
inner_product_param {
num_output: 10
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "feat_p"
type: "InnerProduct"
bottom: "ip2_p"
top: "feat_p"
param {
name: "feat_w"
lr_mult: 1
}
param {
name: "feat_b"
lr_mult: 2
}
inner_product_param {
num_output: 2
weight_filler {
type: "xavier"
}
bias_filler {
type: "constant"
}
}
}
layer {
name: "loss"
type: "ContrastiveLoss"
bottom: "feat"
bottom: "feat_p"
bottom: "sim"
top: "loss"
contrastive_loss_param {
margin: 1
}
}
I0625 12:15:16.305747 1970144000 layer_factory.hpp:74] Creating layer pair_data
I0625 12:15:16.305763 1970144000 net.cpp:90] Creating Layer pair_data
I0625 12:15:16.305830 1970144000 net.cpp:368] pair_data -> pair_data
I0625 12:15:16.305850 1970144000 net.cpp:368] pair_data -> sim
I0625 12:15:16.305863 1970144000 net.cpp:120] Setting up pair_data
I0625 12:15:16.344959 1970144000 db.cpp:20] Opened leveldb src/siamese_network_bw/data/siamese_network_validation_leveldb
I0625 12:15:16.345288 1970144000 data_layer.cpp:52] output data size: 100,2,62,47
I0625 12:15:16.346346 1970144000 net.cpp:127] Top shape: 100 2 62 47 (582800)
I0625 12:15:16.346365 1970144000 net.cpp:127] Top shape: 100 (100)
I0625 12:15:16.346377 1970144000 layer_factory.hpp:74] Creating layer slice_pair
I0625 12:15:16.346395 1970144000 net.cpp:90] Creating Layer slice_pair
I0625 12:15:16.346401 1970144000 net.cpp:410] slice_pair <- pair_data
I0625 12:15:16.346412 1970144000 net.cpp:368] slice_pair -> data
I0625 12:15:16.346427 1970144000 net.cpp:368] slice_pair -> data_p
I0625 12:15:16.346441 1970144000 net.cpp:120] Setting up slice_pair
I0625 12:15:16.346451 1970144000 net.cpp:127] Top shape: 100 1 62 47 (291400)
I0625 12:15:16.346460 1970144000 net.cpp:127] Top shape: 100 1 62 47 (291400)
I0625 12:15:16.346469 1970144000 layer_factory.hpp:74] Creating layer conv1
I0625 12:15:16.346482 1970144000 net.cpp:90] Creating Layer conv1
I0625 12:15:16.346496 1970144000 net.cpp:410] conv1 <- data
I0625 12:15:16.346513 1970144000 net.cpp:368] conv1 -> conv1
I0625 12:15:16.346524 1970144000 net.cpp:120] Setting up conv1
I0625 12:15:16.346950 1970144000 net.cpp:127] Top shape: 100 20 58 43 (4988000)
I0625 12:15:16.346968 1970144000 layer_factory.hpp:74] Creating layer pool1
I0625 12:15:16.346982 1970144000 net.cpp:90] Creating Layer pool1
I0625 12:15:16.346988 1970144000 net.cpp:410] pool1 <- conv1
I0625 12:15:16.346997 1970144000 net.cpp:368] pool1 -> pool1
I0625 12:15:16.347007 1970144000 net.cpp:120] Setting up pool1
I0625 12:15:16.347074 1970144000 net.cpp:127] Top shape: 100 20 29 22 (1276000)
I0625 12:15:16.347085 1970144000 layer_factory.hpp:74] Creating layer conv2
I0625 12:15:16.347107 1970144000 net.cpp:90] Creating Layer conv2
I0625 12:15:16.347120 1970144000 net.cpp:410] conv2 <- pool1
I0625 12:15:16.347131 1970144000 net.cpp:368] conv2 -> conv2
I0625 12:15:16.347142 1970144000 net.cpp:120] Setting up conv2
I0625 12:15:16.347782 1970144000 net.cpp:127] Top shape: 100 50 25 18 (2250000)
I0625 12:15:16.347800 1970144000 layer_factory.hpp:74] Creating layer pool2
I0625 12:15:16.347811 1970144000 net.cpp:90] Creating Layer pool2
I0625 12:15:16.347817 1970144000 net.cpp:410] pool2 <- conv2
I0625 12:15:16.347851 1970144000 net.cpp:368] pool2 -> pool2
I0625 12:15:16.347864 1970144000 net.cpp:120] Setting up pool2
I0625 12:15:16.348032 1970144000 net.cpp:127] Top shape: 100 50 13 9 (585000)
I0625 12:15:16.348047 1970144000 layer_factory.hpp:74] Creating layer ip1
I0625 12:15:16.348062 1970144000 net.cpp:90] Creating Layer ip1
I0625 12:15:16.348068 1970144000 net.cpp:410] ip1 <- pool2
I0625 12:15:16.348078 1970144000 net.cpp:368] ip1 -> ip1
I0625 12:15:16.348091 1970144000 net.cpp:120] Setting up ip1
I0625 12:15:16.375017 1970144000 net.cpp:127] Top shape: 100 500 (50000)
I0625 12:15:16.375039 1970144000 layer_factory.hpp:74] Creating layer relu1
I0625 12:15:16.375052 1970144000 net.cpp:90] Creating Layer relu1
I0625 12:15:16.375057 1970144000 net.cpp:410] relu1 <- ip1
I0625 12:15:16.375062 1970144000 net.cpp:357] relu1 -> ip1 (in-place)
I0625 12:15:16.375069 1970144000 net.cpp:120] Setting up relu1
I0625 12:15:16.375154 1970144000 net.cpp:127] Top shape: 100 500 (50000)
I0625 12:15:16.375166 1970144000 layer_factory.hpp:74] Creating layer ip2
I0625 12:15:16.375181 1970144000 net.cpp:90] Creating Layer ip2
I0625 12:15:16.375190 1970144000 net.cpp:410] ip2 <- ip1
I0625 12:15:16.375200 1970144000 net.cpp:368] ip2 -> ip2
I0625 12:15:16.375215 1970144000 net.cpp:120] Setting up ip2
I0625 12:15:16.375296 1970144000 net.cpp:127] Top shape: 100 10 (1000)
I0625 12:15:16.375309 1970144000 layer_factory.hpp:74] Creating layer feat
I0625 12:15:16.375344 1970144000 net.cpp:90] Creating Layer feat
I0625 12:15:16.375357 1970144000 net.cpp:410] feat <- ip2
I0625 12:15:16.375370 1970144000 net.cpp:368] feat -> feat
I0625 12:15:16.375380 1970144000 net.cpp:120] Setting up feat
I0625 12:15:16.375398 1970144000 net.cpp:127] Top shape: 100 2 (200)
I0625 12:15:16.375416 1970144000 layer_factory.hpp:74] Creating layer conv1_p
I0625 12:15:16.375429 1970144000 net.cpp:90] Creating Layer conv1_p
I0625 12:15:16.375434 1970144000 net.cpp:410] conv1_p <- data_p
I0625 12:15:16.375440 1970144000 net.cpp:368] conv1_p -> conv1_p
I0625 12:15:16.375448 1970144000 net.cpp:120] Setting up conv1_p
I0625 12:15:16.375885 1970144000 net.cpp:127] Top shape: 100 20 58 43 (4988000)
I0625 12:15:16.375900 1970144000 net.cpp:459] Sharing parameters 'conv1_w' owned by layer 'conv1', param index 0
I0625 12:15:16.375927 1970144000 net.cpp:459] Sharing parameters 'conv1_b' owned by layer 'conv1', param index 1
I0625 12:15:16.375953 1970144000 layer_factory.hpp:74] Creating layer pool1_p
I0625 12:15:16.375969 1970144000 net.cpp:90] Creating Layer pool1_p
I0625 12:15:16.375991 1970144000 net.cpp:410] pool1_p <- conv1_p
I0625 12:15:16.376003 1970144000 net.cpp:368] pool1_p -> pool1_p
I0625 12:15:16.376011 1970144000 net.cpp:120] Setting up pool1_p
I0625 12:15:16.376078 1970144000 net.cpp:127] Top shape: 100 20 29 22 (1276000)
I0625 12:15:16.376092 1970144000 layer_factory.hpp:74] Creating layer conv2_p
I0625 12:15:16.376103 1970144000 net.cpp:90] Creating Layer conv2_p
I0625 12:15:16.376111 1970144000 net.cpp:410] conv2_p <- pool1_p
I0625 12:15:16.376121 1970144000 net.cpp:368] conv2_p -> conv2_p
I0625 12:15:16.376135 1970144000 net.cpp:120] Setting up conv2_p
I0625 12:15:16.376808 1970144000 net.cpp:127] Top shape: 100 50 25 18 (2250000)
I0625 12:15:16.376835 1970144000 net.cpp:459] Sharing parameters 'conv2_w' owned by layer 'conv2', param index 0
I0625 12:15:16.376858 1970144000 net.cpp:459] Sharing parameters 'conv2_b' owned by layer 'conv2', param index 1
I0625 12:15:16.376873 1970144000 layer_factory.hpp:74] Creating layer pool2_p
I0625 12:15:16.376893 1970144000 net.cpp:90] Creating Layer pool2_p
I0625 12:15:16.376919 1970144000 net.cpp:410] pool2_p <- conv2_p
I0625 12:15:16.376934 1970144000 net.cpp:368] pool2_p -> pool2_p
I0625 12:15:16.376945 1970144000 net.cpp:120] Setting up pool2_p
I0625 12:15:16.377009 1970144000 net.cpp:127] Top shape: 100 50 13 9 (585000)
I0625 12:15:16.377019 1970144000 layer_factory.hpp:74] Creating layer ip1_p
I0625 12:15:16.377030 1970144000 net.cpp:90] Creating Layer ip1_p
I0625 12:15:16.377038 1970144000 net.cpp:410] ip1_p <- pool2_p
I0625 12:15:16.377074 1970144000 net.cpp:368] ip1_p -> ip1_p
I0625 12:15:16.377091 1970144000 net.cpp:120] Setting up ip1_p
I0625 12:15:16.404258 1970144000 net.cpp:127] Top shape: 100 500 (50000)
I0625 12:15:16.404286 1970144000 net.cpp:459] Sharing parameters 'ip1_w' owned by layer 'ip1', param index 0
I0625 12:15:16.405155 1970144000 net.cpp:459] Sharing parameters 'ip1_b' owned by layer 'ip1', param index 1
I0625 12:15:16.405167 1970144000 layer_factory.hpp:74] Creating layer relu1_p
I0625 12:15:16.405185 1970144000 net.cpp:90] Creating Layer relu1_p
I0625 12:15:16.405194 1970144000 net.cpp:410] relu1_p <- ip1_p
I0625 12:15:16.405202 1970144000 net.cpp:357] relu1_p -> ip1_p (in-place)
I0625 12:15:16.405210 1970144000 net.cpp:120] Setting up relu1_p
I0625 12:15:16.405424 1970144000 net.cpp:127] Top shape: 100 500 (50000)
I0625 12:15:16.405439 1970144000 layer_factory.hpp:74] Creating layer ip2_p
I0625 12:15:16.405457 1970144000 net.cpp:90] Creating Layer ip2_p
I0625 12:15:16.405464 1970144000 net.cpp:410] ip2_p <- ip1_p
I0625 12:15:16.405474 1970144000 net.cpp:368] ip2_p -> ip2_p
I0625 12:15:16.405491 1970144000 net.cpp:120] Setting up ip2_p
I0625 12:15:16.405589 1970144000 net.cpp:127] Top shape: 100 10 (1000)
I0625 12:15:16.405611 1970144000 net.cpp:459] Sharing parameters 'ip2_w' owned by layer 'ip2', param index 0
I0625 12:15:16.405622 1970144000 net.cpp:459] Sharing parameters 'ip2_b' owned by layer 'ip2', param index 1
I0625 12:15:16.405630 1970144000 layer_factory.hpp:74] Creating layer feat_p
I0625 12:15:16.405643 1970144000 net.cpp:90] Creating Layer feat_p
I0625 12:15:16.405650 1970144000 net.cpp:410] feat_p <- ip2_p
I0625 12:15:16.405660 1970144000 net.cpp:368] feat_p -> feat_p
I0625 12:15:16.405673 1970144000 net.cpp:120] Setting up feat_p
I0625 12:15:16.405689 1970144000 net.cpp:127] Top shape: 100 2 (200)
I0625 12:15:16.405712 1970144000 net.cpp:459] Sharing parameters 'feat_w' owned by layer 'feat', param index 0
I0625 12:15:16.405722 1970144000 net.cpp:459] Sharing parameters 'feat_b' owned by layer 'feat', param index 1
I0625 12:15:16.405731 1970144000 layer_factory.hpp:74] Creating layer loss
I0625 12:15:16.405747 1970144000 net.cpp:90] Creating Layer loss
I0625 12:15:16.405755 1970144000 net.cpp:410] loss <- feat
I0625 12:15:16.405762 1970144000 net.cpp:410] loss <- feat_p
I0625 12:15:16.405771 1970144000 net.cpp:410] loss <- sim
I0625 12:15:16.405781 1970144000 net.cpp:368] loss -> loss
I0625 12:15:16.405791 1970144000 net.cpp:120] Setting up loss
I0625 12:15:16.405829 1970144000 net.cpp:127] Top shape: (1)
I0625 12:15:16.405843 1970144000 net.cpp:129] with loss weight 1
I0625 12:15:16.405877 1970144000 net.cpp:192] loss needs backward computation.
I0625 12:15:16.405885 1970144000 net.cpp:192] feat_p needs backward computation.
I0625 12:15:16.405900 1970144000 net.cpp:192] ip2_p needs backward computation.
I0625 12:15:16.405910 1970144000 net.cpp:192] relu1_p needs backward computation.
I0625 12:15:16.405917 1970144000 net.cpp:192] ip1_p needs backward computation.
I0625 12:15:16.405933 1970144000 net.cpp:192] pool2_p needs backward computation.
I0625 12:15:16.405942 1970144000 net.cpp:192] conv2_p needs backward computation.
I0625 12:15:16.405949 1970144000 net.cpp:192] pool1_p needs backward computation.
I0625 12:15:16.405956 1970144000 net.cpp:192] conv1_p needs backward computation.
I0625 12:15:16.405964 1970144000 net.cpp:192] feat needs backward computation.
I0625 12:15:16.405972 1970144000 net.cpp:192] ip2 needs backward computation.
I0625 12:15:16.405978 1970144000 net.cpp:192] relu1 needs backward computation.
I0625 12:15:16.405984 1970144000 net.cpp:192] ip1 needs backward computation.
I0625 12:15:16.405990 1970144000 net.cpp:192] pool2 needs backward computation.
I0625 12:15:16.405998 1970144000 net.cpp:192] conv2 needs backward computation.
I0625 12:15:16.406005 1970144000 net.cpp:192] pool1 needs backward computation.
I0625 12:15:16.406011 1970144000 net.cpp:192] conv1 needs backward computation.
I0625 12:15:16.406019 1970144000 net.cpp:194] slice_pair does not need backward computation.