-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsystem.log
More file actions
3218 lines (3212 loc) · 434 KB
/
Copy pathsystem.log
File metadata and controls
3218 lines (3212 loc) · 434 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
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
[2023-01-29 04:01:38,887] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 04:01:38,887] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 04:02:14,937] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:02:14] "GET / HTTP/1.1" 200 -
[2023-01-29 04:02:15,775] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:02:15] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 04:02:15,858] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:02:15] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 04:02:23,886] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:02:23] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 04:02:40,359] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:02:40] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:03:17,646] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:03:17] "GET / HTTP/1.1" 200 -
[2023-01-29 04:03:18,554] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:03:18] "[36mGET /static/script.js HTTP/1.1[0m" 304 -
[2023-01-29 04:03:18,557] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:03:18] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 04:05:37,282] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.17.0.2:5000
[2023-01-29 04:05:37,282] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 04:05:37,288] INFO in _internal: * Restarting with stat
[2023-01-29 04:07:23,789] WARNING in _internal: * Debugger is active!
[2023-01-29 04:07:23,829] INFO in _internal: * Debugger PIN: 247-710-254
[2023-01-29 04:07:23,874] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:07:23] "GET / HTTP/1.1" 200 -
[2023-01-29 04:07:23,892] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:07:23] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 04:07:23,892] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:07:23] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 04:07:23,958] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:07:23] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 04:08:02,575] INFO in app: caption SmallCap predict success
[2023-01-29 04:08:03,869] INFO in app: caption ClipCap predict success
[2023-01-29 04:08:03,870] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đang đứng trước cửa một cửa hàng thuốc lá', 'caption_smallcap': 'Hàng dài người xếp hàng đứng hàng thanh toán trong siêu thị', 'elapsed_time': 3.428849697113037, 'file': 'crawl_0DQ9AAAJC3.jpg'}
[2023-01-29 04:08:03,870] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:08:03] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:08:16,120] INFO in app: caption SmallCap predict success
[2023-01-29 04:08:17,192] INFO in app: caption ClipCap predict success
[2023-01-29 04:08:17,192] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Các bác sĩ đang thực hiện ca phẫu thuật', 'caption_smallcap': 'Các bác sĩ trong một ca phẫu thuật', 'elapsed_time': 1.771315336227417, 'file': 'crawl_0QAU6MMUQS.jpg'}
[2023-01-29 04:08:17,193] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:08:17] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:08:27,167] INFO in app: caption SmallCap predict success
[2023-01-29 04:08:28,366] INFO in app: caption ClipCap predict success
[2023-01-29 04:08:28,367] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang trao đổi với y tá', 'caption_smallcap': 'Bác sĩ đang điều trị cho một bệnh nhân ngồi trên xe lăn', 'elapsed_time': 2.5006744861602783, 'file': 'crawl_0N8EYN773W.jpg'}
[2023-01-29 04:08:28,367] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:08:28] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:08:50,949] INFO in app: caption SmallCap predict success
[2023-01-29 04:08:52,633] INFO in app: caption ClipCap predict success
[2023-01-29 04:08:52,633] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người mặc áo trắng đang cầm ống nghiệm trên tay', 'caption_smallcap': 'Một nhân viên y tế đang làm việc trong phòng thí nghiệm', 'elapsed_time': 2.511263608932495, 'file': 'crawl_1JHP4HBFNC.jpg'}
[2023-01-29 04:08:52,634] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:08:52] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:10:40,183] INFO in app: caption SmallCap predict success
[2023-01-29 04:11:09,128] INFO in app: caption ClipCap predict success
[2023-01-29 04:11:09,128] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Hai người bạn đang chụp ảnh sau khi chơi tennis', 'caption_smallcap': 'Hai đứa trẻ đang đưa cái vợt tennis bằng hai tay và đứng cạnh quả bóng.', 'elapsed_time': 93.80787587165833, 'file': '000000030712.jpg'}
[2023-01-29 04:11:09,130] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:11:09] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:11:20,014] INFO in app: caption SmallCap predict success
[2023-01-29 04:11:23,863] INFO in app: caption ClipCap predict success
[2023-01-29 04:11:23,863] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một cô bé đang thủ thế để chuẩn bị đỡ bóng', 'caption_smallcap': 'Một người đàn ông đang chơi tennis ở trên sân.', 'elapsed_time': 4.621409893035889, 'file': '000000043856.jpg'}
[2023-01-29 04:11:23,864] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:11:23] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:11:49,619] INFO in app: caption SmallCap predict success
[2023-01-29 04:11:50,207] INFO in app: caption ClipCap predict success
[2023-01-29 04:11:50,207] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một con bạch tuộc đang đứng bên cạnh quả bóng rổ', 'caption_smallcap': 'Một con gấu bắc cực đang giữ quả bóng bằng chân trước', 'elapsed_time': 1.5737791061401367, 'file': '000000043873.jpg'}
[2023-01-29 04:11:50,208] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:11:50] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:12:13,539] INFO in app: caption SmallCap predict success
[2023-01-29 04:12:17,324] INFO in app: caption ClipCap predict success
[2023-01-29 04:12:17,324] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một cậu bé đang ngồi nhìn bạn của mình luyện tập bóng chày', 'caption_smallcap': 'Đứa trẻ đang chơi bóng chày ngoài sân.', 'elapsed_time': 4.610331058502197, 'file': '000000009895.jpg'}
[2023-01-29 04:12:17,325] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:12:17] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:15:31,990] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 04:15:31,990] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 04:17:21,458] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:17:21] "GET / HTTP/1.1" 200 -
[2023-01-29 04:17:23,462] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:17:23] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 04:17:23,472] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:17:23] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 04:17:25,139] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:17:25] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 04:17:47,764] INFO in app: caption SmallCap predict success
[2023-01-29 04:17:49,114] INFO in app: caption ClipCap predict success
[2023-01-29 04:17:49,115] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Nhân viên y tế đang kiểm tra mẫu xét nghiệm', 'caption_smallcap': 'Một người đàn ông đang xách một ống nghiệm trên tay', 'elapsed_time': 2.4095983505249023, 'file': 'crawl_0HXOC0WYQA.jpg'}
[2023-01-29 04:17:49,116] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:17:49] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:18:22,014] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:18:22] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:18:59,126] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:18:59] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:19:39,622] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:19:39] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:19:55,357] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:19:55] "GET / HTTP/1.1" 200 -
[2023-01-29 04:19:56,968] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:19:56] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 04:19:56,990] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:19:56] "[36mGET /static/script.js HTTP/1.1[0m" 304 -
[2023-01-29 04:20:26,890] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:20:26] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:21:10,840] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:21:10] "GET / HTTP/1.1" 200 -
[2023-01-29 04:21:12,666] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:21:12] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 04:21:44,841] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:21:44] "GET / HTTP/1.1" 200 -
[2023-01-29 04:21:46,327] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:21:46] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 04:21:49,335] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:21:49] "GET / HTTP/1.1" 200 -
[2023-01-29 04:21:50,608] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:21:50] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 04:21:50,913] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:21:50] "[36mGET /static/script.js HTTP/1.1[0m" 304 -
[2023-01-29 04:22:17,419] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:22:17] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:22:53,723] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:22:53] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:28:29,542] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 04:28:29,543] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 04:28:56,992] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:28:56] "GET / HTTP/1.1" 200 -
[2023-01-29 04:29:01,509] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:29:01] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 04:29:01,525] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:29:01] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 04:29:05,250] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:29:05] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 04:29:30,559] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:29:30] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:29:52,395] INFO in app: caption SmallCap predict success
[2023-01-29 04:29:53,840] INFO in app: caption ClipCap predict success
[2023-01-29 04:29:53,840] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một bàn tay đang nắm lấy hai tay của một người', 'caption_smallcap': 'Một bàn tay đang xoa bóp cho vai trái của mình', 'elapsed_time': 2.8427233695983887, 'file': 'crawl_0DZIO6C6EQ.jpg'}
[2023-01-29 04:29:53,841] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:29:53] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:30:20,017] INFO in app: caption SmallCap predict success
[2023-01-29 04:30:21,413] INFO in app: caption ClipCap predict success
[2023-01-29 04:30:21,413] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông đang sử dụng thiết bị y tế', 'caption_smallcap': 'Một người phụ nữ đang cầm một thiết bị màu đen', 'elapsed_time': 2.514716148376465, 'file': 'crawl_0ESW285BQ3.jpg'}
[2023-01-29 04:30:21,414] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:30:21] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:31:00,491] INFO in app: caption SmallCap predict success
[2023-01-29 04:31:01,617] INFO in app: caption ClipCap predict success
[2023-01-29 04:31:01,617] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang trao đổi với y tá', 'caption_smallcap': 'Bác sĩ đang điều trị cho một bệnh nhân ngồi trên xe lăn', 'elapsed_time': 2.5180447101593018, 'file': 'crawl_0N8EYN773W.jpg'}
[2023-01-29 04:31:01,618] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:31:01] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:31:38,702] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:31:38] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:32:04,463] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:32:04] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:32:47,173] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:32:47] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:33:56,188] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 04:33:56,189] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 04:34:12,799] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:34:12] "GET / HTTP/1.1" 200 -
[2023-01-29 04:34:13,813] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:34:13] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 04:34:13,897] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:34:13] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 04:34:16,489] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:34:16] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 04:34:31,823] INFO in app: caption SmallCap predict success
[2023-01-29 04:34:33,112] INFO in app: caption ClipCap predict success
[2023-01-29 04:34:33,113] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một ống kim tiêm và một lọ thuốc', 'caption_smallcap': 'Một thiết bị y tế', 'elapsed_time': 2.0015132427215576, 'file': 'crawl_0N8L8RRN3Z.jpg'}
[2023-01-29 04:34:33,113] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:34:33] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:34:54,174] INFO in app: caption SmallCap predict success
[2023-01-29 04:34:55,565] INFO in app: caption ClipCap predict success
[2023-01-29 04:34:55,566] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông đang sử dụng thiết bị y tế', 'caption_smallcap': 'Một người phụ nữ đang cầm một thiết bị màu đen', 'elapsed_time': 2.2259397506713867, 'file': 'crawl_0ESW285BQ3.jpg'}
[2023-01-29 04:34:55,567] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:34:55] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:35:21,958] INFO in app: caption SmallCap predict success
[2023-01-29 04:35:23,085] INFO in app: caption ClipCap predict success
[2023-01-29 04:35:23,086] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang trao đổi với y tá', 'caption_smallcap': 'Bác sĩ đang điều trị cho một người ngồi trên xe lăn', 'elapsed_time': 2.4658381938934326, 'file': 'crawl_0N8EYN773W.jpg'}
[2023-01-29 04:35:23,086] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:35:23] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:35:55,022] INFO in app: caption SmallCap predict success
[2023-01-29 04:35:56,283] INFO in app: caption ClipCap predict success
[2023-01-29 04:35:56,284] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Nhân viên y tế đang tiến hành phẫu thuật cho bệnh nhân', 'caption_smallcap': 'Nhân viên y tế đang ôm khối u', 'elapsed_time': 2.4087531566619873, 'file': 'crawl_1BA40QL8L7.jpg'}
[2023-01-29 04:35:56,284] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:35:56] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:36:40,473] INFO in app: caption SmallCap predict success
[2023-01-29 04:36:41,433] INFO in app: caption ClipCap predict success
[2023-01-29 04:36:41,433] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang đứng', 'caption_smallcap': 'Bác sĩ đang cầm ống nghe trên tay', 'elapsed_time': 1.7450945377349854, 'file': 'crawl_0RW1CVMD49.jpg'}
[2023-01-29 04:36:41,434] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:36:41] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:37:15,007] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:37:15] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:38:05,981] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:38:05] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 04:39:03,315] INFO in app: caption SmallCap predict success
[2023-01-29 04:39:05,630] INFO in app: caption ClipCap predict success
[2023-01-29 04:39:05,631] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông ngồi trên giường bệnh đang nói chuyện với một người phụ nữ', 'caption_smallcap': 'Bác sĩ đang nói chuyện với một người phụ nữ', 'elapsed_time': 3.2009620666503906, 'file': 'crawl_0ADSA8U7DU.jpg'}
[2023-01-29 04:39:05,631] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:39:05] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:39:34,113] INFO in app: caption SmallCap predict success
[2023-01-29 04:39:35,974] INFO in app: caption ClipCap predict success
[2023-01-29 04:39:35,974] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bàn tay cầm hai lọ thuốc và những viên thuốc để trên bàn', 'caption_smallcap': 'Một lọ thuốc được đặt trước mặt một bà lão', 'elapsed_time': 2.6481287479400635, 'file': 'crawl_0D7C0WA493.jpg'}
[2023-01-29 04:39:35,975] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:39:35] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:40:09,658] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:40:09] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:40:45,992] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 04:40:45] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 04:47:06,084] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.17.0.2:5000
[2023-01-29 04:47:06,084] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 04:47:06,085] INFO in _internal: * Restarting with stat
[2023-01-29 04:47:53,468] WARNING in _internal: * Debugger is active!
[2023-01-29 04:47:53,523] INFO in _internal: * Debugger PIN: 710-202-312
[2023-01-29 04:47:53,572] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:47:53] "GET / HTTP/1.1" 200 -
[2023-01-29 04:47:53,592] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:47:53] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 04:47:53,592] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:47:53] "[36mGET /static/script.js HTTP/1.1[0m" 304 -
[2023-01-29 04:47:53,670] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:47:53] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 04:48:11,312] INFO in _internal: * Detected change in '/app/ImageCaptioning/app.py', reloading
[2023-01-29 04:48:11,987] INFO in _internal: * Restarting with stat
[2023-01-29 04:48:13,402] WARNING in _internal: * Debugger is active!
[2023-01-29 04:48:13,411] INFO in _internal: * Debugger PIN: 710-202-312
[2023-01-29 04:48:59,911] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:48:59] "[35m[1mPOST /extract HTTP/1.1[0m" 500 -
[2023-01-29 04:49:22,083] INFO in _internal: * Detected change in '/app/ImageCaptioning/app.py', reloading
[2023-01-29 04:49:22,283] INFO in _internal: * Restarting with stat
[2023-01-29 04:50:14,831] WARNING in _internal: * Debugger is active!
[2023-01-29 04:50:14,872] INFO in _internal: * Debugger PIN: 710-202-312
[2023-01-29 04:50:21,668] INFO in app: caption SmallCap predict success
[2023-01-29 04:50:23,259] INFO in app: caption ClipCap predict success
[2023-01-29 04:50:23,259] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang trao đổi với y tá', 'caption_smallcap': 'Bác sĩ đang mặc áo màu xanh đang thăm khám cho một người ngồi trên xe lăn', 'elapsed_time': 8.32003927230835, 'file': 'crawl_0N8EYN773W.jpg'}
[2023-01-29 04:50:23,260] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:50:23] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:50:38,712] INFO in app: caption SmallCap predict success
[2023-01-29 04:50:39,823] INFO in app: caption ClipCap predict success
[2023-01-29 04:50:39,824] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Ống nghe y tế đặt trên ngực một người', 'caption_smallcap': 'Một ống nghe được đặt trên bàn', 'elapsed_time': 4.600033760070801, 'file': 'crawl_0AGY1I7B5F.jpg'}
[2023-01-29 04:50:39,824] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:50:39] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:50:48,293] INFO in app: caption SmallCap predict success
[2023-01-29 04:50:51,084] INFO in app: caption ClipCap predict success
[2023-01-29 04:50:51,085] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người phụ nữ đang nằm trên giường bệnh', 'caption_smallcap': 'Một người phụ nữ nằm trong phòng chăm sóc tích cực', 'elapsed_time': 3.948631763458252, 'file': 'crawl_0VTI9UB4CU.jpg'}
[2023-01-29 04:50:51,086] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:50:51] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:51:08,647] INFO in app: caption SmallCap predict success
[2023-01-29 04:51:10,676] INFO in app: caption ClipCap predict success
[2023-01-29 04:51:10,678] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông đang run rẩy lấy chìa khóa trong tay', 'caption_smallcap': 'Một người đang mang đồ trên đường', 'elapsed_time': 3.101858377456665, 'file': 'crawl_0Y1KBRY4EX.jpg'}
[2023-01-29 04:51:10,678] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:51:10] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:51:54,970] INFO in app: caption SmallCap predict success
[2023-01-29 04:51:56,660] INFO in app: caption ClipCap predict success
[2023-01-29 04:51:56,660] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người mặc đồ bảo hộ màu xanh đang đứng cạnh một giường bệnh', 'caption_smallcap': 'Nhân viên y tế đang chăm sóc bệnh nhân trong phòng chăm sóc đặc biệt', 'elapsed_time': 3.007884979248047, 'file': 'crawl_1OM8PGI3VW.jpg'}
[2023-01-29 04:51:56,661] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:51:56] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:55:36,929] INFO in _internal: * Detected change in '/app/ImageCaptioning/app.py', reloading
[2023-01-29 04:55:37,581] INFO in _internal: * Restarting with stat
[2023-01-29 04:56:41,080] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.17.0.2:5000
[2023-01-29 04:56:41,080] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 04:56:41,082] INFO in _internal: * Restarting with stat
[2023-01-29 04:57:34,884] WARNING in _internal: * Debugger is active!
[2023-01-29 04:57:34,925] INFO in _internal: * Debugger PIN: 710-202-312
[2023-01-29 04:57:55,481] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:57:55] "GET / HTTP/1.1" 200 -
[2023-01-29 04:57:55,497] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:57:55] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 04:57:55,498] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:57:55] "[36mGET /static/script.js HTTP/1.1[0m" 304 -
[2023-01-29 04:58:04,856] INFO in app: caption SmallCap predict success
[2023-01-29 04:58:06,354] INFO in app: caption ClipCap predict success
[2023-01-29 04:58:06,354] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông đang sử dụng thiết bị y tế', 'caption_smallcap': 'Một người phụ nữ đang cầm một thiết bị màu đen', 'elapsed_time': 3.0870625972747803, 'file': 'crawl_0ESW285BQ3.jpg'}
[2023-01-29 04:58:06,355] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:58:06] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:58:15,740] INFO in app: caption SmallCap predict success
[2023-01-29 04:58:18,699] INFO in app: caption ClipCap predict success
[2023-01-29 04:58:18,700] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Các nhân viên y tế đang giúp một người nằm trên giường bệnh', 'caption_smallcap': 'Các bác sĩ đang thực hiện một ca phẫu thuật', 'elapsed_time': 5.872576713562012, 'file': 'crawl_0P3NYM4XLS.jpg'}
[2023-01-29 04:58:18,700] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:58:18] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:58:38,878] INFO in app: caption SmallCap predict success
[2023-01-29 04:58:40,329] INFO in app: caption ClipCap predict success
[2023-01-29 04:58:40,330] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Đôi tay đang bế một đứa trẻ lên vai một người đàn ông', 'caption_smallcap': 'Một nhóm người đang đi bộ trên đường', 'elapsed_time': 2.761461019515991, 'file': 'crawl_0QUXE4SZ90.jpg'}
[2023-01-29 04:58:40,331] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:58:40] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:58:55,013] INFO in app: caption SmallCap predict success
[2023-01-29 04:58:56,178] INFO in app: caption ClipCap predict success
[2023-01-29 04:58:56,179] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Các bác sĩ trong một ca phẫu thuật', 'caption_smallcap': 'Các bác sĩ trong một ca phẫu thuật', 'elapsed_time': 2.365969657897949, 'file': 'crawl_0N6T47RRYH.jpg'}
[2023-01-29 04:58:56,180] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 04:58:56] "POST /extract HTTP/1.1" 200 -
[2023-01-29 04:59:52,331] INFO in app: caption SmallCap predict success
[2023-01-29 05:00:06,478] INFO in app: caption ClipCap predict success
[2023-01-29 05:00:06,479] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Hai người bạn đang chụp ảnh sau khi chơi tennis', 'caption_smallcap': 'Hai đứa trẻ đang đưa cái vợt tennis bằng hai tay và đứng cạnh quả bóng.', 'elapsed_time': 43.8507776260376, 'file': '000000030712.jpg'}
[2023-01-29 05:00:06,480] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 05:00:06] "POST /extract HTTP/1.1" 200 -
[2023-01-29 05:00:18,261] INFO in app: caption SmallCap predict success
[2023-01-29 05:00:22,094] INFO in app: caption ClipCap predict success
[2023-01-29 05:00:22,095] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một người phụ nữ đang chuẩn bị đánh quả bóng tennis', 'caption_smallcap': 'Hình ảnh một người phụ nữ đang chuẩn bị đánh quả bóng tennis.', 'elapsed_time': 5.029534816741943, 'file': '000000014864.jpg'}
[2023-01-29 05:00:22,096] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 05:00:22] "POST /extract HTTP/1.1" 200 -
[2023-01-29 05:00:30,535] INFO in app: caption SmallCap predict success
[2023-01-29 05:00:34,380] INFO in app: caption ClipCap predict success
[2023-01-29 05:00:34,380] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một cô bé đang thủ thế để chuẩn bị đỡ bóng', 'caption_smallcap': 'Một người đàn ông đang chơi tennis ở trên sân.', 'elapsed_time': 4.7700560092926025, 'file': '000000043856.jpg'}
[2023-01-29 05:00:34,381] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 05:00:34] "POST /extract HTTP/1.1" 200 -
[2023-01-29 05:03:24,873] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 05:03:24,873] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 05:10:16,546] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:10:16] "GET / HTTP/1.1" 200 -
[2023-01-29 05:10:19,449] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:10:19] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 05:10:19,449] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:10:19] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 05:10:22,446] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:10:22] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 05:10:47,447] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:10:47] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:12:51,051] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:12:51] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:15:17,039] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 05:15:17,040] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 05:15:37,071] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:15:37] "GET / HTTP/1.1" 200 -
[2023-01-29 05:15:39,734] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:15:39] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 05:15:39,734] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:15:39] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 05:15:56,600] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:15:56] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 05:16:32,013] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:16:32] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:16:50,383] INFO in app: caption SmallCap predict success
[2023-01-29 05:16:52,877] INFO in app: caption ClipCap predict success
[2023-01-29 05:16:52,878] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông mặc áo trắng đang cười', 'caption_smallcap': 'Một người đàn ông đeo găng tay màu xanh đang chơi thể thao', 'elapsed_time': 3.653151035308838, 'file': '000000007615.jpg'}
[2023-01-29 05:16:52,878] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:16:52] "POST /extract HTTP/1.1" 200 -
[2023-01-29 05:16:53,129] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:16:53] "GET / HTTP/1.1" 200 -
[2023-01-29 05:16:55,396] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:16:55] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 05:16:55,399] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:16:55] "[36mGET /static/script.js HTTP/1.1[0m" 304 -
[2023-01-29 05:17:17,839] INFO in app: caption SmallCap predict success
[2023-01-29 05:17:18,816] INFO in app: caption ClipCap predict success
[2023-01-29 05:17:18,817] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang khám cho một người đàn ông', 'caption_smallcap': 'Một người đàn ông đang ngồi trên bàn làm việc', 'elapsed_time': 2.2252273559570312, 'file': 'crawl_0F5V9F4F16.jpg'}
[2023-01-29 05:17:18,818] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:17:18] "POST /extract HTTP/1.1" 200 -
[2023-01-29 05:17:41,586] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:17:41] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:18:18,412] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:18:18] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:18:59,444] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:18:59] "GET / HTTP/1.1" 200 -
[2023-01-29 05:19:00,423] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:19:00] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 05:19:00,424] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:19:00] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 05:19:30,424] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:19:30] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:21:16,916] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:21:16] "GET / HTTP/1.1" 200 -
[2023-01-29 05:21:18,348] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:21:18] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 05:21:20,094] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:21:20] "[36mGET /static/script.js HTTP/1.1[0m" 304 -
[2023-01-29 05:21:48,579] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:21:48] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:22:02,603] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:22:02] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 05:25:04,575] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 05:25:04,575] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 05:25:56,840] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:25:56] "GET / HTTP/1.1" 200 -
[2023-01-29 05:25:57,925] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:25:57] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 05:25:57,925] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:25:57] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 05:26:07,937] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:26:07] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 05:27:09,131] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:27:09] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:29:02,099] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:29:02] "GET / HTTP/1.1" 200 -
[2023-01-29 05:29:03,153] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:29:03] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 05:31:15,628] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 05:31:15,628] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 05:31:28,996] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:31:28] "GET / HTTP/1.1" 200 -
[2023-01-29 05:31:32,001] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:31:32] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 05:31:32,002] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:31:32] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 05:31:49,448] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:31:49] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 05:32:07,926] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:32:07] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:33:06,736] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:33:06] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:35:06,756] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 05:35:06,757] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 05:35:56,300] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:35:56] "GET / HTTP/1.1" 200 -
[2023-01-29 05:35:58,570] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:35:58] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 05:35:58,570] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:35:58] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 05:36:02,697] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:36:02] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 05:36:27,058] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:36:27] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:37:02,354] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:37:02] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 05:38:09,109] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:38:09] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:46:54,823] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:46:54] "GET / HTTP/1.1" 200 -
[2023-01-29 05:46:59,796] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:46:59] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 05:46:59,798] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:46:59] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 05:47:04,541] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:47:04] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 05:48:04,796] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 05:48:04,796] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 05:48:29,191] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:48:29] "GET / HTTP/1.1" 200 -
[2023-01-29 05:48:33,070] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:48:33] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 05:48:33,071] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:48:33] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 05:48:39,618] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:48:39] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 05:49:23,469] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:49:23] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 05:49:34,586] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:49:34] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 05:53:10,034] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 05:53:10,035] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 05:53:36,220] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:53:36] "GET / HTTP/1.1" 200 -
[2023-01-29 05:53:37,562] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:53:37] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 05:53:37,562] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:53:37] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 05:53:42,038] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:53:42] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 05:54:11,222] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 05:54:11] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 06:01:40,565] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 06:01:40,565] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 06:02:48,122] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:02:48] "GET / HTTP/1.1" 200 -
[2023-01-29 06:02:53,783] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:02:53] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 06:02:53,784] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:02:53] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 06:02:56,250] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:02:56] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 06:03:23,764] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:03:23] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 06:04:03,820] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:04:03] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 06:05:37,949] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.17.0.2:5000
[2023-01-29 06:05:37,950] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 06:06:30,751] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 06:06:30] "GET / HTTP/1.1" 200 -
[2023-01-29 06:06:30,780] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 06:06:30] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 06:06:30,780] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 06:06:30] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 06:06:30,848] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 06:06:30] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 06:06:36,621] INFO in app: caption SmallCap predict success
[2023-01-29 06:06:37,772] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 06:06:37] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 06:06:38,045] INFO in app: caption ClipCap predict success
[2023-01-29 06:06:38,046] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Nhân viên y tế đang kiểm tra mẫu xét nghiệm', 'caption_smallcap': 'Một người đàn ông đang cầm ống nghiệm trên tay', 'elapsed_time': 2.6272377967834473, 'file': 'crawl_0HXOC0WYQA.jpg'}
[2023-01-29 06:06:38,047] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 06:06:38] "POST /extract HTTP/1.1" 200 -
[2023-01-29 06:07:05,084] INFO in app: caption SmallCap predict success
[2023-01-29 06:07:06,361] INFO in app: caption ClipCap predict success
[2023-01-29 06:07:06,361] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Các bác sĩ trong một ca phẫu thuật', 'caption_smallcap': 'Có ba bác sĩ trong một ca phẫu thuật', 'elapsed_time': 2.646411418914795, 'file': 'crawl_0A2OWSL7N4.jpg'}
[2023-01-29 06:07:06,362] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 06:07:06] "POST /extract HTTP/1.1" 200 -
[2023-01-29 06:07:26,908] INFO in app: caption SmallCap predict success
[2023-01-29 06:07:28,035] INFO in app: caption ClipCap predict success
[2023-01-29 06:07:28,036] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Hai cậu bé ngồi cạnh nhau trong phòng', 'caption_smallcap': 'Cậu bé mặc áo đỏ có khuôn mặt bị biến dạng', 'elapsed_time': 2.040337562561035, 'file': '000000030712.jpg'}
[2023-01-29 06:07:28,037] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 06:07:28] "POST /extract HTTP/1.1" 200 -
[2023-01-29 06:10:53,221] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 06:10:53,221] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 06:11:30,685] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:11:30] "GET / HTTP/1.1" 200 -
[2023-01-29 06:11:33,438] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:11:33] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 06:11:52,782] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:11:52] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 06:11:58,436] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:11:58] "GET / HTTP/1.1" 200 -
[2023-01-29 06:11:59,961] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:11:59] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 06:12:02,670] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:12:02] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 06:12:04,004] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:12:04] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 06:12:47,613] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:12:47] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 06:14:32,221] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:14:32] "GET / HTTP/1.1" 200 -
[2023-01-29 06:14:35,397] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:14:35] "[36mGET /static/script.js HTTP/1.1[0m" 304 -
[2023-01-29 06:14:35,399] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:14:35] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 06:15:02,572] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:15:02] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 06:17:27,935] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 06:17:27,936] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 06:18:39,244] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:18:39] "GET / HTTP/1.1" 200 -
[2023-01-29 06:18:41,198] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:18:41] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 06:18:41,511] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:18:41] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 06:19:01,941] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:19:01] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 06:19:03,354] INFO in app: caption SmallCap predict success
[2023-01-29 06:19:04,331] INFO in app: caption ClipCap predict success
[2023-01-29 06:19:04,331] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang khám cho một người đàn ông', 'caption_smallcap': 'Một người đàn ông đang mỉm cười', 'elapsed_time': 2.377277135848999, 'file': 'crawl_0F5V9F4F16.jpg'}
[2023-01-29 06:19:04,332] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:19:04] "POST /extract HTTP/1.1" 200 -
[2023-01-29 06:19:26,937] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:19:26] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 06:20:03,016] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:20:03] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 06:22:08,330] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:22:08] "GET / HTTP/1.1" 200 -
[2023-01-29 06:23:16,722] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 06:23:16,723] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 06:23:39,776] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:23:39] "GET / HTTP/1.1" 200 -
[2023-01-29 06:23:43,724] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:23:43] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 06:23:43,725] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:23:43] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 06:23:46,713] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:23:46] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 06:24:19,055] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 06:24:19] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 06:27:43,801] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 06:27:43,802] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 06:29:14,463] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 06:29:14,463] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 06:31:29,135] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 06:31:29,135] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 07:31:32,139] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 07:31:32,140] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 07:32:38,540] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:32:38] "GET / HTTP/1.1" 200 -
[2023-01-29 07:32:40,880] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:32:40] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 07:32:40,881] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:32:40] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 07:32:45,043] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:32:45] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 07:34:18,125] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:34:18] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 07:34:19,453] INFO in app: caption SmallCap predict success
[2023-01-29 07:34:20,730] INFO in app: caption ClipCap predict success
[2023-01-29 07:34:20,730] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người phụ nữ đang ngồi ôm hai tay vào nhau', 'caption_smallcap': 'Một người đàn ông ôm lấy một người phụ nữ đang ôm bé sơ sinh', 'elapsed_time': 2.9346418380737305, 'file': 'crawl_00ZMKGAVS8.jpg'}
[2023-01-29 07:34:20,731] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:34:20] "POST /extract HTTP/1.1" 200 -
[2023-01-29 07:34:53,502] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:34:53] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 07:45:32,886] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 07:45:32,886] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 07:45:54,597] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:45:54] "GET / HTTP/1.1" 200 -
[2023-01-29 07:45:55,552] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:45:55] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 07:45:56,913] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:45:56] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 07:45:57,921] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:45:57] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 07:46:35,659] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:46:35] "GET / HTTP/1.1" 200 -
[2023-01-29 07:46:39,251] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:46:39] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 07:46:39,252] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:46:39] "[36mGET /static/script.js HTTP/1.1[0m" 304 -
[2023-01-29 07:47:02,502] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:47:02] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 07:47:03,753] INFO in app: caption SmallCap predict success
[2023-01-29 07:47:05,080] INFO in app: caption ClipCap predict success
[2023-01-29 07:47:05,081] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông trong một buổi tập thể dục ngoài trời', 'caption_smallcap': 'Một người đàn ông khuyết tật hai tay đang chơi tennis', 'elapsed_time': 2.573577404022217, 'file': '000000043163.jpg'}
[2023-01-29 07:47:05,081] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:47:05] "POST /extract HTTP/1.1" 200 -
[2023-01-29 07:47:28,671] INFO in app: caption SmallCap predict success
[2023-01-29 07:47:30,019] INFO in app: caption ClipCap predict success
[2023-01-29 07:47:30,020] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người phụ nữ đang ngồi ôm hai tay vào nhau', 'caption_smallcap': 'Một người đàn ông ôm lấy một người phụ nữ đang ôm bé sơ sinh', 'elapsed_time': 3.4353270530700684, 'file': 'crawl_00ZMKGAVS8.jpg'}
[2023-01-29 07:47:30,020] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:47:30] "POST /extract HTTP/1.1" 200 -
[2023-01-29 07:47:56,384] INFO in app: caption SmallCap predict success
[2023-01-29 07:47:57,760] INFO in app: caption ClipCap predict success
[2023-01-29 07:47:57,760] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Nhân viên y tế đang kiểm tra mẫu xét nghiệm', 'caption_smallcap': 'Một người đàn ông đang cầm ống nghiệm trên tay', 'elapsed_time': 2.661161422729492, 'file': 'crawl_0HXOC0WYQA.jpg'}
[2023-01-29 07:47:57,761] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:47:57] "POST /extract HTTP/1.1" 200 -
[2023-01-29 07:48:53,218] ERROR in app: Exception on /extract [POST]
Traceback (most recent call last):
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "app.py", line 61, in extract
caption2 = predictor2.predict(file_full_path,dataset_name)
File "/app/ImageCaptioning/models/smallcap.py", line 56, in predict
self.load_model_dataset(dataset_name)
File "/app/ImageCaptioning/models/smallcap.py", line 93, in load_model_dataset
self.retrieval_index = faiss.index_cpu_to_gpu(res, 0, retrieval_index)
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/faiss/swigfaiss.py", line 10275, in index_cpu_to_gpu
return _swigfaiss.index_cpu_to_gpu(provider, device, index, options)
RuntimeError: Error in virtual void* faiss::gpu::StandardGpuResourcesImpl::allocMemory(const faiss::gpu::AllocRequest&) at /project/faiss/faiss/gpu/StandardGpuResources.cpp:452: Error: 'err == cudaSuccess' failed: StandardGpuResources: alloc fail type TemporaryMemoryBuffer dev 0 space Device stream 0x7fdfbf215070 size 1610612736 bytes (cudaMalloc error unknown error [30])
[2023-01-29 07:48:53,224] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:48:53] "[35m[1mPOST /extract HTTP/1.1[0m" 500 -
[2023-01-29 07:50:05,636] ERROR in app: Exception on /extract [POST]
Traceback (most recent call last):
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "app.py", line 61, in extract
caption2 = predictor2.predict(file_full_path,dataset_name)
File "/app/ImageCaptioning/models/smallcap.py", line 56, in predict
self.load_model_dataset(dataset_name)
File "/app/ImageCaptioning/models/smallcap.py", line 93, in load_model_dataset
self.retrieval_index = faiss.index_cpu_to_gpu(res, 0, retrieval_index)
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/faiss/swigfaiss.py", line 10275, in index_cpu_to_gpu
return _swigfaiss.index_cpu_to_gpu(provider, device, index, options)
RuntimeError: Error in virtual void* faiss::gpu::StandardGpuResourcesImpl::allocMemory(const faiss::gpu::AllocRequest&) at /project/faiss/faiss/gpu/StandardGpuResources.cpp:452: Error: 'err == cudaSuccess' failed: StandardGpuResources: alloc fail type TemporaryMemoryBuffer dev 0 space Device stream 0x7fdfaf3b7b00 size 1610612736 bytes (cudaMalloc error unknown error [30])
[2023-01-29 07:50:05,638] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:50:05] "[35m[1mPOST /extract HTTP/1.1[0m" 500 -
[2023-01-29 07:51:40,213] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:51:40] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 07:52:24,609] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:52:24] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 07:52:45,915] INFO in app: caption SmallCap predict success
[2023-01-29 07:52:46,892] INFO in app: caption ClipCap predict success
[2023-01-29 07:52:46,892] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một cô gái đang đứng sau một chiếc xe lăn', 'caption_smallcap': 'Một người bị khuyết tật hai tay đang chơi tennis', 'elapsed_time': 1.9708013534545898, 'file': '000000043856.jpg'}
[2023-01-29 07:52:46,893] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:52:46] "POST /extract HTTP/1.1" 200 -
[2023-01-29 07:53:30,899] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 07:53:30] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 07:57:39,195] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 07:57:39,196] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 08:03:20,808] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 08:03:20,808] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 08:04:29,625] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:04:29] "GET / HTTP/1.1" 200 -
[2023-01-29 08:04:31,180] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:04:31] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 08:04:31,180] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:04:31] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 08:04:33,761] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:04:33] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 08:06:00,434] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:06:00] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 08:06:36,751] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:06:36] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 08:08:54,519] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:08:54] "GET / HTTP/1.1" 200 -
[2023-01-29 08:08:55,893] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:08:55] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 08:08:55,894] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:08:55] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 08:08:57,345] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:08:57] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 08:09:27,817] INFO in app: caption SmallCap predict success
[2023-01-29 08:09:29,321] INFO in app: caption ClipCap predict success
[2023-01-29 08:09:29,322] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một bệnh nhân đang được truyền nước trên giường bệnh', 'caption_smallcap': 'Bác sĩ đang thăm khám cho bệnh nhân', 'elapsed_time': 2.6926028728485107, 'file': 'crawl_1DYG5XI5ZC.jpg'}
[2023-01-29 08:09:29,324] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:09:29] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:09:29,989] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:09:29] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 08:10:08,077] INFO in app: caption SmallCap predict success
[2023-01-29 08:10:09,259] INFO in app: caption ClipCap predict success
[2023-01-29 08:10:09,260] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bệnh nhân đang được các bác sĩ kiểm tra khuôn mặt', 'caption_smallcap': 'Một người đàn ông đeo kính và khẩu trang', 'elapsed_time': 2.333425998687744, 'file': 'crawl_0JN8T9DO7O.jpg'}
[2023-01-29 08:10:09,260] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:10:09] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:10:36,803] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:10:36] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 08:10:57,560] INFO in app: caption SmallCap predict success
[2023-01-29 08:10:59,211] INFO in app: caption ClipCap predict success
[2023-01-29 08:10:59,212] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người phụ nữ mặc áo đỏ đang đưa tập phiếu cho nhân viên y tế', 'caption_smallcap': 'Một người phụ nữ mặc áo trắng đang đưa tay lên che miệng', 'elapsed_time': 2.6954705715179443, 'file': 'crawl_1AWWDSTJP6.jpg'}
[2023-01-29 08:10:59,213] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:10:59] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:11:19,737] INFO in app: caption SmallCap predict success
[2023-01-29 08:11:20,911] INFO in app: caption ClipCap predict success
[2023-01-29 08:11:20,912] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang nói chuyện với người phụ nữ', 'caption_smallcap': 'Người phụ nữ tóc vàng đang nói chuyện với bác sĩ', 'elapsed_time': 2.1352627277374268, 'file': 'crawl_0NIHAW6DDJ.jpg'}
[2023-01-29 08:11:20,912] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:11:20] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:13:21,328] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 08:13:21,328] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 08:16:39,979] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:16:39] "GET / HTTP/1.1" 200 -
[2023-01-29 08:16:40,692] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:16:40] "GET / HTTP/1.1" 200 -
[2023-01-29 08:16:41,738] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:16:41] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 08:16:41,992] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:16:41] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 08:16:44,134] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:16:44] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 08:17:14,824] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:17:14] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 08:17:40,297] INFO in app: caption SmallCap predict success
[2023-01-29 08:17:41,474] INFO in app: caption ClipCap predict success
[2023-01-29 08:17:41,474] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang nói chuyện với người phụ nữ', 'caption_smallcap': 'Người phụ nữ tóc vàng đang nói chuyện với bác sĩ', 'elapsed_time': 2.123365640640259, 'file': 'crawl_0NIHAW6DDJ.jpg'}
[2023-01-29 08:17:41,475] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:17:41] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:18:20,224] INFO in app: caption SmallCap predict success
[2023-01-29 08:18:21,122] INFO in app: caption ClipCap predict success
[2023-01-29 08:18:21,122] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông đang nằm trên giường bệnh', 'caption_smallcap': 'Người đàn ông đang nằm trên giường bệnh bên cạnh hình ảnh anh ta mặc vest lúc khỏe mạnh', 'elapsed_time': 2.714859962463379, 'file': 'crawl_0MMO4WZ9SC.jpg'}
[2023-01-29 08:18:21,123] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:18:21] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:18:49,592] INFO in app: caption SmallCap predict success
[2023-01-29 08:18:52,325] INFO in app: caption ClipCap predict success
[2023-01-29 08:18:52,325] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người phụ nữ đang nằm trên giường bệnh', 'caption_smallcap': 'Một người phụ nữ nằm trong phòng chăm sóc tích cực', 'elapsed_time': 3.689913272857666, 'file': 'crawl_0VTI9UB4CU.jpg'}
[2023-01-29 08:18:52,326] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:18:52] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:19:23,959] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:19:23] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 08:20:22,706] ERROR in app: Exception on /extract [POST]
Traceback (most recent call last):
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "app.py", line 61, in extract
caption2 = predictor2.predict(file_full_path,dataset_name)
File "/app/ImageCaptioning/models/smallcap.py", line 56, in predict
self.load_model_dataset(dataset_name)
File "/app/ImageCaptioning/models/smallcap.py", line 93, in load_model_dataset
self.retrieval_index = faiss.index_cpu_to_gpu(res, 0, retrieval_index)
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/faiss/swigfaiss.py", line 10275, in index_cpu_to_gpu
return _swigfaiss.index_cpu_to_gpu(provider, device, index, options)
RuntimeError: Error in virtual void* faiss::gpu::StandardGpuResourcesImpl::allocMemory(const faiss::gpu::AllocRequest&) at /project/faiss/faiss/gpu/StandardGpuResources.cpp:452: Error: 'err == cudaSuccess' failed: StandardGpuResources: alloc fail type TemporaryMemoryBuffer dev 0 space Device stream 0x7f5cb7811ee0 size 1610612736 bytes (cudaMalloc error unknown error [30])
[2023-01-29 08:20:22,711] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:20:22] "[35m[1mPOST /extract HTTP/1.1[0m" 500 -
[2023-01-29 08:22:21,386] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 08:22:21,387] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 08:24:31,938] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.17.0.2:5000
[2023-01-29 08:24:31,938] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 08:24:45,875] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:24:45] "GET / HTTP/1.1" 200 -
[2023-01-29 08:24:45,938] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:24:45] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 08:24:45,940] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:24:45] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 08:24:45,999] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:24:45] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 08:24:53,912] INFO in app: caption SmallCap predict success
[2023-01-29 08:24:55,452] INFO in app: caption ClipCap predict success
[2023-01-29 08:24:55,452] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Nhân viên y tế đang kiểm tra mẫu xét nghiệm', 'caption_smallcap': 'Một người đàn ông đang cầm ống nghiệm trên tay', 'elapsed_time': 2.644087076187134, 'file': 'crawl_0HXOC0WYQA.jpg'}
[2023-01-29 08:24:55,453] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:24:55] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:25:07,439] INFO in app: caption SmallCap predict success
[2023-01-29 08:25:08,396] INFO in app: caption ClipCap predict success
[2023-01-29 08:25:08,396] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang khám cho một người đàn ông', 'caption_smallcap': 'Một người đàn ông đang ngồi trên bàn làm việc', 'elapsed_time': 2.279707193374634, 'file': 'crawl_0F5V9F4F16.jpg'}
[2023-01-29 08:25:08,396] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:25:08] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:25:27,646] INFO in app: caption SmallCap predict success
[2023-01-29 08:25:29,350] INFO in app: caption ClipCap predict success
[2023-01-29 08:25:29,351] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Các bác sĩ đang tiến hành phẫu thuật cho một người đàn ông', 'caption_smallcap': 'Các bác sĩ đang tiến hành phẫu thuật', 'elapsed_time': 2.6664650440216064, 'file': 'crawl_0HLS0CX8D5.jpg'}
[2023-01-29 08:25:29,351] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:25:29] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:25:46,940] INFO in app: caption SmallCap predict success
[2023-01-29 08:25:48,426] INFO in app: caption ClipCap predict success
[2023-01-29 08:25:48,426] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người mặc đồ bảo hộ và đeo khẩu trang đang đứng trước máy may', 'caption_smallcap': 'Một người đàn ông đang đeo khẩu trang màu xanh', 'elapsed_time': 2.9280130863189697, 'file': 'crawl_0GE1ONYM8Y.jpg'}
[2023-01-29 08:25:48,427] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:25:48] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:26:24,585] INFO in app: caption SmallCap predict success
[2023-01-29 08:26:26,283] INFO in app: caption ClipCap predict success
[2023-01-29 08:26:26,284] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Những viên thuốc dạng nén màu xanh dương đang được đặt trên một khay màu xanh lá', 'caption_smallcap': 'Lọ thuốc và các viên thuốc màu đỏ', 'elapsed_time': 2.7639970779418945, 'file': '0B0D97FA00.jpg'}
[2023-01-29 08:26:26,285] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:26:26] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:26:39,496] INFO in app: caption SmallCap predict success
[2023-01-29 08:26:40,631] INFO in app: caption ClipCap predict success
[2023-01-29 08:26:40,631] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông đang ngồi trên xe lăn', 'caption_smallcap': 'Một người phụ nữ ngồi trên xe lăn bên cạnh một người đàn ông đang ngồi trên ghế', 'elapsed_time': 3.414994716644287, 'file': '5B6E7795B3.jpg'}
[2023-01-29 08:26:40,632] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:26:40] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:27:00,366] INFO in app: caption SmallCap predict success
[2023-01-29 08:27:02,326] INFO in app: caption ClipCap predict success
[2023-01-29 08:27:02,326] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Các nhân viên y tế đang đo huyết áp cho một người phụ nữ', 'caption_smallcap': 'Nhân viên y tế đang giúp người phụ nữ hiến máu', 'elapsed_time': 3.1827991008758545, 'file': '6F40C5F8BA.jpg'}
[2023-01-29 08:27:02,327] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:27:02] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:27:19,656] INFO in app: caption SmallCap predict success
[2023-01-29 08:27:20,652] INFO in app: caption ClipCap predict success
[2023-01-29 08:27:20,653] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang lau mũi cho một người phụ nữ', 'caption_smallcap': 'Một bác sĩ đeo ống nghe đang lấy khăn giấy lau mũi', 'elapsed_time': 2.1206233501434326, 'file': '7F83D9CCCE.jpg'}
[2023-01-29 08:27:20,653] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:27:20] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:27:57,535] INFO in app: caption SmallCap predict success
[2023-01-29 08:27:59,022] INFO in app: caption ClipCap predict success
[2023-01-29 08:27:59,023] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Người đàn ông nằm trên cáng trước một quầy thông tin trong bệnh viện', 'caption_smallcap': 'Người đàn ông nằm trên cáng trước một quầy thông tin trong bệnh viện', 'elapsed_time': 3.33005952835083, 'file': '4C271033FB.jpg'}
[2023-01-29 08:27:59,023] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:27:59] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:28:13,538] INFO in app: caption SmallCap predict success
[2023-01-29 08:28:15,381] INFO in app: caption ClipCap predict success
[2023-01-29 08:28:15,382] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người phụ nữ mặc váy màu đen đang đeo chiếc vòng cổ bằng kim tuyến sặc sỡ', 'caption_smallcap': 'Một người phụ nữ đang đeo khẩu trang', 'elapsed_time': 2.7135722637176514, 'file': '0B396CC35F.jpg'}
[2023-01-29 08:28:15,382] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:28:15] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:28:26,951] INFO in app: caption SmallCap predict success
[2023-01-29 08:28:28,793] INFO in app: caption ClipCap predict success
[2023-01-29 08:28:28,794] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người phụ nữ mặc váy màu đen đang đeo chiếc vòng cổ bằng kim tuyến sặc sỡ', 'caption_smallcap': 'Một người phụ nữ đang đeo khẩu trang', 'elapsed_time': 2.9560434818267822, 'file': '0B396CC35F.jpg'}
[2023-01-29 08:28:28,794] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:28:28] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:28:39,310] INFO in app: caption SmallCap predict success
[2023-01-29 08:28:40,904] INFO in app: caption ClipCap predict success
[2023-01-29 08:28:40,904] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông bế một em bé sơ sinh', 'caption_smallcap': 'Một người đàn ông đang chăm sóc một em bé sơ sinh', 'elapsed_time': 3.0545883178710938, 'file': '6DD94E5F4A.jpg'}
[2023-01-29 08:28:40,905] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:28:40] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:28:59,688] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:28:59] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 08:29:04,838] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:29:04] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 08:29:13,955] ERROR in app: Exception on /extract [POST]
Traceback (most recent call last):
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "app.py", line 61, in extract
caption2 = predictor2.predict(file_full_path,dataset_name)
File "/app/ImageCaptioning/models/smallcap.py", line 56, in predict
self.load_model_dataset(dataset_name)
File "/app/ImageCaptioning/models/smallcap.py", line 93, in load_model_dataset
self.retrieval_index = faiss.index_cpu_to_gpu(res, 0, retrieval_index)
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/faiss/swigfaiss.py", line 10275, in index_cpu_to_gpu
return _swigfaiss.index_cpu_to_gpu(provider, device, index, options)
RuntimeError: Error in virtual void* faiss::gpu::StandardGpuResourcesImpl::allocMemory(const faiss::gpu::AllocRequest&) at /project/faiss/faiss/gpu/StandardGpuResources.cpp:452: Error: 'err == cudaSuccess' failed: StandardGpuResources: alloc fail type TemporaryMemoryBuffer dev 0 space Device stream 0x7f8cc4691c60 size 1610612736 bytes (cudaMalloc error unknown error [30])
[2023-01-29 08:29:13,960] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:29:13] "[35m[1mPOST /extract HTTP/1.1[0m" 500 -
[2023-01-29 08:31:46,455] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.17.0.2:5000
[2023-01-29 08:31:46,455] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 08:32:34,966] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:32:34] "GET / HTTP/1.1" 200 -
[2023-01-29 08:32:34,996] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:32:34] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 08:32:34,996] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:32:34] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 08:32:36,211] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:32:36] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 08:32:51,169] DEBUG in TiffImagePlugin: tag: Orientation (274) - type: short (3) - value: b'\x01\x00'
[2023-01-29 08:32:51,170] DEBUG in TiffImagePlugin: tag: XResolution (282) - type: rational (5) Tag Location: 34 - Data Location: 74 - value: b'\xdf\x93\x04\x00\xe8\x03\x00\x00'
[2023-01-29 08:32:51,170] DEBUG in TiffImagePlugin: tag: YResolution (283) - type: rational (5) Tag Location: 46 - Data Location: 82 - value: b'\xdf\x93\x04\x00\xe8\x03\x00\x00'
[2023-01-29 08:32:51,170] DEBUG in TiffImagePlugin: tag: ResolutionUnit (296) - type: short (3) - value: b'\x02\x00'
[2023-01-29 08:32:51,171] DEBUG in TiffImagePlugin: tag: ExifIFD (34665) - type: long (4) - value: b'Z\x00\x00\x00'
[2023-01-29 08:32:52,624] INFO in app: caption SmallCap predict success
[2023-01-29 08:32:52,625] DEBUG in TiffImagePlugin: tag: Orientation (274) - type: short (3) - value: b'\x01\x00'
[2023-01-29 08:32:52,626] DEBUG in TiffImagePlugin: tag: XResolution (282) - type: rational (5) Tag Location: 34 - Data Location: 74 - value: b'\xdf\x93\x04\x00\xe8\x03\x00\x00'
[2023-01-29 08:32:52,626] DEBUG in TiffImagePlugin: tag: YResolution (283) - type: rational (5) Tag Location: 46 - Data Location: 82 - value: b'\xdf\x93\x04\x00\xe8\x03\x00\x00'
[2023-01-29 08:32:52,626] DEBUG in TiffImagePlugin: tag: ResolutionUnit (296) - type: short (3) - value: b'\x02\x00'
[2023-01-29 08:32:52,626] DEBUG in TiffImagePlugin: tag: ExifIFD (34665) - type: long (4) - value: b'Z\x00\x00\x00'
[2023-01-29 08:32:54,117] INFO in app: caption ClipCap predict success
[2023-01-29 08:32:54,117] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang đỡ một phụ nữ lên xe lăn', 'caption_smallcap': 'Một người bác sĩ đang đứng ở hành lang bệnh viện', 'elapsed_time': 2.996539354324341, 'file': 'crawl_00YZ75RSXG.jpg'}
[2023-01-29 08:32:54,118] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:32:54] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:34:16,382] INFO in app: caption SmallCap predict success
[2023-01-29 08:34:29,331] INFO in app: caption ClipCap predict success
[2023-01-29 08:34:29,331] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một người đàn ông đang cúi người ở trên sân bóng chày', 'caption_smallcap': 'Các bác sĩ đang chăm sóc cho cầu thủ ở trên sân.', 'elapsed_time': 30.28403401374817, 'file': '00B00D886E.jpg'}
[2023-01-29 08:34:29,332] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:34:29] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:34:40,825] INFO in app: caption SmallCap predict success
[2023-01-29 08:34:44,731] INFO in app: caption ClipCap predict success
[2023-01-29 08:34:44,731] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một người đàn ông bên trong “chiếc cặp” của các cô gái đang chơi bóng', 'caption_smallcap': 'Cô bé đang ngồi trên ghế trong khi cậu bé đang đứng tựa vào ghế.', 'elapsed_time': 5.170600414276123, 'file': '0034D55262.jpg'}
[2023-01-29 08:34:44,732] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:34:44] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:35:21,910] INFO in app: caption SmallCap predict success
[2023-01-29 08:35:25,760] INFO in app: caption ClipCap predict success
[2023-01-29 08:35:25,760] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Ba vận động viên tennis đang đứng trên sân lúc trời nắng', 'caption_smallcap': 'Hai người đàn ông với vợt tennis tạo dáng chụp ảnh', 'elapsed_time': 4.726897954940796, 'file': '000000001014.jpg'}
[2023-01-29 08:35:25,761] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:35:25] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:35:59,315] INFO in app: caption SmallCap predict success
[2023-01-29 08:36:10,278] INFO in app: caption ClipCap predict success
[2023-01-29 08:36:10,278] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Nhóm người đang tập trung ngoài sân trường', 'caption_smallcap': 'Một gia đình đang chơi bóng đá', 'elapsed_time': 28.52785062789917, 'file': '000000025358.jpg'}
[2023-01-29 08:36:10,279] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:36:10] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:36:12,205] INFO in app: caption SmallCap predict success
[2023-01-29 08:36:13,627] INFO in app: caption ClipCap predict success
[2023-01-29 08:36:13,627] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông đang đặt tay lên ngực của mình', 'caption_smallcap': 'Một bàn tay đang cầm một thiết bị y tế', 'elapsed_time': 2.2269535064697266, 'file': 'crawl_0W2SA67LA3.jpg'}
[2023-01-29 08:36:13,628] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:36:13] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:36:27,365] INFO in app: caption SmallCap predict success
[2023-01-29 08:36:29,272] INFO in app: caption ClipCap predict success
[2023-01-29 08:36:29,272] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Vào trong phòng cấp cứu có hai chiếc giường bệnh', 'caption_smallcap': 'This định hành lang bệnh viện', 'elapsed_time': 2.547959804534912, 'file': 'crawl_0TK57FRS15.jpg'}
[2023-01-29 08:36:29,273] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:36:29] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:36:45,324] INFO in app: caption SmallCap predict success
[2023-01-29 08:36:46,307] INFO in app: caption ClipCap predict success
[2023-01-29 08:36:46,308] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đang được tiêm vào bắp tay', 'caption_smallcap': 'Bác sĩ đang điều trị cho bệnh nhân', 'elapsed_time': 1.9101946353912354, 'file': 'crawl_0SA5RVH403.jpg'}
[2023-01-29 08:36:46,308] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:36:46] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:36:58,785] INFO in app: caption SmallCap predict success
[2023-01-29 08:37:00,047] INFO in app: caption ClipCap predict success
[2023-01-29 08:37:00,047] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Nhân viên y tế đang tiến hành phẫu thuật cho bệnh nhân', 'caption_smallcap': 'Nhân viên y tế đang ôm khối u trong phòng phẫu thuật', 'elapsed_time': 2.4725699424743652, 'file': 'crawl_1BA40QL8L7.jpg'}
[2023-01-29 08:37:00,048] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:37:00] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:37:15,663] INFO in app: caption SmallCap predict success
[2023-01-29 08:37:17,080] INFO in app: caption ClipCap predict success
[2023-01-29 08:37:17,080] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đàn ông đang đặt tay lên ngực của mình', 'caption_smallcap': 'Một bàn tay đang cầm một thiết bị y tế', 'elapsed_time': 2.231724977493286, 'file': 'crawl_0W2SA67LA3.jpg'}
[2023-01-29 08:37:17,081] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:37:17] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:38:16,937] INFO in app: caption SmallCap predict success
[2023-01-29 08:38:18,333] INFO in app: caption ClipCap predict success
[2023-01-29 08:38:18,333] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Các nhân viên y tế đang giúp một người nằm trên giường bệnh', 'caption_smallcap': 'Các bác sĩ đang thực hiện một ca phẫu thuật', 'elapsed_time': 2.7703616619110107, 'file': 'crawl_0P3NYM4XLS.jpg'}
[2023-01-29 08:38:18,334] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:38:18] "POST /extract HTTP/1.1" 200 -
[2023-01-29 08:40:34,747] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 08:40:34,747] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 08:43:10,011] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 08:43:10,011] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 08:43:51,065] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:43:51] "GET / HTTP/1.1" 200 -
[2023-01-29 08:43:53,591] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:43:53] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 08:43:53,921] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:43:53] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 08:43:55,015] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:43:55] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 08:47:24,501] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:47:24] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 08:47:32,045] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:47:32] "GET / HTTP/1.1" 200 -
[2023-01-29 08:47:55,311] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:47:55] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 08:47:55,312] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:47:55] "[36mGET /static/script.js HTTP/1.1[0m" 304 -
[2023-01-29 08:48:06,080] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:48:06] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 08:48:27,677] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:48:27] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 08:48:27,681] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:48:27] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 08:49:34,372] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 08:49:34,372] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 08:50:25,527] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:50:25] "GET / HTTP/1.1" 200 -
[2023-01-29 08:50:27,174] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:50:27] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 08:50:28,857] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:50:28] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 08:50:30,477] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:50:30] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 08:51:55,672] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:51:55] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 08:52:26,643] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:52:26] "[31m[1mPOST /extract HTTP/1.1[0m" 400 -
[2023-01-29 08:57:35,335] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.17.0.2:5000
[2023-01-29 08:57:35,336] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 08:57:48,180] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:57:48] "GET / HTTP/1.1" 200 -
[2023-01-29 08:57:48,211] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:57:48] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 08:57:48,213] INFO in _internal: 172.17.0.1 - - [29/Jan/2023 08:57:48] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 08:58:58,526] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:58:58] "GET / HTTP/1.1" 200 -
[2023-01-29 08:58:59,626] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:58:59] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 08:58:59,940] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:58:59] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 08:59:01,632] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:59:01] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 08:59:22,616] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 08:59:22] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 09:00:34,517] INFO in app: caption SmallCap predict success
[2023-01-29 09:00:35,997] INFO in app: caption ClipCap predict success
[2023-01-29 09:00:35,997] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một bàn tay đang nắm lấy hai tay của một người', 'caption_smallcap': 'Một bàn tay đang xoa bóp vai trái của mình', 'elapsed_time': 2.5958070755004883, 'file': 'crawl_0DZIO6C6EQ.jpg'}
[2023-01-29 09:00:35,998] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:00:35] "POST /extract HTTP/1.1" 200 -
[2023-01-29 09:01:44,836] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 09:01:44,836] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 09:03:07,225] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:03:07] "GET / HTTP/1.1" 200 -
[2023-01-29 09:03:08,098] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:03:08] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 09:03:09,306] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:03:09] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 09:03:09,956] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:03:09] "GET / HTTP/1.1" 200 -
[2023-01-29 09:03:11,307] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:03:11] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 09:03:11,307] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:03:11] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 09:03:12,695] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:03:12] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 09:03:13,020] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:03:13] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 09:06:13,535] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 09:06:13,536] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 09:11:06,521] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 09:11:06,521] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 09:12:48,564] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 09:12:48,564] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 09:14:27,359] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 09:14:27,359] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 09:14:53,422] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:14:53] "GET / HTTP/1.1" 200 -
[2023-01-29 09:14:53,863] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:14:53] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 09:14:53,865] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:14:53] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 09:14:55,251] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:14:55] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 09:15:04,395] INFO in app: caption SmallCap predict success
[2023-01-29 09:15:05,665] INFO in app: caption ClipCap predict success
[2023-01-29 09:15:05,666] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người phụ nữ đang ngồi ôm hai tay vào nhau', 'caption_smallcap': 'Một người đàn ông ôm lấy một người phụ nữ đang ôm ấp mình', 'elapsed_time': 3.144686460494995, 'file': 'crawl_00ZMKGAVS8.jpg'}
[2023-01-29 09:15:05,666] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:15:05] "POST /extract HTTP/1.1" 200 -
[2023-01-29 09:15:22,120] INFO in app: caption SmallCap predict success
[2023-01-29 09:15:23,206] INFO in app: caption ClipCap predict success
[2023-01-29 09:15:23,207] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang quan sát một người phụ nữ', 'caption_smallcap': 'Bác sĩ đang khám răng cho một cô gái', 'elapsed_time': 1.9056806564331055, 'file': 'crawl_0LLLE94YNU.jpg'}
[2023-01-29 09:15:23,207] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:15:23] "POST /extract HTTP/1.1" 200 -
[2023-01-29 09:15:40,728] INFO in app: caption SmallCap predict success
[2023-01-29 09:15:42,226] INFO in app: caption ClipCap predict success
[2023-01-29 09:15:42,226] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Các nhân viên y tế đang đứng quanh một giường bệnh', 'caption_smallcap': 'Các bác sĩ đang chăm sóc cho bệnh nhân trong phòng điều trị đặc biệt', 'elapsed_time': 2.6673197746276855, 'file': 'crawl_1DPRGQ5NHW.jpg'}
[2023-01-29 09:15:42,228] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 09:15:42] "POST /extract HTTP/1.1" 200 -
[2023-01-29 10:57:44,178] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 10:57:44,178] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 11:01:57,635] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 11:01:57,636] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 11:02:34,964] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:02:34] "GET / HTTP/1.1" 200 -
[2023-01-29 11:02:35,398] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:02:35] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 11:02:35,403] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:02:35] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 11:02:35,863] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:02:35] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 11:02:49,567] INFO in app: caption SmallCap predict success
[2023-01-29 11:02:51,101] INFO in app: caption ClipCap predict success
[2023-01-29 11:02:51,102] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người mặc đồ bảo hộ và đeo khẩu trang đang đứng trước máy may', 'caption_smallcap': 'Một người đàn ông đang đeo khẩu trang màu xanh', 'elapsed_time': 2.8642444610595703, 'file': 'crawl_0GE1ONYM8Y.jpg'}
[2023-01-29 11:02:51,103] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:02:51] "POST /extract HTTP/1.1" 200 -
[2023-01-29 11:03:07,445] INFO in app: caption SmallCap predict success
[2023-01-29 11:03:08,517] INFO in app: caption ClipCap predict success
[2023-01-29 11:03:08,517] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Các bác sĩ đang thực hiện ca phẫu thuật', 'caption_smallcap': 'Các bác sĩ trong một ca phẫu thuật', 'elapsed_time': 1.7403554916381836, 'file': 'crawl_0QAU6MMUQS.jpg'}
[2023-01-29 11:03:08,518] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:03:08] "POST /extract HTTP/1.1" 200 -
[2023-01-29 11:04:25,915] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-29 11:04:25,915] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-29 11:04:31,142] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:04:31] "GET / HTTP/1.1" 200 -
[2023-01-29 11:04:31,560] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:04:31] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-29 11:04:31,560] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:04:31] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 11:04:39,852] INFO in app: caption SmallCap predict success
[2023-01-29 11:04:41,271] INFO in app: caption ClipCap predict success
[2023-01-29 11:04:41,272] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Nhân viên y tế đang kiểm tra mẫu xét nghiệm', 'caption_smallcap': 'Một người đàn ông đang cầm ống nghiệm trên tay', 'elapsed_time': 2.3504457473754883, 'file': 'crawl_0HXOC0WYQA.jpg'}
[2023-01-29 11:04:41,272] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:04:41] "POST /extract HTTP/1.1" 200 -
[2023-01-29 11:05:21,088] INFO in app: caption SmallCap predict success
[2023-01-29 11:05:36,466] INFO in app: caption ClipCap predict success
[2023-01-29 11:05:36,466] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Hai người đang chơi tennis ở trên sân vào ban đêm', 'caption_smallcap': 'Người đàn ông đang vung vợt tennis đánh trả bóng lên cao.', 'elapsed_time': 33.36590218544006, 'file': '000000045049.jpg'}
[2023-01-29 11:05:36,467] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:05:36] "POST /extract HTTP/1.1" 200 -
[2023-01-29 11:05:46,791] INFO in app: caption SmallCap predict success
[2023-01-29 11:05:50,608] INFO in app: caption ClipCap predict success
[2023-01-29 11:05:50,608] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một cầu thủ đang ôm quả bóng trên tay', 'caption_smallcap': 'Khán giả đang theo dõi pha bay người của cầu thủ bóng đá nam.', 'elapsed_time': 4.5639002323150635, 'file': '000000011015.jpg'}
[2023-01-29 11:05:50,609] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:05:50] "POST /extract HTTP/1.1" 200 -
[2023-01-29 11:06:08,606] INFO in app: caption SmallCap predict success
[2023-01-29 11:06:12,365] INFO in app: caption ClipCap predict success
[2023-01-29 11:06:12,365] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một cầu thủ đang ôm quả bóng trên tay', 'caption_smallcap': 'Khán giả đang theo dõi pha bay người của cầu thủ bóng đá nam.', 'elapsed_time': 4.509075880050659, 'file': '000000011015.jpg'}
[2023-01-29 11:06:12,368] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:06:12] "POST /extract HTTP/1.1" 200 -
[2023-01-29 11:06:19,595] INFO in app: caption SmallCap predict success
[2023-01-29 11:06:23,436] INFO in app: caption ClipCap predict success
[2023-01-29 11:06:23,437] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một cầu thủ đánh bóng đang vung gậy để đánh bóng', 'caption_smallcap': 'Một cầu thủ đánh bóng đang vung gậy để đánh quả bóng chày.', 'elapsed_time': 4.78402304649353, 'file': '000000045554.jpg'}
[2023-01-29 11:06:23,437] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:06:23] "POST /extract HTTP/1.1" 200 -
[2023-01-29 11:07:28,087] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:07:28] "GET / HTTP/1.1" 200 -
[2023-01-29 11:07:28,512] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:07:28] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-29 11:07:28,518] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:07:28] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-29 11:07:28,988] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:07:28] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-29 11:07:33,696] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:07:33] "GET / HTTP/1.1" 200 -
[2023-01-29 11:07:34,000] INFO in _internal: 127.0.0.1 - - [29/Jan/2023 11:07:34] "GET / HTTP/1.1" 200 -
[2023-01-31 09:32:32,259] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on http://127.0.0.1:5000
[2023-01-31 09:32:32,260] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-01-31 09:32:41,657] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:32:41] "GET / HTTP/1.1" 200 -
[2023-01-31 09:32:42,081] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:32:42] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-31 09:32:42,536] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:32:42] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-31 09:32:52,705] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:32:52] "GET / HTTP/1.1" 200 -
[2023-01-31 09:32:53,317] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:32:53] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-31 09:32:53,337] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:32:53] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-31 09:32:54,211] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:32:54] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-31 09:33:03,100] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:33:03] "GET / HTTP/1.1" 200 -
[2023-01-31 09:34:52,208] DEBUG in PngImagePlugin: STREAM b'IHDR' 16 13
[2023-01-31 09:34:52,209] DEBUG in PngImagePlugin: STREAM b'pHYs' 41 9
[2023-01-31 09:34:52,209] DEBUG in PngImagePlugin: STREAM b'IDAT' 62 8192
[2023-01-31 09:34:53,518] INFO in app: caption SmallCap predict success
[2023-01-31 09:34:53,520] DEBUG in PngImagePlugin: STREAM b'IHDR' 16 13
[2023-01-31 09:34:53,520] DEBUG in PngImagePlugin: STREAM b'pHYs' 41 9
[2023-01-31 09:34:53,520] DEBUG in PngImagePlugin: STREAM b'IDAT' 62 8192
[2023-01-31 09:34:54,495] INFO in app: caption ClipCap predict success
[2023-01-31 09:34:54,495] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đang tự sướng trong phòng', 'caption_smallcap': 'Có nhiều người và nhân viên đang ở ngoài đường', 'elapsed_time': 2.341770887374878, 'file': '849.jpeg'}
[2023-01-31 09:34:54,497] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:34:54] "POST /extract HTTP/1.1" 200 -
[2023-01-31 09:37:58,949] INFO in app: caption SmallCap predict success
[2023-01-31 09:38:00,103] INFO in app: caption ClipCap predict success
[2023-01-31 09:38:00,104] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang khám cho một người đàn ông đeo khẩu trang', 'caption_smallcap': 'Nhiều người đang làm móng tay', 'elapsed_time': 2.1887638568878174, 'file': 'images.jpeg'}
[2023-01-31 09:38:00,104] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:38:00] "POST /extract HTTP/1.1" 200 -
[2023-01-31 09:38:17,849] INFO in app: caption SmallCap predict success
[2023-01-31 09:38:19,434] INFO in app: caption ClipCap predict success
[2023-01-31 09:38:19,434] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Nhóm bác sĩ đang bàn bạc để thống nhất phác đồ chăm sóc bệnh nhân', 'caption_smallcap': 'Nhân viên y tế đang chăm sóc bệnh nhân nằm trên giường bệnh', 'elapsed_time': 2.787332057952881, 'file': 'em-be-3-1674374418494-16743744191421265008985.jpg'}
[2023-01-31 09:38:19,435] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:38:19] "POST /extract HTTP/1.1" 200 -
[2023-01-31 09:39:31,143] INFO in app: caption SmallCap predict success
[2023-01-31 09:39:32,373] INFO in app: caption ClipCap predict success
[2023-01-31 09:39:32,373] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang thăm khám cho một đứa bé', 'caption_smallcap': 'Một nhân viên y tế đang chăm sóc cho một em bé', 'elapsed_time': 2.2789154052734375, 'file': 'images1.jpeg'}
[2023-01-31 09:39:32,374] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:39:32] "POST /extract HTTP/1.1" 200 -
[2023-01-31 09:40:23,831] INFO in app: caption SmallCap predict success
[2023-01-31 09:40:25,191] INFO in app: caption ClipCap predict success
[2023-01-31 09:40:25,192] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Bác sĩ đang đo huyết áp cho bệnh nhân nằm trên giường', 'caption_smallcap': 'Một người phụ nữ đang điều trị tại bệnh viện', 'elapsed_time': 2.519721746444702, 'file': 'KhamChuaBenh_1.JPG'}
[2023-01-31 09:40:25,192] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:40:25] "POST /extract HTTP/1.1" 200 -
[2023-01-31 09:44:10,941] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:44:10] "GET / HTTP/1.1" 200 -
[2023-01-31 09:44:11,431] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:44:11] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-31 09:44:11,600] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:44:11] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-31 09:44:12,468] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:44:12] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-31 09:44:18,883] INFO in app: caption SmallCap predict success
[2023-01-31 09:44:21,228] INFO in app: caption ClipCap predict success
[2023-01-31 09:44:21,229] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Người phụ nữ trong trang phục nhân viên y tế đang giải thích công dụng của thuốc', 'caption_smallcap': 'Một bác sĩ và dược sĩ đang trò chuyện', 'elapsed_time': 3.16361403465271, 'file': 'images.jpg'}
[2023-01-31 09:44:21,229] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:44:21] "POST /extract HTTP/1.1" 200 -
[2023-01-31 09:45:02,700] DEBUG in TiffImagePlugin: tag: Make (271) - type: string (2) Tag Location: 22 - Data Location: 122 - value: b'Canon\x00'
[2023-01-31 09:45:02,700] DEBUG in TiffImagePlugin: tag: Model (272) - type: string (2) Tag Location: 34 - Data Location: 128 - value: b'Canon EOS DIGITAL REBEL XT\x00'
[2023-01-31 09:45:02,700] DEBUG in TiffImagePlugin: tag: Orientation (274) - type: short (3) - value: b'\x01\x00'
[2023-01-31 09:45:02,701] DEBUG in TiffImagePlugin: tag: XResolution (282) - type: rational (5) Tag Location: 58 - Data Location: 155 - value: b'H\x00\x00\x00\x01\x00\x00\x00'
[2023-01-31 09:45:02,701] DEBUG in TiffImagePlugin: tag: YResolution (283) - type: rational (5) Tag Location: 70 - Data Location: 163 - value: b'H\x00\x00\x00\x01\x00\x00\x00'
[2023-01-31 09:45:02,701] DEBUG in TiffImagePlugin: tag: ResolutionUnit (296) - type: short (3) - value: b'\x02\x00'
[2023-01-31 09:45:02,701] DEBUG in TiffImagePlugin: tag: DateTime (306) - type: string (2) Tag Location: 94 - Data Location: 171 - value: b'2006:01:13 17:43:00\x00\x00'
[2023-01-31 09:45:02,701] DEBUG in TiffImagePlugin: tag: YCbCrPositioning (531) - type: short (3) - value: b'\x02\x00'
[2023-01-31 09:45:02,702] DEBUG in TiffImagePlugin: tag: ExifIFD (34665) - type: long (4) - value: b'\xc0\x00\x00\x00'
[2023-01-31 09:45:03,394] INFO in app: caption SmallCap predict success
[2023-01-31 09:45:10,199] DEBUG in TiffImagePlugin: tag: Make (271) - type: string (2) Tag Location: 22 - Data Location: 122 - value: b'Canon\x00'
[2023-01-31 09:45:10,199] DEBUG in TiffImagePlugin: tag: Model (272) - type: string (2) Tag Location: 34 - Data Location: 128 - value: b'Canon EOS DIGITAL REBEL XT\x00'
[2023-01-31 09:45:10,199] DEBUG in TiffImagePlugin: tag: Orientation (274) - type: short (3) - value: b'\x01\x00'
[2023-01-31 09:45:10,200] DEBUG in TiffImagePlugin: tag: XResolution (282) - type: rational (5) Tag Location: 58 - Data Location: 155 - value: b'H\x00\x00\x00\x01\x00\x00\x00'
[2023-01-31 09:45:10,200] DEBUG in TiffImagePlugin: tag: YResolution (283) - type: rational (5) Tag Location: 70 - Data Location: 163 - value: b'H\x00\x00\x00\x01\x00\x00\x00'
[2023-01-31 09:45:10,200] DEBUG in TiffImagePlugin: tag: ResolutionUnit (296) - type: short (3) - value: b'\x02\x00'
[2023-01-31 09:45:10,204] DEBUG in TiffImagePlugin: tag: DateTime (306) - type: string (2) Tag Location: 94 - Data Location: 171 - value: b'2006:01:13 17:43:00\x00\x00'
[2023-01-31 09:45:10,204] DEBUG in TiffImagePlugin: tag: YCbCrPositioning (531) - type: short (3) - value: b'\x02\x00'
[2023-01-31 09:45:10,204] DEBUG in TiffImagePlugin: tag: ExifIFD (34665) - type: long (4) - value: b'\xc0\x00\x00\x00'
[2023-01-31 09:45:14,230] INFO in app: caption ClipCap predict success
[2023-01-31 09:45:14,236] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Những đứa trẻ đang chạy trên sân cỏ để tranh bóng', 'caption_smallcap': 'Một nhóm người đang chơi bóng đá trên sân cỏ.', 'elapsed_time': 29.132837057113647, 'file': 'Youth-soccer-indiana.jpg'}
[2023-01-31 09:45:14,237] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:45:14] "POST /extract HTTP/1.1" 200 -
[2023-01-31 09:46:14,387] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:46:14] "GET / HTTP/1.1" 200 -
[2023-01-31 09:46:14,898] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:46:14] "GET /static/script.js HTTP/1.1" 200 -
[2023-01-31 09:46:14,898] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:46:14] "GET /static/styles.css HTTP/1.1" 200 -
[2023-01-31 09:46:16,769] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:46:16] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-01-31 09:47:48,824] DEBUG in TiffImagePlugin: tag: Make (271) - type: string (2) Tag Location: 22 - Data Location: 134 - value: b'Canon\x00'
[2023-01-31 09:47:48,824] DEBUG in TiffImagePlugin: tag: Model (272) - type: string (2) Tag Location: 34 - Data Location: 140 - value: b'Canon EOS-1D Mark IV\x00'
[2023-01-31 09:47:48,824] DEBUG in TiffImagePlugin: tag: Orientation (274) - type: short (3) - value: b'\x01\x00'
[2023-01-31 09:47:48,825] DEBUG in TiffImagePlugin: tag: XResolution (282) - type: rational (5) Tag Location: 58 - Data Location: 161 - value: b"\xc0\xc6-\x00\x10'\x00\x00"
[2023-01-31 09:47:48,825] DEBUG in TiffImagePlugin: tag: YResolution (283) - type: rational (5) Tag Location: 70 - Data Location: 169 - value: b"\xc0\xc6-\x00\x10'\x00\x00"
[2023-01-31 09:47:48,826] DEBUG in TiffImagePlugin: tag: ResolutionUnit (296) - type: short (3) - value: b'\x02\x00'
[2023-01-31 09:47:48,827] DEBUG in TiffImagePlugin: tag: Software (305) - type: string (2) Tag Location: 94 - Data Location: 177 - value: <table: 36 bytes>
[2023-01-31 09:47:48,827] DEBUG in TiffImagePlugin: tag: DateTime (306) - type: string (2) Tag Location: 106 - Data Location: 213 - value: b'2019:02:01 11:01:42\x00'
[2023-01-31 09:47:48,828] DEBUG in TiffImagePlugin: tag: Artist (315) - type: string (2) - value: b'"\x00'
[2023-01-31 09:47:48,828] DEBUG in TiffImagePlugin: tag: ExifIFD (34665) - type: long (4) - value: b'\xec\x00\x00\x00'
[2023-01-31 09:47:49,891] INFO in app: caption SmallCap predict success
[2023-01-31 09:47:49,892] DEBUG in TiffImagePlugin: tag: Make (271) - type: string (2) Tag Location: 22 - Data Location: 134 - value: b'Canon\x00'
[2023-01-31 09:47:49,892] DEBUG in TiffImagePlugin: tag: Model (272) - type: string (2) Tag Location: 34 - Data Location: 140 - value: b'Canon EOS-1D Mark IV\x00'
[2023-01-31 09:47:49,893] DEBUG in TiffImagePlugin: tag: Orientation (274) - type: short (3) - value: b'\x01\x00'
[2023-01-31 09:47:49,893] DEBUG in TiffImagePlugin: tag: XResolution (282) - type: rational (5) Tag Location: 58 - Data Location: 161 - value: b"\xc0\xc6-\x00\x10'\x00\x00"
[2023-01-31 09:47:49,893] DEBUG in TiffImagePlugin: tag: YResolution (283) - type: rational (5) Tag Location: 70 - Data Location: 169 - value: b"\xc0\xc6-\x00\x10'\x00\x00"
[2023-01-31 09:47:49,893] DEBUG in TiffImagePlugin: tag: ResolutionUnit (296) - type: short (3) - value: b'\x02\x00'
[2023-01-31 09:47:49,894] DEBUG in TiffImagePlugin: tag: Software (305) - type: string (2) Tag Location: 94 - Data Location: 177 - value: <table: 36 bytes>
[2023-01-31 09:47:49,894] DEBUG in TiffImagePlugin: tag: DateTime (306) - type: string (2) Tag Location: 106 - Data Location: 213 - value: b'2019:02:01 11:01:42\x00'
[2023-01-31 09:47:49,894] DEBUG in TiffImagePlugin: tag: Artist (315) - type: string (2) - value: b'"\x00'
[2023-01-31 09:47:49,894] DEBUG in TiffImagePlugin: tag: ExifIFD (34665) - type: long (4) - value: b'\xec\x00\x00\x00'
[2023-01-31 09:47:53,655] INFO in app: caption ClipCap predict success
[2023-01-31 09:47:53,656] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một người đàn ông đang chơi tennis ở trên sân', 'caption_smallcap': 'Hai người đàn ông đang chơi bóng chày ở trên sân.', 'elapsed_time': 4.835985422134399, 'file': 'Studiengang_Bsc_EHSM_in_Sports.jpg'}
[2023-01-31 09:47:53,657] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:47:53] "POST /extract HTTP/1.1" 200 -
[2023-01-31 09:48:35,006] INFO in app: caption SmallCap predict success
[2023-01-31 09:48:35,357] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:48:35] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-01-31 09:48:38,960] INFO in app: caption ClipCap predict success
[2023-01-31 09:48:38,961] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một người đàn ông đang ngã trong khi một người khác đang tranh bóng với một cô gái', 'caption_smallcap': 'Hai vận động viên đang thi đấu bóng đá ở trên sân.', 'elapsed_time': 5.005689859390259, 'file': 'run.jpg'}
[2023-01-31 09:48:38,961] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:48:38] "POST /extract HTTP/1.1" 200 -
[2023-01-31 09:48:53,091] INFO in app: caption SmallCap predict success
[2023-01-31 09:49:02,614] INFO in app: caption ClipCap predict success
[2023-01-31 09:49:02,615] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Một người đang được nhân viên y tế đưa vào máy chụp cắt lớp', 'caption_smallcap': 'Bác sĩ đang thăm khám cho bệnh nhân', 'elapsed_time': 28.38170838356018, 'file': '97214.jpg'}
[2023-01-31 09:49:02,616] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:49:02] "POST /extract HTTP/1.1" 200 -
[2023-01-31 09:51:01,324] INFO in app: caption SmallCap predict success
[2023-01-31 09:51:11,674] INFO in app: caption ClipCap predict success
[2023-01-31 09:51:11,674] INFO in app: response: {'status': 'OK', 'dataset': 'UIT_VIIC', 'caption_clipcap': 'Một người đàn ông đang giơ hai quả bóng rổ lên cao', 'caption_smallcap': 'Hai người đàn ông đang thi đấu bóng rổ ở trên sân.', 'elapsed_time': 27.96658444404602, 'file': 'basketball.jpg'}
[2023-01-31 09:51:11,675] INFO in _internal: 127.0.0.1 - - [31/Jan/2023 09:51:11] "POST /extract HTTP/1.1" 200 -
[2023-02-01 15:29:00,206] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.17.0.2:5000
[2023-02-01 15:29:00,206] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-02-01 15:29:18,476] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:29:18] "GET / HTTP/1.1" 200 -
[2023-02-01 15:29:18,551] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:29:18] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-02-01 15:29:18,554] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:29:18] "GET /static/script.js HTTP/1.1" 200 -
[2023-02-01 15:29:18,625] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:29:18] "[33mGET /favicon.ico HTTP/1.1[0m" 404 -
[2023-02-01 15:30:00,878] INFO in app: caption SmallCap predict success
[2023-02-01 15:30:02,287] INFO in app: caption ClipCap predict success
[2023-02-01 15:30:02,288] INFO in app: response: {'status': 'OK', 'dataset': 'VietCap4H', 'caption_clipcap': 'Người phụ nữ ngồi cạnh em bé đang nằm trên giường bệnh', 'caption_smallcap': 'Người phụ nữ ôm em bé sơ sinh', 'elapsed_time': 2.6150927543640137, 'file': '3BD2C5E940.jpg', 'ret1': 'một phụ nữ và một bé gái ôm nhau cười trên giường trong phòng bệnh', 'ret2': 'các bác sĩ đang di chuyển hai em bé dính liền nhau nằm trên giường bệnh dọc hành lang', 'ret3': 'Một em bé với khối u trên đầu đang nằm trên giường.', 'ret4': 'Ba bác sĩ trong quần áo bảo hộ đang làm việc trong phòng bệnh.', 'ret5': 'Hai em bé bị cố định cổ đang nằm trên giường bệnh.'}
[2023-02-01 15:30:02,288] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:30:02] "POST /extract HTTP/1.1" 200 -
[2023-02-01 15:31:07,931] ERROR in app: Exception on /extract [POST]
Traceback (most recent call last):
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "app.py", line 62, in extract
cap1, cap2, cap3, cap4, cap5 = retrieval_caps
ValueError: not enough values to unpack (expected 5, got 4)
[2023-02-01 15:31:07,937] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:31:07] "[35m[1mPOST /extract HTTP/1.1[0m" 500 -
[2023-02-01 15:33:06,083] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.17.0.2:5000
[2023-02-01 15:33:06,083] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-02-01 15:33:10,682] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:33:10] "GET / HTTP/1.1" 200 -
[2023-02-01 15:33:10,700] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:33:10] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-02-01 15:33:10,701] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:33:10] "[36mGET /static/script.js HTTP/1.1[0m" 304 -
[2023-02-01 15:33:18,137] ERROR in app: Exception on /extract [POST]
Traceback (most recent call last):
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "/root/anaconda3/envs/thesis/lib/python3.7/site-packages/flask/app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "app.py", line 62, in extract
cap1, cap2, cap3, cap4, cap5 = retrieval_caps
ValueError: not enough values to unpack (expected 5, got 4)
[2023-02-01 15:33:18,138] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:33:18] "[35m[1mPOST /extract HTTP/1.1[0m" 500 -
[2023-02-01 15:35:02,271] INFO in _internal: [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:5000
* Running on http://172.17.0.2:5000
[2023-02-01 15:35:02,271] INFO in _internal: [33mPress CTRL+C to quit[0m
[2023-02-01 15:35:20,065] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:35:20] "GET / HTTP/1.1" 200 -
[2023-02-01 15:35:20,090] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:35:20] "[36mGET /static/styles.css HTTP/1.1[0m" 304 -
[2023-02-01 15:35:20,092] INFO in _internal: 172.17.0.1 - - [01/Feb/2023 15:35:20] "GET /static/script.js HTTP/1.1" 200 -
[2023-02-01 15:35:26,787] INFO in app: caption SmallCap predict success
[2023-02-01 15:35:28,246] INFO in app: caption ClipCap predict success
[2023-02-01 15:35:28,252] ERROR in app: Exception on /extract [POST]