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 : 3447052 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 list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2611632'] with mtr_portfolio_ids : ['20784437'] and first list_photo_ids : [] new path : /proc/3447052/ 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.051648616790771484 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Feb 25 05:50:28 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', 21), ('01', 6), ('02', 9), ('03', 14), ('04', 9), ('05', 142)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 134} 25022025 20784437 Nombre de photos uploadées : 158 / 23040 (0%) 25022025 20784437 Nombre de photos taguées (types de déchets): 134 / 158 (84%) 25022025 20784437 Nombre de photos taguées (volume) : 134 / 158 (84%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 5.1021575927734375e-05 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.006030559539794922 elapsed_time : insert_dashboard_record_day_entry 0.028910398483276367 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 elapsed_time : list_photo_by_hashtags 0.007708549499511719 photos_removed : len 0 elapsed_time : load_duplicate_info 0.012828350067138672 ***** BEGIN SPLIT TIME ***** True 1740441600.0 `1740449624.010134 1740448800.0 `1740451964.01014 1740451500.0 `1740452174.010138 1740451500.0 `1740452184.010141 1740451500.0 `1740452224.009135 1740451500.0 `1740452234.010137 1740451500.0 `1740452374.010141 1740451500.0 `1740452495.010142 1740452400.0 `1740452504.009125 1740452400.0 `1740452664.010137 1740452400.0 `1740452674.010146 1740452400.0 `1740452744.010144 1740452400.0 `1740452784.009127 1740452400.0 `1740452925.010137 1740452400.0 `1740452974.010136 1740452400.0 `1740453294.010137 1740452400.0 `1740456014.010203 1740456000.0 `1740456073.009124 1740456000.0 `1740456084.01014 1740456000.0 `1740456094.010141 1740456000.0 `1740456104.010142 1740456000.0 `1740456114.01014 1740456000.0 `1740456194.010139 1740456000.0 `1740457164.010144 1740456900.0 `1740457244.010141 1740456900.0 `1740457284.010138 1740456900.0 `1740457304.010142 1740456900.0 `1740457344.010137 1740456900.0 `1740457354.010143 1740456900.0 `1740457364.009123 1740456900.0 `1740457394.010135 1740456900.0 `1740457404.010134 1740456900.0 `1740457414.01014 1740456900.0 `1740457424.010142 1740456900.0 `1740457434.009127 1740456900.0 `1740457444.010154 1740456900.0 `1740457454.010142 1740456900.0 `1740457464.010136 1740456900.0 `1740457474.010136 1740456900.0 `1740457484.01014 1740456900.0 `1740457494.01014 1740456900.0 `1740457514.010141 1740456900.0 `1740457534.010138 1740456900.0 `1740457544.010134 1740456900.0 `1740457574.009125 1740456900.0 `1740457584.010134 1740456900.0 `1740457594.010136 1740456900.0 `1740457604.010141 1740456900.0 `1740457614.010146 1740456900.0 `1740457624.010155 1740456900.0 `1740457634.010138 1740456900.0 `1740457643.009128 1740456900.0 `1740457654.010137 1740456900.0 `1740457664.010138 1740456900.0 `1740457674.010137 1740456900.0 `1740457684.010158 1740456900.0 `1740457714.010133 1740456900.0 `1740457724.009124 1740456900.0 `1740457734.010136 1740456900.0 `1740457744.010152 1740456900.0 `1740457754.010135 1740456900.0 `1740457764.010136 1740456900.0 `1740457774.010143 1740456900.0 `1740457784.010135 1740456900.0 `1740457794.009124 1740456900.0 `1740457824.010134 1740457800.0 `1740457834.010132 1740457800.0 `1740457844.010137 1740457800.0 `1740457854.01014 1740457800.0 `1740457864.00914 1740457800.0 `1740457874.01014 1740457800.0 `1740457884.01016 1740457800.0 `1740457894.010134 1740457800.0 `1740457904.010136 1740457800.0 `1740457914.010138 1740457800.0 `1740457934.009124 1740457800.0 `1740457944.010135 1740457800.0 `1740457974.010141 1740457800.0 `1740457984.010135 1740457800.0 `1740457994.010135 1740457800.0 `1740458004.010135 1740457800.0 `1740458014.009135 1740457800.0 `1740458024.010135 1740457800.0 `1740458034.010139 1740457800.0 `1740458044.010148 1740457800.0 `1740458054.010135 1740457800.0 `1740458064.010135 1740457800.0 `1740458074.010135 1740457800.0 `1740458104.01015 1740457800.0 `1740458114.010133 1740457800.0 `1740458124.010135 1740457800.0 `1740458134.010136 1740457800.0 `1740458144.010138 1740457800.0 `1740458154.009131 1740457800.0 `1740458164.010144 1740457800.0 `1740458174.010137 1740457800.0 `1740458184.010135 1740457800.0 `1740458194.010134 1740457800.0 `1740458224.009153 1740457800.0 `1740458234.010137 1740457800.0 `1740458244.010141 1740457800.0 `1740458254.01014 1740457800.0 `1740458264.010144 1740457800.0 `1740458274.010142 1740457800.0 `1740458284.010154 1740457800.0 `1740458294.009127 1740457800.0 `1740458304.010136 1740457800.0 `1740458314.010134 1740457800.0 `1740458334.010135 1740457800.0 `1740458344.010151 1740457800.0 `1740458354.010135 1740457800.0 `1740458363.009126 1740457800.0 `1740458374.010136 1740457800.0 `1740458384.010137 1740457800.0 `1740458394.010139 1740457800.0 `1740458404.010157 1740457800.0 `1740458414.010194 1740457800.0 `1740458424.010134 1740457800.0 `1740458444.010137 1740457800.0 `1740458454.010134 1740457800.0 `1740458464.01015 1740457800.0 `1740458474.010137 1740457800.0 `1740458484.010136 1740457800.0 `1740458494.010138 1740457800.0 `1740458504.01014 1740457800.0 `1740458534.010132 1740457800.0 `1740458544.010135 1740457800.0 `1740458554.010134 1740457800.0 `1740458564.010136 1740457800.0 `1740458574.010146 1740457800.0 `1740458584.00913 1740457800.0 `1740458594.010137 1740457800.0 `1740458604.010144 1740457800.0 `1740458634.010135 1740457800.0 `1740458644.010144 1740457800.0 `1740458654.009127 1740457800.0 `1740458664.010134 1740457800.0 `1740458674.010142 1740457800.0 `1740458684.010141 1740457800.0 `1740458694.010139 1740457800.0 `1740458723.009124 1740458700.0 `1740458734.010132 1740458700.0 `1740458744.010136 1740458700.0 `1740458754.010138 1740458700.0 `1740458764.010138 1740458700.0 `1740458774.010134 1740458700.0 `1740458784.010134 1740458700.0 `1740458814.01014 1740458700.0 `1740458824.010145 1740458700.0 `1740458834.010136 1740458700.0 `1740458844.010134 1740458700.0 `1740458854.010133 1740458700.0 `1740458864.010136 1740458700.0 `1740458874.009126 1740458700.0 `1740458894.010134 1740458700.0 `1740458904.010134 1740458700.0 `1740458914.010135 1740458700.0 `1740458924.010137 1740458700.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.011585474014282227 ***** 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 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '25022025', 'map_nb_amount': {0: 0, 1: 4, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 798.9999949932098, 'nb_balles_papier': 4e-05, 'begin_time_port': 'image_25022025_04_01_35_010142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 4e-05 We reject this portfolio because of the condition_save_data : 2025-02-25 04:01:35.010142 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '25022025', 'map_nb_amount': {0: 6, 1: 31, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 629.9989800453186, 'nb_balles_papier': 0.0004000000000000004, 'begin_time_port': 'image_25022025_05_19_24_10144.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004000000000000004 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': '25022025', 'map_nb_amount': {0: 10, 1: 39, 2: 8, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 870.0000050067902, 'nb_balles_papier': 0.0005700000000000008, 'begin_time_port': 'image_25022025_05_30_24_10134.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005700000000000008 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': '25022025', 'map_nb_amount': {0: 0, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 201.0010130405426, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_25022025_05_45_23_9124.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 3.0000000000000004e-05 We have rejected 14 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 ! Still a lot to verify ! list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__25022025_05_45_23_009124&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 Qualite : 0.019194315224785766 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`=20787821 AND mptpi.`type`=3726 To do Qualite : 0.03866151305920311 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`=20788035 AND mptpi.`type`=3726 To do There was a bug due to new port without datou_current_id # 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`=20788531 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 4.132494688034058 # DISPLAY ALL COLLECTED DATA : {'25022025': {'nb_upload': 158, 'nb_taggue_class': 134, 'nb_taggue_densite': 134}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339498472, 1339498469, 1339498466, 1339498463, 1339498459, 1339498415, 1339498412, 1339498409, 1339498404, 1339498398, 1339498390, 1339498374, 1339498371, 1339498368, 1339498360, 1339498353, 1339498302, 1339498226, 1339498199, 1339498126, 1339498124, 1339498120, 1339498112, 1339498103, 1339498080, 1339497951, 1339497947, 1339497945, 1339497942, 1339497819, 1339497812, 1339497800, 1339497788, 1339497782, 1339497738, 1339497736, 1339497734, 1339497729, 1339497726, 1339497718, 1339497708, 1339497705, 1339497702, 1339497690, 1339497630, 1339497622, 1339497616, 1339497492, 1339497337, 1339497318, 1339497297, 1339497291, 1339497285, 1339497282, 1339497280, 1339497274, 1339497272, 1339497270, 1339497267, 1339497263, 1339497260, 1339497244, 1339497241, 1339497238, 1339497235, 1339497228, 1339497227, 1339497223, 1339497220, 1339497217, 1339497214, 1339497200, 1339497197, 1339497195, 1339497191, 1339497180, 1339497175, 1339497158, 1339497147, 1339497141, 1339497138, 1339497066, 1339497061, 1339497058, 1339497045, 1339497043, 1339497040, 1339497037, 1339497035, 1339497032, 1339497024, 1339497022, 1339497019, 1339497016, 1339497010, 1339497008, 1339497005, 1339497003, 1339497000, 1339496998] Looping around the photos to save general results len do output : 1 /20784437Didn'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, '2611632') ('4876', '20784437', '1339498472', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498469', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498466', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498463', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498459', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498415', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498412', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498409', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498404', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498398', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498390', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498374', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498371', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498368', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498360', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498353', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498302', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498226', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498199', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498126', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498124', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498120', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498112', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498103', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339498080', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497951', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497947', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497945', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497942', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497819', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497812', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497800', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497788', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497782', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497738', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497736', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497734', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497729', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497726', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497718', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497708', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497705', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497702', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497690', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497630', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497622', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497616', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497492', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497337', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497318', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497297', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497291', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497285', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497282', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497280', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497274', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497272', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497270', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497267', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497263', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497260', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497244', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497241', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497238', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497235', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497228', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497227', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497223', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497220', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497217', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497214', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497200', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497197', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497195', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497191', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497180', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497175', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497158', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497147', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497141', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497138', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497066', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497061', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497058', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497045', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497043', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497040', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497037', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497035', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497032', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497024', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497022', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497019', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497016', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497010', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497008', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497005', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497003', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339497000', None, None, None, None, None, '2611632') ('4876', None, None, None, None, None, None, None, '2611632') ('4876', '20784437', '1339496998', None, None, None, None, None, '2611632') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.031720638275146484 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.324490785598755 time spend to save output : 0.032572031021118164 total time spend for step 1 : 4.357062816619873 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.46user 0.57system 0:07.03elapsed 29%CPU (0avgtext+0avgdata 102932maxresident)k 0inputs+88outputs (0major+48919minor)pagefaults 0swaps