python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4876' -s datou_current_4876 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 3356373 load datou : 4876 # 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) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 3198>1000 please execute split_portfolio.py -i 21319625 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2663373'] with mtr_portfolio_ids : ['21319625'] and first list_photo_ids : [] new path : /proc/3356373/ Inside batchDatouExec : verbose : 0 # 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) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB time to download the photos : 0.03340291976928711 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Wed Mar 12 17:50:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_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', 195), ('01', 106), ('02', 207), ('03', 215), ('04', 165), ('05', 181), ('06', 250), ('07', 245), ('08', 235), ('09', 134), ('10', 204), ('11', 85), ('12', 179), ('13', 150), ('14', 262), ('15', 233), ('16', 50), ('17', 102)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 3101, 2: 1} 12032025 21319625 Nombre de photos uploadées : 192 / 23040 (0%) 12032025 21319625 Nombre de photos taguées (types de déchets): 3102 / 192 (1615%) 12032025 21319625 Nombre de photos taguées (volume) : 3102 / 192 (1615%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0011339187622070312 ?????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.009135246276855469 elapsed_time : insert_dashboard_record_day_entry 0.038289546966552734 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 Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.008676767349243164 photos_removed : len 0 elapsed_time : load_duplicate_info 0.014062643051147461 ***** BEGIN SPLIT TIME ***** True 1741737600.0 `1741790913.010135 1741790700.0 `1741790944.010148 1741790700.0 `1741790954.010139 1741790700.0 `1741790963.009125 1741790700.0 `1741790973.010141 1741790700.0 `1741790993.010136 1741790700.0 `1741791003.010144 1741790700.0 `1741791033.009497 1741790700.0 `1741791043.010134 1741790700.0 `1741791053.010133 1741790700.0 `1741791064.01015 1741790700.0 `1741791074.010137 1741790700.0 `1741791083.009126 1741790700.0 `1741791093.010136 1741790700.0 `1741791103.010138 1741790700.0 `1741791113.010141 1741790700.0 `1741791123.01014 1741790700.0 `1741791134.010142 1741790700.0 `1741791144.010138 1741790700.0 `1741791163.01014 1741790700.0 `1741791173.010139 1741790700.0 `1741791183.01015 1741790700.0 `1741791193.01014 1741790700.0 `1741791233.010136 1741790700.0 `1741791243.01014 1741790700.0 `1741791253.010142 1741790700.0 `1741791263.010136 1741790700.0 `1741791284.010138 1741790700.0 `1741791294.01014 1741790700.0 `1741791303.009145 1741790700.0 `1741791313.010143 1741790700.0 `1741791323.010146 1741790700.0 `1741791333.010139 1741790700.0 `1741791344.010138 1741790700.0 `1741791354.010141 1741790700.0 `1741791363.009147 1741790700.0 `1741791373.010141 1741790700.0 `1741791383.010133 1741790700.0 `1741791424.010147 1741790700.0 `1741791594.010138 1741790700.0 `1741791613.01014 1741791600.0 `1741791624.010136 1741791600.0 `1741791634.010138 1741791600.0 `1741791644.010139 1741791600.0 `1741791654.010136 1741791600.0 `1741791664.010153 1741791600.0 `1741791673.009129 1741791600.0 `1741791683.010138 1741791600.0 `1741791694.010139 1741791600.0 `1741791774.010138 1741791600.0 `1741791794.010137 1741791600.0 `1741791804.010137 1741791600.0 `1741791814.010142 1741791600.0 `1741791823.009128 1741791600.0 `1741791834.010137 1741791600.0 `1741791884.010135 1741791600.0 `1741791904.010151 1741791600.0 `1741791914.010138 1741791600.0 `1741791934.010142 1741791600.0 `1741791944.01014 1741791600.0 `1741791954.010139 1741791600.0 `1741791984.010135 1741791600.0 `1741792004.010136 1741791600.0 `1741792014.010145 1741791600.0 `1741792024.010154 1741791600.0 `1741792033.009125 1741791600.0 `1741792043.010142 1741791600.0 `1741792354.010141 1741791600.0 `1741792903.009126 1741792500.0 `1741792973.009128 1741792500.0 `1741793454.010136 1741793400.0 `1741794393.009132 1741794300.0 `1741794404.01014 1741794300.0 `1741794444.010134 1741794300.0 `1741794454.010143 1741794300.0 `1741794484.010146 1741794300.0 `1741794504.010137 1741794300.0 `1741794554.010135 1741794300.0 `1741794574.010143 1741794300.0 `1741794594.010139 1741794300.0 `1741794694.010143 1741794300.0 `1741794734.010134 1741794300.0 `1741794744.010136 1741794300.0 `1741794764.01014 1741794300.0 `1741794774.010139 1741794300.0 `1741794774.010139 1741794300.0 `1741794804.010136 1741794300.0 `1741794804.010136 1741794300.0 `1741794834.010136 1741794300.0 `1741794844.010138 1741794300.0 `1741795324.010155 1741795200.0 `1741795354.010141 1741795200.0 `1741795364.010142 1741795200.0 `1741795394.010135 1741795200.0 `1741795404.010136 1741795200.0 `1741795444.010151 1741795200.0 `1741795474.010145 1741795200.0 `1741795494.009127 1741795200.0 `1741795514.010136 1741795200.0 `1741795524.010152 1741795200.0 `1741795534.010135 1741795200.0 `1741795555.010138 1741795200.0 `1741795574.010137 1741795200.0 `1741795584.010137 1741795200.0 `1741795594.010136 1741795200.0 `1741795614.010137 1741795200.0 `1741795624.010163 1741795200.0 `1741795634.009125 1741795200.0 `1741795644.010133 1741795200.0 `1741795674.010138 1741795200.0 `1741795684.01015 1741795200.0 `1741795704.009125 1741795200.0 `1741795724.010143 1741795200.0 `1741795754.010136 1741795200.0 `1741795774.009124 1741795200.0 `1741795784.010134 1741795200.0 `1741795794.010136 1741795200.0 `1741795824.010133 1741795200.0 `1741795854.009124 1741795200.0 `1741795864.010159 1741795200.0 `1741795894.010141 1741795200.0 `1741795924.00915 1741795200.0 `1741795944.010133 1741795200.0 `1741795954.010137 1741795200.0 `1741795964.01014 1741795200.0 `1741795984.010151 1741795200.0 `1741796004.010135 1741795200.0 `1741796014.010135 1741795200.0 `1741796024.010135 1741795200.0 `1741796034.010137 1741795200.0 `1741796044.010141 1741795200.0 `1741796064.009125 1741795200.0 `1741796084.010136 1741795200.0 `1741796094.010142 1741795200.0 `1741796104.010151 1741796100.0 `1741796135.010132 1741796100.0 `1741796144.009124 1741796100.0 `1741796154.010135 1741796100.0 `1741796174.010134 1741796100.0 `1741796184.010136 1741796100.0 `1741796194.010134 1741796100.0 `1741796204.010135 1741796100.0 `1741796214.009128 1741796100.0 `1741796224.010144 1741796100.0 `1741796234.010134 1741796100.0 `1741796244.010137 1741796100.0 `1741796254.010134 1741796100.0 `1741796264.010135 1741796100.0 `1741796274.010136 1741796100.0 `1741796294.010139 1741796100.0 `1741796304.010136 1741796100.0 `1741796314.010138 1741796100.0 `1741796324.010135 1741796100.0 `1741796344.010154 1741796100.0 `1741796364.009123 1741796100.0 `1741796374.010139 1741796100.0 `1741796434.009135 1741796100.0 `1741796474.010133 1741796100.0 `1741796504.009126 1741796100.0 `1741796514.010138 1741796100.0 `1741796524.010138 1741796100.0 `1741796534.010135 1741796100.0 `1741796564.010135 1741796100.0 `1741796594.010135 1741796100.0 `1741796614.010135 1741796100.0 `1741796634.010142 1741796100.0 `1741796645.010165 1741796100.0 `1741796654.009125 1741796100.0 `1741796664.010133 1741796100.0 `1741796674.010138 1741796100.0 `1741796684.010138 1741796100.0 `1741796704.01015 1741796100.0 `1741796714.010136 1741796100.0 `1741796724.009124 1741796100.0 `1741796734.010132 1741796100.0 `1741796764.010138 1741796100.0 `1741796774.010134 1741796100.0 `1741796794.009124 1741796100.0 `1741796804.010137 1741796100.0 `1741796814.010141 1741796100.0 `1741796824.01015 1741796100.0 `1741796844.010139 1741796100.0 `1741796854.010135 1741796100.0 `1741796865.010137 1741796100.0 `1741796884.010156 1741796100.0 `1741796894.010134 1741796100.0 `1741796904.010135 1741796100.0 `1741796914.010139 1741796100.0 `1741796924.010137 1741796100.0 `1741796944.009142 1741796100.0 `1741796954.010135 1741796100.0 `1741796964.010133 1741796100.0 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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.012246847152709961 ***** END SPLIT TIME ***** NUMBER BATCH : 7 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 6, 1: 29, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 681.0000030994415, 'nb_balles_papier': 0.00038000000000000035, 'begin_time_port': 'image_12032025_15_48_33_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.00038000000000000035 We reject this portfolio because of the condition_save_data : 2025-03-12 15:48:33.010135 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 1, 1: 24, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 741.0000009536743, 'nb_balles_papier': 0.00025, 'begin_time_port': 'image_12032025_16_00_13_010140m0.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.00025 We reject this portfolio because of the condition_save_data : 2025-03-12 16:00:13.010140 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 3, 1: 13, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 451.0010061264038, 'nb_balles_papier': 0.00017, 'begin_time_port': 'image_12032025_16_46_33_009132m0.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.00017 We reject this portfolio because of the condition_save_data : 2025-03-12 16:46:33.009132 result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 2, 1: 32, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 769.9999871253967, 'nb_balles_papier': 0.0004400000000000005, 'begin_time_port': 'image_12032025_17_02_04_010155m0.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.0004400000000000005 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 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': '12032025', 'map_nb_amount': {0: 3, 1: 25, 2: 5, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 859.9999821186066, 'nb_balles_papier': 0.00034000000000000024, 'begin_time_port': 'image_12032025_17_15_04_010151m0.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.00034000000000000024 We have rejected 3 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 Still a lot to verify ! Still a lot to verify ! Qualite : 0.07752710119633743 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`=21358714 AND mptpi.`type`=3726 To do Qualite : 0.0632268672859346 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`=21359336 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 1.3742854595184326 # DISPLAY ALL COLLECTED DATA : {'12032025': {'nb_upload': 192, 'nb_taggue_class': 3102, 'nb_taggue_densite': 3102}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343490464, 1343490435, 1343490416, 1343490395, 1343490163, 1343490136, 1343490125, 1343490102, 1343490076, 1343489811, 1343489745, 1343489715, 1343489686, 1343489513, 1343489486, 1343489461, 1343489386, 1343489368, 1343488879, 1343488836, 1343488789, 1343488776, 1343488485, 1343488456, 1343488423, 1343488409, 1343488388, 1343488071, 1343488021, 1343487992, 1343487829, 1343487826, 1343487822, 1343487384, 1343487369, 1343487303, 1343486454, 1343486239, 1343486208, 1343486169, 1343485885, 1343485852, 1343485827, 1343485803, 1343485603, 1343485571, 1343485528, 1343485498, 1343485443, 1343485384, 1343484580, 1343484520, 1343484382, 1343484210, 1343484095, 1343483394, 1343483295, 1343483233, 1343483173, 1343482395, 1343482349, 1343482270, 1343482237, 1343481452, 1343481366, 1343481273, 1343481182, 1343481113, 1343480634, 1343480589, 1343480527, 1343480485, 1343480163, 1343480155, 1343479756, 1343479635, 1343479221, 1343479191, 1343479154, 1343479148, 1343478679, 1343478642, 1343478609, 1343477865, 1343477810, 1343477783, 1343477760, 1343477417, 1343477392, 1343477365, 1343477334, 1343476972, 1343476843, 1343476776, 1343476707, 1343476134, 1343475977, 1343475849, 1343475309, 1343475277] Looping around the photos to save general results len do output : 1 /21319625Didn'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, '2663373') ('4876', '21319625', '1343490464', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343490435', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343490416', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343490395', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343490163', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343490136', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343490125', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343490102', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343490076', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343489811', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343489745', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343489715', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343489686', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343489513', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343489486', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343489461', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343489386', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343489368', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343488879', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343488836', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343488789', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343488776', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343488485', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343488456', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343488423', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343488409', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343488388', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343488071', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343488021', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343487992', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343487829', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343487826', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343487822', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343487384', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343487369', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343487303', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343486454', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343486239', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343486208', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343486169', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343485885', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343485852', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343485827', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343485803', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343485603', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343485571', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343485528', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343485498', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343485443', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343485384', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343484580', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343484520', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343484382', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343484210', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343484095', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343483394', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343483295', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343483233', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343483173', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343482395', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343482349', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343482270', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343482237', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343481452', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343481366', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343481273', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343481182', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343481113', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343480634', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343480589', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343480527', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343480485', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343480163', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343480155', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343479756', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343479635', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343479221', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343479191', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343479154', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343479148', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343478679', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343478642', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343478609', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343477865', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343477810', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343477783', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343477760', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343477417', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343477392', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343477365', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343477334', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343476972', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343476843', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343476776', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343476707', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343476134', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343475977', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343475849', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343475309', None, None, None, None, None, '2663373') ('4876', None, None, None, None, None, None, None, '2663373') ('4876', '21319625', '1343475277', None, None, None, None, None, '2663373') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.04465651512145996 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7658312320709229 time spend to save output : 0.04538083076477051 total time spend for step 1 : 1.8112120628356934 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.66user 0.37system 0:06.25elapsed 32%CPU (0avgtext+0avgdata 102632maxresident)k 0inputs+72outputs (3major+49667minor)pagefaults 0swaps