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 : 2203727 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 : ['2667807'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/2203727/ 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.07151508331298828 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Mar 14 05:48:26 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', 11), ('01', 4), ('02', 12), ('03', 7), ('04', 8), ('05', 171)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 114} 14032025 21403117 Nombre de photos uploadées : 180 / 23040 (0%) 14032025 21403117 Nombre de photos taguées (types de déchets): 114 / 180 (63%) 14032025 21403117 Nombre de photos taguées (volume) : 114 / 180 (63%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 5.125999450683594e-05 ?????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.00735020637512207 elapsed_time : insert_dashboard_record_day_entry 0.04162883758544922 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None 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.012311935424804688 photos_removed : len 0 elapsed_time : load_duplicate_info 0.013503789901733398 ***** BEGIN SPLIT TIME ***** True 1741910400.0 `1741920183.009132 1741919400.0 `1741921574.010137 1741921200.0 `1741922074.010141 1741921200.0 `1741922084.010137 1741921200.0 `1741922614.010139 1741922100.0 `1741922624.010139 1741922100.0 `1741923294.010135 1741923000.0 `1741924024.010152 1741923900.0 `1741924574.01014 1741923900.0 `1741924974.01014 1741924800.0 `1741925144.010138 1741924800.0 `1741925694.010136 1741924800.0 `1741925784.010137 1741925700.0 `1741925794.010139 1741925700.0 `1741925804.010135 1741925700.0 `1741925814.010136 1741925700.0 `1741925824.009131 1741925700.0 `1741925834.010134 1741925700.0 `1741925844.010134 1741925700.0 `1741925854.010134 1741925700.0 `1741925864.010139 1741925700.0 `1741925874.010137 1741925700.0 `1741925884.010144 1741925700.0 `1741925893.009126 1741925700.0 `1741925904.010136 1741925700.0 `1741925934.010137 1741925700.0 `1741925934.010137 1741925700.0 `1741925944.01015 1741925700.0 `1741925944.01015 1741925700.0 `1741925954.010136 1741925700.0 `1741925954.010136 1741925700.0 `1741925963.009124 1741925700.0 `1741925963.009124 1741925700.0 `1741925974.010135 1741925700.0 `1741925974.010135 1741925700.0 `1741925984.010137 1741925700.0 `1741925984.010137 1741925700.0 `1741925994.010138 1741925700.0 `1741926004.010149 1741925700.0 `1741926014.010142 1741925700.0 `1741926024.010136 1741925700.0 `1741926034.010134 1741925700.0 `1741926044.009126 1741925700.0 `1741926084.010143 1741925700.0 `1741926094.010134 1741925700.0 `1741926104.010135 1741925700.0 `1741926113.009124 1741925700.0 `1741926124.010147 1741925700.0 `1741926134.010135 1741925700.0 `1741926144.010136 1741925700.0 `1741926154.010136 1741925700.0 `1741926164.010136 1741925700.0 `1741926174.010136 1741925700.0 `1741926183.009125 1741925700.0 `1741926194.010137 1741925700.0 `1741926204.010136 1741925700.0 `1741926214.010137 1741925700.0 `1741926254.010137 1741925700.0 `1741926264.009124 1741925700.0 `1741926274.010137 1741925700.0 `1741926284.010147 1741925700.0 `1741926294.010141 1741925700.0 `1741926304.010162 1741925700.0 `1741926314.010137 1741925700.0 `1741926324.010136 1741925700.0 `1741926334.009124 1741925700.0 `1741926344.010137 1741925700.0 `1741926354.010141 1741925700.0 `1741926364.010148 1741925700.0 `1741926394.010133 1741925700.0 `1741926403.009123 1741925700.0 `1741926414.010135 1741925700.0 `1741926424.010149 1741925700.0 `1741926434.010135 1741925700.0 `1741926444.01014 1741925700.0 `1741926454.010143 1741925700.0 `1741926464.010138 1741925700.0 `1741926473.009125 1741925700.0 `1741926484.01014 1741925700.0 `1741926494.010136 1741925700.0 `1741926514.010136 1741925700.0 `1741926524.010136 1741925700.0 `1741926534.010137 1741925700.0 `1741926544.010152 1741925700.0 `1741926554.009125 1741925700.0 `1741926564.010134 1741925700.0 `1741926574.010134 1741925700.0 `1741926584.010134 1741925700.0 `1741926594.010134 1741925700.0 `1741926623.009124 1741926600.0 `1741926634.010134 1741926600.0 `1741926644.010135 1741926600.0 `1741926654.010135 1741926600.0 `1741926664.010148 1741926600.0 `1741926674.010135 1741926600.0 `1741926684.010135 1741926600.0 `1741926693.00913 1741926600.0 `1741926704.010145 1741926600.0 `1741926714.010136 1741926600.0 `1741926714.010136 1741926600.0 `1741926724.010151 1741926600.0 `1741926724.010151 1741926600.0 `1741926734.010138 1741926600.0 `1741926734.010138 1741926600.0 `1741926744.010133 1741926600.0 `1741926744.010133 1741926600.0 `1741926774.009126 1741926600.0 `1741926784.010149 1741926600.0 `1741926794.010136 1741926600.0 `1741926804.010136 1741926600.0 `1741926814.010136 1741926600.0 `1741926824.010136 1741926600.0 `1741926824.010136 1741926600.0 `1741926844.009129 1741926600.0 `1741926844.009129 1741926600.0 `1741926854.010142 1741926600.0 `1741926854.010142 1741926600.0 `1741926864.010136 1741926600.0 `1741926864.010136 1741926600.0 `1741926874.010136 1741926600.0 `1741926874.010136 1741926600.0 `1741926884.010137 1741926600.0 `1741926884.010137 1741926600.0 `1741926894.010135 1741926600.0 `1741926924.010136 1741926600.0 `1741926934.010135 1741926600.0 `1741926944.01014 1741926600.0 `1741926954.010137 1741926600.0 `1741926964.010153 1741926600.0 `1741926974.010141 1741926600.0 `1741926983.009127 1741926600.0 `1741926994.010138 1741926600.0 `1741927004.010134 1741926600.0 `1741927014.01024 1741926600.0 `1741927024.010143 1741926600.0 `1741927054.009123 1741926600.0 `1741927064.010134 1741926600.0 `1741927074.010136 1741926600.0 `1741927084.01015 1741926600.0 `1741927094.010135 1741926600.0 `1741927104.010135 1741926600.0 `1741927114.010135 1741926600.0 `1741927123.009125 1741926600.0 `1741927134.010137 1741926600.0 `1741927144.010136 1741926600.0 `1741927154.010134 1741926600.0 `1741927174.010135 1741926600.0 `1741927184.010133 1741926600.0 `1741927194.010132 1741926600.0 `1741927204.009144 1741926600.0 `1741927214.01014 1741926600.0 `1741927224.010136 1741926600.0 `1741927234.010134 1741926600.0 `1741927244.010135 1741926600.0 `1741927254.010138 1741926600.0 `1741927264.010154 1741926600.0 `1741927274.009126 1741926600.0 `1741927284.010141 1741926600.0 `1741927314.010143 1741926600.0 `1741927324.010143 1741926600.0 `1741927334.010137 1741926600.0 `1741927343.009125 1741926600.0 `1741927354.010135 1741926600.0 `1741927364.010136 1741926600.0 `1741927374.010138 1741926600.0 `1741927384.010167 1741926600.0 `1741927394.010142 1741926600.0 `1741927404.010137 1741926600.0 `1741927413.009126 1741926600.0 `1741927424.010141 1741926600.0 `1741927454.010138 1741926600.0 `1741927464.010134 1741926600.0 `1741927474.010135 1741926600.0 `1741927483.00913 1741926600.0 `1741927494.010142 1741926600.0 `1741927504.010156 1741927500.0 `1741927514.01014 1741927500.0 `1741927524.010141 1741927500.0 `1741927534.01014 1741927500.0 `1741927544.010141 1741927500.0 list printed: [[0], [1, 2, 3], [4, 5], [6], [7, 8], [9, 10, 11], [12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88], [89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174], [175, 176, 177, 178, 179]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.010133504867553711 ***** 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 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': '14032025', 'map_nb_amount': {0: 13, 1: 42, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 809.9999969005585, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_14032025_05_16_24_010137m0.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.0005900000000000009 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '14032025', 'map_nb_amount': {0: 11, 1: 26, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 871.0010180473328, 'nb_balles_papier': 0.0004300000000000005, 'begin_time_port': 'image_14032025_05_30_23_009124m0.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.0004300000000000005 We have rejected 17 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 Still a lot to verify ! We need to add photos : {1344071202, 1344071205, 1344071246, 1344071255, 1344071257, 1344071258} Still a lot to verify ! Qualite : 0.0821869950137501 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`=21407147 AND mptpi.`type`=3726 To do Qualite : 0.08715165958424322 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`=21407623 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 2.87400484085083 # DISPLAY ALL COLLECTED DATA : {'14032025': {'nb_upload': 180, 'nb_taggue_class': 114, 'nb_taggue_densite': 114}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1344071258, 1344071257, 1344071255, 1344071252, 1344071246, 1344071240, 1344071233, 1344071231, 1344071230, 1344071205, 1344071202, 1344071156, 1344071155, 1344071150, 1344071146, 1344071140, 1344071116, 1344071113, 1344071112, 1344071107, 1344071104, 1344071100, 1344071073, 1344071072, 1344071069, 1344071033, 1344070982, 1344070980, 1344070978, 1344070974, 1344070969, 1344070965, 1344070893, 1344070891, 1344070888, 1344070879, 1344070872, 1344070855, 1344070853, 1344070850, 1344070848, 1344070843, 1344070840, 1344070838, 1344070817, 1344070812, 1344070799, 1344070789, 1344070776, 1344070773, 1344070740, 1344070738, 1344070736, 1344070734, 1344070731, 1344070728, 1344070726, 1344070723, 1344070716, 1344070712, 1344070710, 1344070709, 1344070700, 1344070689, 1344070687, 1344070685, 1344070684, 1344070682, 1344070681, 1344070680, 1344070679, 1344070622, 1344070609, 1344070604, 1344070601, 1344070594, 1344070592, 1344070589, 1344070587, 1344070585, 1344070581, 1344070539, 1344070516, 1344070513, 1344070510, 1344070507, 1344070503, 1344070499, 1344070439, 1344070436, 1344070433, 1344070430, 1344070406, 1344070402, 1344070401, 1344070399, 1344070388, 1344070380, 1344070339, 1344070337] Looping around the photos to save general results len do output : 1 /21403117Didn'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, '2667807') ('4876', '21403117', '1344071258', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071257', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071255', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071252', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071246', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071240', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071233', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071231', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071230', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071205', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071202', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071156', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071155', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071150', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071146', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071140', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071116', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071113', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071112', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071107', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071104', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071100', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071073', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071072', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071069', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344071033', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070982', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070980', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070978', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070974', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070969', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070965', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070893', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070891', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070888', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070879', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070872', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070855', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070853', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070850', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070848', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070843', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070840', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070838', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070817', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070812', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070799', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070789', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070776', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070773', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070740', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070738', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070736', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070734', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070731', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070728', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070726', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070723', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070716', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070712', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070710', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070709', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070700', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070689', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070687', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070685', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070684', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070682', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070681', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070680', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070679', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070622', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070609', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070604', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070601', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070594', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070592', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070589', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070587', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070585', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070581', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070539', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070516', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070513', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070510', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070507', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070503', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070499', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070439', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070436', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070433', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070430', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070406', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070402', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070401', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070399', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070388', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070380', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070339', None, None, None, None, None, '2667807') ('4876', None, None, None, None, None, None, None, '2667807') ('4876', '21403117', '1344070337', None, None, None, None, None, '2667807') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.4744551181793213 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.045091152191162 time spend to save output : 0.47534823417663574 total time spend for step 1 : 3.520439386367798 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.09user 0.49system 0:05.71elapsed 27%CPU (0avgtext+0avgdata 99820maxresident)k 0inputs+80outputs (2major+48792minor)pagefaults 0swaps