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 : 1141821 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 : 2850>1000 please execute split_portfolio.py -i 20899997 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2623969'] with mtr_portfolio_ids : ['20899997'] and first list_photo_ids : [] new path : /proc/1141821/ 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.03263282775878906 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Feb 28 14:10: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', 179), ('01', 91), ('02', 259), ('03', 272), ('04', 42), ('05', 256), ('06', 274), ('07', 286), ('08', 298), ('09', 138), ('10', 300), ('11', 270), ('12', 60), ('13', 82), ('14', 43)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2651} 28022025 20899997 Nombre de photos uploadées : 136 / 23040 (0%) 28022025 20899997 Nombre de photos taguées (types de déchets): 2651 / 136 (1949%) 28022025 20899997 Nombre de photos taguées (volume) : 2651 / 136 (1949%) elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0010287761688232422 ?????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.04112505912780762 elapsed_time : insert_dashboard_record_day_entry 0.021771669387817383 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 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.007722616195678711 photos_removed : len 0 elapsed_time : load_duplicate_info 0.01139211654663086 ***** BEGIN SPLIT TIME ***** True 1740700800.0 `1740740994.010141 1740740400.0 `1740741004.010147 1740740400.0 `1740741014.010138 1740740400.0 `1740741024.010135 1740740400.0 `1740741035.010135 1740740400.0 `1740741605.010146 1740741300.0 `1740741694.009127 1740741300.0 `1740742154.009127 1740741300.0 `1740742704.010137 1740742200.0 `1740743254.009132 1740743100.0 `1740743805.010137 1740743100.0 `1740746094.010136 1740745800.0 `1740746103.009148 1740745800.0 `1740746134.010145 1740745800.0 `1740746144.01014 1740745800.0 `1740746154.01014 1740745800.0 `1740746164.010139 1740745800.0 `1740746183.010138 1740745800.0 `1740746514.010136 1740745800.0 `1740746524.010154 1740745800.0 `1740746533.00913 1740745800.0 `1740746574.010139 1740745800.0 `1740746584.01015 1740745800.0 `1740746594.010134 1740745800.0 `1740746603.009124 1740745800.0 `1740746613.010135 1740745800.0 `1740746624.010135 1740745800.0 `1740746634.010136 1740745800.0 `1740746644.010148 1740745800.0 `1740746674.010133 1740745800.0 `1740746683.009124 1740745800.0 `1740746694.010142 1740745800.0 `1740746704.010153 1740746700.0 `1740746724.010137 1740746700.0 `1740746734.010139 1740746700.0 `1740746774.010139 1740746700.0 `1740746784.010136 1740746700.0 `1740746794.010146 1740746700.0 `1740746804.010137 1740746700.0 `1740746814.010136 1740746700.0 `1740746823.009141 1740746700.0 `1740746833.010136 1740746700.0 `1740746844.010135 1740746700.0 `1740746854.010137 1740746700.0 `1740746864.010137 1740746700.0 `1740746884.010152 1740746700.0 `1740746893.009127 1740746700.0 `1740746903.010134 1740746700.0 `1740746944.010148 1740746700.0 `1740746954.010135 1740746700.0 `1740746964.010134 1740746700.0 `1740746973.009129 1740746700.0 `1740746984.010139 1740746700.0 `1740746994.010137 1740746700.0 `1740747004.010151 1740746700.0 `1740747014.010136 1740746700.0 `1740747024.010135 1740746700.0 `1740747034.010138 1740746700.0 `1740747043.009129 1740746700.0 `1740747053.010139 1740746700.0 `1740747064.01015 1740746700.0 `1740747074.010137 1740746700.0 `1740747084.01014 1740746700.0 `1740747094.010135 1740746700.0 `1740747104.010137 1740746700.0 `1740747144.010133 1740746700.0 `1740747154.010134 1740746700.0 `1740747174.010137 1740746700.0 `1740747183.00913 1740746700.0 `1740747193.010134 1740746700.0 `1740747204.010134 1740746700.0 `1740747214.01014 1740746700.0 `1740747224.010135 1740746700.0 `1740747234.010137 1740746700.0 `1740747253.009132 1740746700.0 `1740747263.010136 1740746700.0 `1740747274.010134 1740746700.0 `1740747314.010136 1740746700.0 `1740747324.009655 1740746700.0 `1740747334.010145 1740746700.0 `1740747344.010139 1740746700.0 `1740747354.010137 1740746700.0 `1740747373.010147 1740746700.0 `1740747384.010137 1740746700.0 `1740747394.010137 1740746700.0 `1740747404.010138 1740746700.0 `1740747414.010138 1740746700.0 `1740747424.01016 1740746700.0 `1740747433.009126 1740746700.0 `1740747474.010134 1740746700.0 `1740747494.010137 1740746700.0 `1740747513.01014 1740746700.0 `1740747534.010135 1740746700.0 `1740747613.010205 1740747600.0 `1740747623.010142 1740747600.0 `1740747634.010143 1740747600.0 `1740747673.009125 1740747600.0 `1740747683.010139 1740747600.0 `1740747693.010147 1740747600.0 `1740747704.010145 1740747600.0 `1740747714.010138 1740747600.0 `1740747724.010168 1740747600.0 `1740747734.010142 1740747600.0 `1740747743.009125 1740747600.0 `1740747753.010136 1740747600.0 `1740747763.010136 1740747600.0 `1740747774.010137 1740747600.0 `1740747813.009124 1740747600.0 `1740747823.010134 1740747600.0 `1740747844.010175 1740747600.0 `1740747854.010142 1740747600.0 `1740747864.010136 1740747600.0 `1740747874.010144 1740747600.0 `1740747883.009131 1740747600.0 `1740747893.010134 1740747600.0 `1740747903.010151 1740747600.0 `1740747914.01014 1740747600.0 `1740747924.010186 1740747600.0 `1740747934.010137 1740747600.0 `1740747944.010136 1740747600.0 `1740747953.009129 1740747600.0 `1740747994.010133 1740747600.0 `1740748004.010132 1740747600.0 `1740748014.010138 1740747600.0 `1740748024.010136 1740747600.0 `1740748033.009126 1740747600.0 `1740748043.010134 1740747600.0 `1740748054.010141 1740747600.0 `1740748064.01014 1740747600.0 `1740748074.010138 1740747600.0 `1740748084.010153 1740747600.0 `1740748094.010137 1740747600.0 `1740748103.009125 1740747600.0 `1740748113.010139 1740747600.0 `1740748154.010134 1740747600.0 `1740748173.009131 1740747600.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.008922576904296875 ***** 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': '28022025', 'map_nb_amount': {0: 0, 1: 16, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 600.000006198883, 'nb_balles_papier': 0.00019, 'begin_time_port': 'image_28022025_13_34_54_10136.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00019 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': '28022025', 'map_nb_amount': {0: 3, 1: 32, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.999981880188, 'nb_balles_papier': 0.00038000000000000035, 'begin_time_port': 'image_28022025_13_45_04_010153m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00038000000000000035 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 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 3, 1: 12, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 559.9989259243011, 'nb_balles_papier': 0.00016, 'begin_time_port': 'image_28022025_14_00_13_10205.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00016 We have rejected 11 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 3 Still a lot to verify ! Still a lot to verify ! We need to add photos : {1340146304, 1340146721, 1340146243, 1340146724, 1340145673, 1340146250, 1340146160, 1340146481, 1340146297, 1340146715, 1340146300, 1340145917, 1340145535} Still a lot to verify ! Qualite : 0.06834300762435493 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`=20927098 AND mptpi.`type`=3726 To do Qualite : 0.08726666855087595 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`=20927337 AND mptpi.`type`=3726 To do Qualite : 0.10447611141871481 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`=20927747 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.5319280624389648 # DISPLAY ALL COLLECTED DATA : {'28022025': {'nb_upload': 136, 'nb_taggue_class': 2651, 'nb_taggue_densite': 2651}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340146724, 1340146721, 1340146715, 1340146481, 1340146304, 1340146300, 1340146297, 1340146250, 1340146243, 1340146160, 1340145917, 1340145673, 1340145535, 1340145244, 1340145239, 1340145237, 1340145220, 1340145212, 1340145208, 1340145197, 1340145189, 1340145177, 1340145136, 1340145129, 1340145123, 1340145117, 1340145114, 1340145111, 1340144902, 1340144898, 1340144879, 1340144871, 1340144866, 1340144859, 1340144856, 1340144853, 1340144827, 1340144800, 1340144792, 1340144789, 1340144785, 1340144750, 1340144744, 1340144739, 1340144677, 1340144664, 1340144656, 1340144581, 1340144579, 1340144577, 1340144517, 1340144512, 1340144508, 1340144507, 1340144500, 1340144446, 1340144440, 1340144434, 1340144425, 1340144409, 1340144336, 1340144213, 1340144210, 1340144165, 1340144152, 1340144144, 1340144140, 1340144137, 1340144099, 1340144038, 1340144035, 1340144014, 1340143950, 1340143943, 1340143939, 1340143924, 1340143917, 1340143884, 1340143873, 1340143870, 1340143866, 1340143864, 1340143862, 1340143836, 1340143828, 1340143824, 1340143819, 1340143815, 1340143813, 1340143757, 1340143756, 1340143755, 1340143542, 1340143539, 1340143535, 1340143534, 1340143529, 1340143487, 1340143480, 1340143476] Looping around the photos to save general results len do output : 1 /20899997Didn'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, '2623969') ('4876', '20899997', '1340146724', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340146721', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340146715', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340146481', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340146304', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340146300', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340146297', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340146250', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340146243', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340146160', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145917', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145673', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145535', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145244', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145239', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145237', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145220', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145212', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145208', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145197', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145189', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145177', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145136', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145129', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145123', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145117', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145114', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340145111', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144902', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144898', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144879', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144871', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144866', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144859', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144856', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144853', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144827', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144800', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144792', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144789', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144785', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144750', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144744', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144739', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144677', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144664', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144656', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144581', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144579', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144577', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144517', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144512', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144508', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144507', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144500', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144446', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144440', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144434', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144425', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144409', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144336', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144213', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144210', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144165', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144152', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144144', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144140', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144137', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144099', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144038', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144035', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340144014', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143950', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143943', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143939', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143924', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143917', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143884', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143873', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143870', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143866', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143864', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143862', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143836', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143828', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143824', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143819', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143815', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143813', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143757', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143756', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143755', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143542', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143539', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143535', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143534', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143529', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143487', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143480', None, None, None, None, None, '2623969') ('4876', None, None, None, None, None, None, None, '2623969') ('4876', '20899997', '1340143476', None, None, None, None, None, '2623969') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 1.4033942222595215 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8795957565307617 time spend to save output : 1.4042415618896484 total time spend for step 1 : 2.28383731842041 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.50user 0.69system 0:05.74elapsed 38%CPU (0avgtext+0avgdata 102656maxresident)k 0inputs+88outputs (88major+49320minor)pagefaults 0swaps