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 : 3552419 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 : 1432>1000 please execute split_portfolio.py -i 21894590 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2709083'] with mtr_portfolio_ids : ['21894590'] and first list_photo_ids : [] new path : /proc/3552419/ 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.025755643844604492 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Mar 31 14:12: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'}] (('05', 119), ('06', 286), ('07', 244), ('08', 125), ('09', 98), ('10', 235), ('11', 163), ('12', 36), ('13', 83), ('14', 43)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1213} 31032025 21894590 Nombre de photos uploadées : 131 / 23040 (0%) 31032025 21894590 Nombre de photos taguées (types de déchets): 1213 / 131 (925%) 31032025 21894590 Nombre de photos taguées (volume) : 1213 / 131 (925%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 0.00043702125549316406 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.005735635757446289 elapsed_time : insert_dashboard_record_day_entry 0.023070812225341797 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 elapsed_time : list_photo_by_hashtags 0.010421991348266602 photos_removed : len 0 elapsed_time : load_duplicate_info 0.011482954025268555 ***** BEGIN SPLIT TIME ***** True 1743379200.0 `1743415843.010135 1743415200.0 `1743416123.010137 1743416100.0 `1743416673.009129 1743416100.0 `1743417224.010142 1743417000.0 `1743417774.010137 1743417000.0 `1743419943.009136 1743419700.0 `1743420494.010138 1743419700.0 `1743420703.01014 1743420600.0 `1743420763.010139 1743420600.0 `1743421004.010134 1743420600.0 `1743421014.010136 1743420600.0 `1743421033.010138 1743420600.0 `1743421043.010138 1743420600.0 `1743421053.010142 1743420600.0 `1743421063.010137 1743420600.0 `1743421074.010135 1743420600.0 `1743421144.010149 1743420600.0 `1743421154.010139 1743420600.0 `1743421163.009125 1743420600.0 `1743421193.010137 1743420600.0 `1743421214.010135 1743420600.0 `1743421224.010134 1743420600.0 `1743421243.010136 1743420600.0 `1743421273.010134 1743420600.0 `1743421284.010144 1743420600.0 `1743421294.010138 1743420600.0 `1743421304.010138 1743420600.0 `1743421333.010141 1743420600.0 `1743421343.010135 1743420600.0 `1743421353.010133 1743420600.0 `1743421364.010134 1743420600.0 `1743421553.010136 1743421500.0 `1743421584.010134 1743421500.0 `1743421594.010141 1743421500.0 `1743421603.009127 1743421500.0 `1743421613.010136 1743421500.0 `1743421623.010142 1743421500.0 `1743421644.010143 1743421500.0 `1743421664.010136 1743421500.0 `1743421683.010137 1743421500.0 `1743421703.010135 1743421500.0 `1743421713.010138 1743421500.0 `1743421724.010143 1743421500.0 `1743421753.010139 1743421500.0 `1743421763.010132 1743421500.0 `1743421813.009122 1743421500.0 `1743421823.010134 1743421500.0 `1743421833.010133 1743421500.0 `1743421853.010138 1743421500.0 `1743421874.010139 1743421500.0 `1743421883.00913 1743421500.0 `1743421893.010135 1743421500.0 `1743421903.010137 1743421500.0 `1743421913.010137 1743421500.0 `1743421923.010168 1743421500.0 `1743421934.010146 1743421500.0 `1743421953.009124 1743421500.0 `1743421963.010135 1743421500.0 `1743421993.010136 1743421500.0 `1743422004.010133 1743421500.0 `1743422014.010145 1743421500.0 `1743422023.009133 1743421500.0 `1743422034.01073 1743421500.0 `1743422044.010144 1743421500.0 `1743422053.009131 1743421500.0 `1743422063.010141 1743421500.0 `1743422073.010142 1743421500.0 `1743422083.010138 1743421500.0 `1743422093.010143 1743421500.0 `1743422104.010162 1743421500.0 `1743422123.009128 1743421500.0 `1743422133.010137 1743421500.0 `1743422143.010136 1743421500.0 `1743422153.01015 1743421500.0 `1743422163.010153 1743421500.0 `1743422213.010134 1743421500.0 `1743422223.010156 1743421500.0 `1743422244.010143 1743421500.0 `1743422264.01014 1743421500.0 `1743422273.009128 1743421500.0 `1743422283.010141 1743421500.0 `1743422293.010141 1743421500.0 `1743422303.010136 1743421500.0 `1743422313.010136 1743421500.0 `1743422324.010137 1743421500.0 `1743422334.010139 1743421500.0 `1743422353.010014 1743421500.0 `1743422394.010135 1743421500.0 `1743422464.010142 1743422400.0 `1743422474.010138 1743422400.0 `1743422484.010137 1743422400.0 `1743422494.010144 1743422400.0 `1743422503.009132 1743422400.0 `1743422514.010137 1743422400.0 `1743422524.01017 1743422400.0 `1743422544.010137 1743422400.0 `1743422554.010137 1743422400.0 `1743422564.010139 1743422400.0 `1743422573.009129 1743422400.0 `1743422584.010153 1743422400.0 `1743422594.010137 1743422400.0 `1743422604.010136 1743422400.0 `1743422614.010142 1743422400.0 `1743422634.010136 1743422400.0 `1743422643.009148 1743422400.0 `1743422704.010163 1743422400.0 `1743422713.009123 1743422400.0 `1743422724.01014 1743422400.0 `1743422744.01014 1743422400.0 `1743422754.010136 1743422400.0 `1743422764.010161 1743422400.0 `1743422774.010135 1743422400.0 `1743422784.010135 1743422400.0 `1743422794.009126 1743422400.0 `1743422804.010135 1743422400.0 `1743422814.010137 1743422400.0 `1743422824.010153 1743422400.0 `1743422834.010133 1743422400.0 `1743422874.01014 1743422400.0 `1743422884.010142 1743422400.0 `1743422894.010139 1743422400.0 `1743422904.010136 1743422400.0 `1743422914.01014 1743422400.0 `1743422924.010142 1743422400.0 `1743422944.010153 1743422400.0 `1743422954.010141 1743422400.0 `1743422964.010134 1743422400.0 `1743422974.010135 1743422400.0 `1743422984.010136 1743422400.0 `1743422994.010144 1743422400.0 `1743423003.009134 1743422400.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.008019208908081055 ***** 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': '31032025', 'map_nb_amount': {0: 1, 1: 19, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 660.9999940395355, 'nb_balles_papier': 0.00022, 'begin_time_port': 'image_31032025_13_31_43_10140.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00022 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': '31032025', 'map_nb_amount': {0: 1, 1: 44, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.9999990463257, 'nb_balles_papier': 0.0005000000000000007, 'begin_time_port': 'image_31032025_13_45_53_10136.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005000000000000007 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '31032025', 'map_nb_amount': {0: 0, 1: 18, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 538.9989919662476, 'nb_balles_papier': 0.00022, 'begin_time_port': 'image_31032025_14_01_04_10142.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.00022 We have rejected 7 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 : {1349007649, 1349007559, 1349007529, 1349007535, 1349007568, 1349007548, 1349007646, 1349007551} Still a lot to verify ! Qualite : 0.0510025409211988 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`=21907306 AND mptpi.`type`=3726 To do Qualite : 0.07949287031517037 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`=21907627 AND mptpi.`type`=3726 To do Qualite : 0.023565509664177833 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`=21908086 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.48778676986694336 # DISPLAY ALL COLLECTED DATA : {'31032025': {'nb_upload': 131, 'nb_taggue_class': 1213, 'nb_taggue_densite': 1213}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349007649, 1349007646, 1349007568, 1349007559, 1349007551, 1349007548, 1349007535, 1349007529, 1349007377, 1349007372, 1349007366, 1349007362, 1349007359, 1349007281, 1349007262, 1349007258, 1349007162, 1349007151, 1349007138, 1349007132, 1349007123, 1349007098, 1349006992, 1349006973, 1349006965, 1349006940, 1349006935, 1349006834, 1349006804, 1349006797, 1349006792, 1349006785, 1349006779, 1349006678, 1349006632, 1349006611, 1349006604, 1349006586, 1349006485, 1349006454, 1349006423, 1349006386, 1349006350, 1349006321, 1349005995, 1349005911, 1349005771, 1349005707, 1349005647, 1349005594, 1349005543, 1349005507, 1349004637, 1349004584, 1349004532, 1349004480, 1349004242, 1349004237, 1349004213, 1349004209, 1349004204, 1349004202, 1349004192, 1349004164, 1349004161, 1349004153, 1349004150, 1349004146, 1349004142, 1349004117, 1349004113, 1349004110, 1349004107, 1349004104, 1349004070, 1349004063, 1349004058, 1349004054, 1349004027, 1349004024, 1349004022, 1349004020, 1349004018, 1349003970, 1349003965, 1349003960, 1349003957, 1349003753, 1349003750, 1349003707, 1349003695, 1349003613, 1349003605, 1349003534, 1349003516, 1349003514, 1349003449, 1349003445, 1349003442, 1349003410] Looping around the photos to save general results len do output : 1 /21894590Didn'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, '2709083') ('4876', '21894590', '1349007649', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007646', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007568', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007559', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007551', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007548', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007535', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007529', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007377', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007372', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007366', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007362', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007359', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007281', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007262', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007258', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007162', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007151', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007138', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007132', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007123', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349007098', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006992', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006973', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006965', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006940', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006935', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006834', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006804', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006797', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006792', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006785', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006779', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006678', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006632', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006611', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006604', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006586', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006485', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006454', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006423', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006386', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006350', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349006321', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349005995', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349005911', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349005771', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349005707', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349005647', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349005594', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349005543', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349005507', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004637', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004584', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004532', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004480', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004242', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004237', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004213', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004209', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004204', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004202', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004192', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004164', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004161', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004153', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004150', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004146', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004142', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004117', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004113', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004110', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004107', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004104', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004070', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004063', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004058', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004054', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004027', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004024', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004022', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004020', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349004018', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003970', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003965', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003960', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003957', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003753', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003750', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003707', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003695', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003613', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003605', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003534', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003516', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003514', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003449', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003445', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003442', None, None, None, None, None, '2709083') ('4876', None, None, None, None, None, None, None, '2709083') ('4876', '21894590', '1349003410', None, None, None, None, None, '2709083') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.5934994220733643 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6878585815429688 time spend to save output : 0.5942511558532715 total time spend for step 1 : 2.2821097373962402 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.26user 0.53system 0:05.83elapsed 30%CPU (0avgtext+0avgdata 100168maxresident)k 0inputs+88outputs (4major+48916minor)pagefaults 0swaps