$mmoLD;%g?wŷovH0a5*ؒl͛SiyrO7%L]%hk>v1HBd\(e oIx>36BS%( f$h eԎH`ݶ f{FoY@00uMbz-XI$&gf7Ӵu|'K.oP PF.o9B<~.[<٭${1A.bKxL'u8n5e,]HVWw$Cel|zysKi-qݬbk,wnG;~ er͒~' 1`V⦫-*[LK'2@仪n2NƶGi/U'E@`H;J +Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC$mmoLD;%g?wŷovH0a5*ؒl͛SiyrO7%L]%hk>v1HBd\(e oIx>36BS%( f$h eԎH`ݶ f{FoY@00uMbz-XI$&gf7Ӵu|'K.oP PF.o9B<~.[<٭${1A.bKxL'u8n5e,]HVWw$Cel|zysKi-qݬbk,wnG;~ er͒~' 1`V⦫-*[LK'2@仪n2NƶGi/U'E@`H;J +Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC$mmoLD;%g?wŷovH0a5*ؒl͛SiyrO7%L]%hk>v1HBd\(e oIx>36BS%( f$h eԎH`ݶ f{FoY@00uMbz-XI$&gf7Ӵu|'K.oP PF.o9B<~.[<٭${1A.bKxL'u8n5e,]HVWw$Cel|zysKi-qݬbk,wnG;~ er͒~' 1`V⦫-*[LK'2@仪n2NƶGi/U'E@`H;J +Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC$mmoLD;%g?wŷovH0a5*ؒl͛SiyrO7%L]%hk>v1HBd\(e oIx>36BS%( f$h eԎH`ݶ f{FoY@00uMbz-XI$&gf7Ӵu|'K.oP PF.o9B<~.[<٭${1A.bKxL'u8n5e,]HVWw$Cel|zysKi-qݬbk,wnG;~ er͒~' 1`V⦫-*[LK'2@仪n2NƶGi/U'E@`H;J +Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC$mmoLD;%g?wŷovH0a5*ؒl͛SiyrO7%L]%hk>v1HBd\(e oIx>36BS%( f$h eԎH`ݶ f{FoY@00uMbz-XI$&gf7Ӵu|'K.oP PF.o9B<~.[<٭${1A.bKxL'u8n5e,]HVWw$Cel|zysKi-qݬbk,wnG;~ er͒~' 1`V⦫-*[LK'2@仪n2NƶGi/U'E@`H;J +Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC$mmoLD;%g?wŷovH0a5*ؒl͛SiyrO7%L]%hk>v1HBd\(e oIx>36BS%( f$h eԎH`ݶ f{FoY@00uMbz-XI$&gf7Ӵu|'K.oP PF.o9B<~.[<٭${1A.bKxL'u8n5e,]HVWw$Cel|zysKi-qݬbk,wnG;~ er͒~' 1`V⦫-*[LK'2@仪n2NƶGi/U'E@`H;J +Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC$mmoLD;%g?wŷovH0a5*ؒl͛SiyrO7%L]%hk>v1HBd\(e oIx>36BS%( f$h eԎH`ݶ f{FoY@00uMbz-XI$&gf7Ӵu|'K.oP PF.o9B<~.[<٭${1A.bKxL'u8n5e,]HVWw$Cel|zysKi-qݬbk,wnG;~ er͒~' 1`V⦫-*[LK'2@仪n2NƶGi/U'E@`H;J +Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC$mmoLD;%g?wŷovH0a5*ؒl͛SiyrO7%L]%hk>v1HBd\(e oIx>36BS%( f$h eԎH`ݶ f{FoY@00uMbz-XI$&gf7Ӵu|'K.oP PF.o9B<~.[<٭${1A.bKxL'u8n5e,]HVWw$Cel|zysKi-qݬbk,wnG;~ er͒~' 1`V⦫-*[LK'2@仪n2NƶGi/U'E@`H;J +Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 196), ('01', 106), ('02', 41)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 313} 01052025 22572464 Nombre de photos uploadées : 309 / 23040 (1%) 01052025 22572464 Nombre de photos taguées (types de déchets): 313 / 309 (101%) 01052025 22572464 Nombre de photos taguées (volume) : 313 / 309 (101%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 0.00013828277587890625 ?????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.01682305335998535 elapsed_time : insert_dashboard_record_day_entry 0.02487349510192871 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.012720584869384766 photos_removed : len 0 elapsed_time : load_duplicate_info 0.012411355972290039 ***** BEGIN SPLIT TIME ***** `````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````list printed: [[0, 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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.015053510665893555 ***** END SPLIT TIME ***** NUMBER BATCH : 9 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info result_one_balle_Type_JRM:{'day': '01052025', 'map_nb_amount': {0: 5, 1: 8, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 299.9999990463257, 'nb_balles_papier': 0.00016, 'begin_time_port': 'image_01052025_00_09_54_010135m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00016 We reject this portfolio because of the condition_save_data : 2025-05-01 00:09:54.010135 result_one_balle_Type_JRM:{'day': '01052025', 'map_nb_amount': {0: 2, 1: 31, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.999960899353, 'nb_balles_papier': 0.0004000000000000004, 'begin_time_port': 'image_01052025_00_15_04_010175m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004000000000000004 We reject this portfolio because of the condition_save_data : 2025-05-01 00:15:04.010175 ERROR missing amount info result_one_balle_Type_JRM:{'day': '01052025', 'map_nb_amount': {0: 5, 1: 34, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 881.0010089874268, 'nb_balles_papier': 0.00046000000000000056, 'begin_time_port': 'image_01052025_00_30_14_009124m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00046000000000000056 We reject this portfolio because of the condition_save_data : 2025-05-01 00:30:14.009124 result_one_balle_Type_JRM:{'day': '01052025', 'map_nb_amount': {0: 3, 1: 42, 2: 13, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 800.000002861023, 'nb_balles_papier': 0.0005800000000000009, 'begin_time_port': 'image_01052025_00_45_24_010132m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005800000000000009 We reject this portfolio because of the condition_save_data : 2025-05-01 00:45:24.010132 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '01052025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 669.9999358654022, 'nb_balles_papier': 0, 'begin_time_port': 'image_01052025_01_00_14_10199.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We reject this portfolio because of the condition_save_data : 2025-05-01 01:00:14.010199 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '01052025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 0, 'nb_balles_papier': 0, 'begin_time_port': 'image'} Production hashtag (incorrect ponderation at 20-10-18) : 0 ERROR missing amount info result_one_balle_Type_JRM:{'day': '01052025', 'map_nb_amount': {0: 0, 1: 33, 2: 17, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 819.9999959468842, 'nb_balles_papier': 0.0005000000000000007, 'begin_time_port': 'image_01052025_01_31_14_010139m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005000000000000007 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '01052025', 'map_nb_amount': {0: 1, 1: 35, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.9999840259552, 'nb_balles_papier': 0.00046000000000000056, 'begin_time_port': 'image_01052025_01_45_04_10150.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00046000000000000056 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '01052025', 'map_nb_amount': {0: 2, 1: 19, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 559.9999370574951, 'nb_balles_papier': 0.00023, 'begin_time_port': 'image_01052025_02_00_14_10207.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00023 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! We need to add photos : {1354993795, 1354993540, 1354993799, 1354993800, 1354993512, 1354993578, 1354993548, 1354993806, 1354993614, 1354993719, 1354993720, 1354993721} Still a lot to verify ! We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22574406 AND mptpi.`type`=3726 To do Qualite : 0.05354537742031566 We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22574433 AND mptpi.`type`=3726 To do Qualite : 0.04574835635635283 We don't need to reset the datou_current for this portfolio, que ce soit dans le cas ou il est fini (et found_correct devrait etre vrai, ou dans le cas ou il n'est pas fini, mais du coup on le retrouvera et mettra simplement à jour) # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22574815 AND mptpi.`type`=3726 To do Qualite : 0.05412088218503415 Since we have set only the same portfolio in list_same_port_ids, it means the datou_current is finished and we need to re-insert it with the same id to finish the job (if we added new photos to the portfolio) We may have found the correct datou result for the same portfolio, but we will rerun it, since the portfolio may have been updated ! This function is not protected ! # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22575317 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.6868131160736084 # DISPLAY ALL COLLECTED DATA : {'01052025': {'nb_upload': 309, 'nb_taggue_class': 313, 'nb_taggue_densite': 313}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1354993806, 1354993800, 1354993799, 1354993795, 1354993721, 1354993720, 1354993719, 1354993614, 1354993578, 1354993548, 1354993540, 1354993512, 1354993203, 1354993159, 1354993129, 1354993088, 1354992890, 1354992415, 1354992412, 1354992221, 1354992193, 1354992162, 1354992131, 1354992102, 1354992060, 1354991635, 1354991574, 1354991520, 1354991468, 1354991413, 1354991360, 1354990861, 1354990803, 1354990752, 1354990698, 1354990649, 1354990107, 1354990057, 1354990025, 1354989997, 1354989973, 1354989930, 1354989895, 1354989891, 1354989886, 1354989882, 1354989859, 1354989857, 1354989854, 1354989852, 1354989850, 1354989847, 1354989814, 1354989813, 1354989812, 1354989770, 1354989766, 1354989764, 1354989762, 1354989740, 1354989738, 1354989737, 1354989736, 1354989706, 1354989705, 1354989678, 1354989677, 1354989675, 1354989653, 1354989652, 1354989651, 1354989614, 1354989611, 1354989609, 1354989608, 1354989607, 1354989573, 1354989571, 1354989570, 1354989569, 1354989527, 1354989526, 1354989525, 1354989506, 1354989504, 1354989503, 1354989502, 1354989501, 1354989459, 1354989457, 1354989455, 1354989431, 1354989401, 1354989398, 1354989397, 1354989396, 1354989362, 1354989361, 1354989326, 1354989323] Looping around the photos to save general results len do output : 1 /22572464Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993806', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993800', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993799', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993795', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993721', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993720', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993719', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993614', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993578', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993548', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993540', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993512', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993203', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993159', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993129', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354993088', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354992890', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354992415', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354992412', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354992221', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354992193', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354992162', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354992131', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354992102', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354992060', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354991635', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354991574', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354991520', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354991468', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354991413', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354991360', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354990861', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354990803', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354990752', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354990698', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354990649', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354990107', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354990057', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354990025', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989997', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989973', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989930', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989895', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989891', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989886', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989882', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989859', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989857', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989854', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989852', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989850', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989847', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989814', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989813', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989812', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989770', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989766', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989764', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989762', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989740', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989738', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989737', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989736', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989706', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989705', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989678', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989677', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989675', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989653', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989652', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989651', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989614', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989611', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989609', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989608', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989607', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989573', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989571', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989570', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989569', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989527', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989526', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989525', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989506', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989504', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989503', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989502', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989501', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989459', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989457', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989455', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989431', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989401', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989398', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989397', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989396', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989362', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989361', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989326', None, None, None, None, None, '2777174') ('4876', None, None, None, None, None, None, None, '2777174') ('4876', '22572464', '1354989323', None, None, None, None, None, '2777174') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.032385826110839844 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8811662197113037 time spend to save output : 0.03326082229614258 total time spend for step 1 : 0.9144270420074463 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment 1.51user 0.50system 0:03.95elapsed 50%CPU (0avgtext+0avgdata 102612maxresident)k 0inputs+88outputs (0major+49436minor)pagefaults 0swaps