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 : 2369898 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 : ['2581515'] with mtr_portfolio_ids : ['20493659'] and first list_photo_ids : [] new path : /proc/2369898/ 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.05460810661315918 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Feb 13 05:46: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', 8), ('01', 6), ('02', 9), ('03', 4), ('04', 6), ('05', 129)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 108} 13022025 20493659 Nombre de photos uploadées : 137 / 23040 (0%) 13022025 20493659 Nombre de photos taguées (types de déchets): 108 / 137 (78%) 13022025 20493659 Nombre de photos taguées (volume) : 108 / 137 (78%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 6.389617919921875e-05 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.00760340690612793 elapsed_time : insert_dashboard_record_day_entry 0.030277729034423828 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 elapsed_time : list_photo_by_hashtags 0.008737325668334961 photos_removed : len 0 elapsed_time : load_duplicate_info 0.011647462844848633 ***** BEGIN SPLIT TIME ***** True 1739404800.0 `1739411673.00913 1739411100.0 `1739415064.010171 1739414700.0 `1739415664.01016 1739415600.0 `1739416214.010172 1739415600.0 `1739416764.010151 1739416500.0 `1739417314.010141 1739416500.0 `1739417864.009143 1739417400.0 `1739418415.010135 1739418300.0 `1739419255.010136 1739419200.0 `1739419315.010138 1739419200.0 `1739419335.010139 1739419200.0 `1739419435.010136 1739419200.0 `1739419535.010147 1739419200.0 `1739419565.009138 1739419200.0 `1739419575.010137 1739419200.0 `1739419735.010146 1739419200.0 `1739419745.010178 1739419200.0 `1739419795.010138 1739419200.0 `1739419805.010166 1739419200.0 `1739419815.010139 1739419200.0 `1739419895.010141 1739419200.0 `1739419915.010141 1739419200.0 `1739419945.010136 1739419200.0 `1739420005.010137 1739419200.0 `1739420085.010144 1739419200.0 `1739420275.010142 1739420100.0 `1739420425.010141 1739420100.0 `1739420475.009126 1739420100.0 `1739420495.010144 1739420100.0 `1739420505.010145 1739420100.0 `1739420525.010137 1739420100.0 `1739420535.010137 1739420100.0 `1739420544.009125 1739420100.0 `1739420595.010137 1739420100.0 `1739420605.010134 1739420100.0 `1739420625.010144 1739420100.0 `1739420635.010138 1739420100.0 `1739420645.010144 1739420100.0 `1739420655.010136 1739420100.0 `1739420675.010152 1739420100.0 `1739420684.009127 1739420100.0 `1739420695.010138 1739420100.0 `1739420705.010154 1739420100.0 `1739420715.01014 1739420100.0 `1739420725.010138 1739420100.0 `1739420745.010136 1739420100.0 `1739420754.009133 1739420100.0 `1739420795.010133 1739420100.0 `1739420805.010139 1739420100.0 `1739420815.010137 1739420100.0 `1739420824.009145 1739420100.0 `1739420835.010138 1739420100.0 `1739420845.010136 1739420100.0 `1739420855.010142 1739420100.0 `1739420865.01014 1739420100.0 `1739420875.010136 1739420100.0 `1739420885.010144 1739420100.0 `1739420895.010138 1739420100.0 `1739420935.010135 1739420100.0 `1739420945.01014 1739420100.0 `1739420955.010136 1739420100.0 `1739420965.010138 1739420100.0 `1739420974.009134 1739420100.0 `1739420985.010149 1739420100.0 `1739420995.010141 1739420100.0 `1739421005.010155 1739421000.0 `1739421015.010137 1739421000.0 `1739421025.010135 1739421000.0 `1739421035.010135 1739421000.0 `1739421044.009127 1739421000.0 `1739421055.01014 1739421000.0 `1739421065.010164 1739421000.0 `1739421075.010135 1739421000.0 `1739421085.010137 1739421000.0 `1739421125.010167 1739421000.0 `1739421135.010132 1739421000.0 `1739421145.010134 1739421000.0 `1739421155.010149 1739421000.0 `1739421175.010138 1739421000.0 `1739421184.009157 1739421000.0 `1739421195.010137 1739421000.0 `1739421205.010136 1739421000.0 `1739421215.010138 1739421000.0 `1739421225.010139 1739421000.0 `1739421245.010146 1739421000.0 `1739421265.010142 1739421000.0 `1739421275.010133 1739421000.0 `1739421315.010136 1739421000.0 `1739421325.010134 1739421000.0 `1739421335.009133 1739421000.0 `1739421345.010147 1739421000.0 `1739421355.01014 1739421000.0 `1739421365.010165 1739421000.0 `1739421375.010135 1739421000.0 `1739421385.010137 1739421000.0 `1739421394.009133 1739421000.0 `1739421405.010143 1739421000.0 `1739421415.010142 1739421000.0 `1739421425.01019 1739421000.0 `1739421435.010138 1739421000.0 `1739421445.010135 1739421000.0 `1739421455.010139 1739421000.0 `1739421485.010158 1739421000.0 `1739421495.010138 1739421000.0 `1739421505.01014 1739421000.0 `1739421515.010137 1739421000.0 `1739421525.01014 1739421000.0 `1739421534.009129 1739421000.0 `1739421545.010156 1739421000.0 `1739421555.01014 1739421000.0 `1739421565.010138 1739421000.0 `1739421575.010142 1739421000.0 `1739421585.010138 1739421000.0 `1739421605.010145 1739421000.0 `1739421615.009127 1739421000.0 `1739421625.010138 1739421000.0 `1739421635.010138 1739421000.0 `1739421645.01014 1739421000.0 `1739421675.010134 1739421000.0 `1739421684.009122 1739421000.0 `1739421695.010135 1739421000.0 `1739421705.010137 1739421000.0 `1739421715.010138 1739421000.0 `1739421725.010188 1739421000.0 `1739421735.010138 1739421000.0 `1739421745.010136 1739421000.0 `1739421754.009126 1739421000.0 `1739421765.010136 1739421000.0 `1739421775.01014 1739421000.0 `1739421785.010157 1739421000.0 `1739421795.010136 1739421000.0 `1739421805.010136 1739421000.0 `1739421815.010136 1739421000.0 `1739421855.010138 1739421000.0 `1739421865.010135 1739421000.0 `1739421875.010142 1739421000.0 `1739421885.010142 1739421000.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.010295629501342773 ***** END SPLIT TIME ***** NUMBER BATCH : 9 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info 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': '13022025', 'map_nb_amount': {0: 0, 1: 8, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 830.0000081062317, 'nb_balles_papier': 8e-05, 'begin_time_port': 'image_13022025_05_00_55_10136.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 8e-05 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '13022025', 'map_nb_amount': {0: 2, 1: 32, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 719.9999988079071, 'nb_balles_papier': 0.00038000000000000035, 'begin_time_port': 'image_13022025_05_17_55_10142.jpg'} 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 result_one_balle_Type_JRM:{'day': '13022025', 'map_nb_amount': {0: 6, 1: 35, 2: 14, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999871253967, 'nb_balles_papier': 0.0005500000000000008, 'begin_time_port': 'image_13022025_05_30_05_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.0005500000000000008 We have rejected 8 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 : {1337275490, 1337275493, 1337275476, 1337275478, 1337275483} Still a lot to verify ! Qualite : 0.0787631748319839 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`=20496702 AND mptpi.`type`=3726 To do Qualite : 0.04812007576667489 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`=20496893 AND mptpi.`type`=3726 To do Qualite : 0.042975414616767384 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`=20497229 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.5542628765106201 # DISPLAY ALL COLLECTED DATA : {'13022025': {'nb_upload': 137, 'nb_taggue_class': 108, 'nb_taggue_densite': 108}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1337275493, 1337275490, 1337275483, 1337275478, 1337275476, 1337275218, 1337275155, 1337275085, 1337275036, 1337274887, 1337274885, 1337274883, 1337274882, 1337274881, 1337274880, 1337274455, 1337274316, 1337274245, 1337274173, 1337274102, 1337273795, 1337273793, 1337273792, 1337273791, 1337273790, 1337273759, 1337273756, 1337273748, 1337273745, 1337273744, 1337273726, 1337273724, 1337273721, 1337273719, 1337273718, 1337273717, 1337273686, 1337273683, 1337273682, 1337273681, 1337273660, 1337273658, 1337273656, 1337273652, 1337273651, 1337273650, 1337273539, 1337273537, 1337273536, 1337273526, 1337273515, 1337273467, 1337273464, 1337273462, 1337273437, 1337273434, 1337273432, 1337273429, 1337273427, 1337273395, 1337273390, 1337273389, 1337273388, 1337273387, 1337273357, 1337273356, 1337273293, 1337273155, 1337273138, 1337273083, 1337273081, 1337273079, 1337273000, 1337272882, 1337272867, 1337272857, 1337272852, 1337272850, 1337272849, 1337272825, 1337272824, 1337272823, 1337272805, 1337272803, 1337272799, 1337272792, 1337272791, 1337272789, 1337272761, 1337272759, 1337272757, 1337272729, 1337272727, 1337272725, 1337272700, 1337272699, 1337272662, 1337272659, 1337272655, 1337272654] Looping around the photos to save general results len do output : 1 /20493659Didn'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, '2581515') ('4876', '20493659', '1337275493', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337275490', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337275483', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337275478', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337275476', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337275218', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337275155', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337275085', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337275036', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337274887', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337274885', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337274883', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337274882', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337274881', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337274880', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337274455', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337274316', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337274245', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337274173', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337274102', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273795', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273793', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273792', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273791', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273790', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273759', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273756', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273748', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273745', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273744', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273726', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273724', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273721', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273719', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273718', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273717', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273686', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273683', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273682', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273681', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273660', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273658', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273656', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273652', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273651', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273650', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273539', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273537', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273536', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273526', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273515', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273467', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273464', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273462', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273437', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273434', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273432', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273429', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273427', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273395', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273390', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273389', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273388', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273387', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273357', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273356', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273293', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273155', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273138', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273083', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273081', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273079', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337273000', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272882', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272867', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272857', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272852', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272850', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272849', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272825', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272824', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272823', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272805', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272803', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272799', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272792', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272791', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272789', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272761', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272759', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272757', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272729', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272727', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272725', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272700', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272699', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272662', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272659', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272655', None, None, None, None, None, '2581515') ('4876', None, None, None, None, None, None, None, '2581515') ('4876', '20493659', '1337272654', None, None, None, None, None, '2581515') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.032869577407836914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7086665630340576 time spend to save output : 0.03375387191772461 total time spend for step 1 : 0.7424204349517822 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.30user 0.52system 0:05.15elapsed 35%CPU (0avgtext+0avgdata 101000maxresident)k 0inputs+80outputs (0major+48635minor)pagefaults 0swaps