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 : 558364 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 : 3271>1000 please execute split_portfolio.py -i 20234215 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2553478'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/558364/ 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.033776044845581055 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Wed Feb 5 19:04:27 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'}] (('01', 141), ('00', 67), ('02', 226), ('03', 228), ('04', 115), ('05', 229), ('06', 188), ('07', 151), ('08', 253), ('09', 100), ('10', 299), ('11', 253), ('12', 46), ('13', 71), ('14', 256), ('15', 213), ('16', 170), ('17', 128), ('18', 137)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2419, 2: 2} 05022025 20234215 Nombre de photos uploadées : 247 / 23040 (1%) 05022025 20234215 Nombre de photos taguées (types de déchets): 2421 / 247 (980%) 05022025 20234215 Nombre de photos taguées (volume) : 2421 / 247 (980%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0008368492126464844 ????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.048752546310424805 elapsed_time : insert_dashboard_record_day_entry 0.022409439086914062 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 elapsed_time : list_photo_by_hashtags 0.014813899993896484 photos_removed : len 0 elapsed_time : load_duplicate_info 0.01178741455078125 ***** BEGIN SPLIT TIME ***** True 1738713600.0 `1738771434.010138 1738771200.0 `1738771444.010143 1738771200.0 `1738771454.010142 1738771200.0 `1738771464.010137 1738771200.0 `1738771474.010137 1738771200.0 `1738771484.010137 1738771200.0 `1738771554.010144 1738771200.0 `1738771564.009147 1738771200.0 `1738771574.010142 1738771200.0 `1738771584.010135 1738771200.0 `1738771594.010149 1738771200.0 `1738771604.010142 1738771200.0 `1738771614.010138 1738771200.0 `1738771624.010154 1738771200.0 `1738771634.009129 1738771200.0 `1738771644.010144 1738771200.0 `1738771664.01014 1738771200.0 `1738771674.010137 1738771200.0 `1738771684.010142 1738771200.0 `1738771704.009126 1738771200.0 `1738771714.010136 1738771200.0 `1738771724.010136 1738771200.0 `1738771744.01014 1738771200.0 `1738771754.01014 1738771200.0 `1738771764.010137 1738771200.0 `1738771774.009139 1738771200.0 `1738771814.010139 1738771200.0 `1738771834.010142 1738771200.0 `1738771843.009129 1738771200.0 `1738771864.010157 1738771200.0 `1738771874.010136 1738771200.0 `1738771884.010134 1738771200.0 `1738771894.010143 1738771200.0 `1738771904.01014 1738771200.0 `1738771914.010138 1738771200.0 `1738771924.009141 1738771200.0 `1738771934.010143 1738771200.0 `1738771944.010137 1738771200.0 `1738771964.010138 1738771200.0 `1738771974.010141 1738771200.0 `1738771994.009125 1738771200.0 `1738772004.010144 1738771200.0 `1738772014.010135 1738771200.0 `1738772044.010141 1738771200.0 `1738772054.010132 1738771200.0 `1738772064.009122 1738771200.0 `1738772084.010142 1738771200.0 `1738772104.010155 1738772100.0 `1738772114.010136 1738772100.0 `1738772124.010134 1738772100.0 `1738772134.009132 1738772100.0 `1738772144.010143 1738772100.0 `1738772154.010138 1738772100.0 `1738772164.010149 1738772100.0 `1738772174.010143 1738772100.0 `1738772184.010135 1738772100.0 `1738772194.010136 1738772100.0 `1738772214.01014 1738772100.0 `1738772224.010151 1738772100.0 `1738772244.010137 1738772100.0 `1738772254.010136 1738772100.0 `1738772264.010141 1738772100.0 `1738772273.009124 1738772100.0 `1738772314.010133 1738772100.0 `1738772324.010142 1738772100.0 `1738772334.010139 1738772100.0 `1738772344.010161 1738772100.0 `1738772354.009125 1738772100.0 `1738772364.010146 1738772100.0 `1738772374.010151 1738772100.0 `1738772384.010146 1738772100.0 `1738772394.010143 1738772100.0 `1738772404.010162 1738772100.0 `1738772414.010138 1738772100.0 `1738772424.009125 1738772100.0 `1738772464.010152 1738772100.0 `1738772474.010135 1738772100.0 `1738772484.010137 1738772100.0 `1738772494.009132 1738772100.0 `1738772504.010142 1738772100.0 `1738772514.010137 1738772100.0 `1738772524.010157 1738772100.0 `1738772534.010141 1738772100.0 `1738772544.010137 1738772100.0 `1738772554.010139 1738772100.0 `1738772564.009133 1738772100.0 `1738772574.010141 1738772100.0 `1738772584.010151 1738772100.0 `1738772594.01014 1738772100.0 `1738772624.010134 1738772100.0 `1738772634.009126 1738772100.0 `1738772654.010136 1738772100.0 `1738772674.010149 1738772100.0 `1738772684.010144 1738772100.0 `1738772694.01014 1738772100.0 `1738772714.010149 1738772100.0 `1738772824.010172 1738772100.0 `1738772834.010138 1738772100.0 `1738772844.009126 1738772100.0 `1738772854.010139 1738772100.0 `1738772864.010142 1738772100.0 `1738772874.010138 1738772100.0 `1738772884.010147 1738772100.0 `1738772904.010138 1738772100.0 `1738772914.009132 1738772100.0 `1738772954.010137 1738772100.0 `1738772984.009133 1738772100.0 `1738773014.010139 1738773000.0 `1738773104.010141 1738773000.0 `1738773654.010135 1738773000.0 `1738774954.010154 1738774800.0 `1738774964.010144 1738774800.0 `1738774974.010139 1738774800.0 `1738774984.010158 1738774800.0 `1738774995.010137 1738774800.0 `1738775005.010135 1738774800.0 `1738775024.010284 1738774800.0 `1738775034.010144 1738774800.0 `1738775055.010137 1738774800.0 `1738775065.010136 1738774800.0 `1738775074.009208 1738774800.0 `1738775134.009135 1738774800.0 `1738775144.010141 1738774800.0 `1738775174.010135 1738774800.0 `1738775185.010136 1738774800.0 `1738775195.010157 1738774800.0 `1738775224.010161 1738774800.0 `1738775234.010136 1738774800.0 `1738775244.010136 1738774800.0 `1738775255.010147 1738774800.0 `1738775265.010142 1738774800.0 `1738775274.009128 1738774800.0 `1738775284.010148 1738774800.0 `1738775294.010139 1738774800.0 `1738775304.010178 1738774800.0 `1738775314.010135 1738774800.0 `1738775325.010136 1738774800.0 `1738775355.010137 1738774800.0 `1738775364.009125 1738774800.0 `1738775374.010133 1738774800.0 `1738775384.010136 1738774800.0 `1738775394.010144 1738774800.0 `1738775404.010145 1738774800.0 `1738775425.010137 1738774800.0 `1738775434.009128 1738774800.0 `1738775444.01014 1738774800.0 `1738775454.010138 1738774800.0 `1738775464.010158 1738774800.0 `1738775474.010137 1738774800.0 `1738775504.00913 1738774800.0 `1738775514.010137 1738774800.0 `1738775534.010153 1738774800.0 `1738775544.010141 1738774800.0 `1738775565.010141 1738774800.0 `1738775584.01016 1738774800.0 `1738775604.010135 1738774800.0 `1738775614.010155 1738774800.0 `1738775625.010145 1738774800.0 `1738775635.010137 1738774800.0 `1738775674.010133 1738774800.0 `1738775684.010137 1738774800.0 `1738775695.010138 1738774800.0 `1738775705.010179 1738775700.0 `1738775714.009128 1738775700.0 `1738775724.010135 1738775700.0 `1738775734.010141 1738775700.0 `1738775744.010146 1738775700.0 `1738775754.010135 1738775700.0 `1738775765.01014 1738775700.0 `1738775775.010139 1738775700.0 `1738775794.010137 1738775700.0 `1738775804.010137 1738775700.0 `1738775814.010139 1738775700.0 `1738775824.010159 1738775700.0 `1738775835.010136 1738775700.0 `1738775874.010138 1738775700.0 `1738775884.010147 1738775700.0 `1738775894.010137 1738775700.0 `1738775904.010138 1738775700.0 `1738775915.010146 1738775700.0 `1738775934.009133 1738775700.0 `1738775944.010153 1738775700.0 `1738775954.010136 1738775700.0 `1738775964.010135 1738775700.0 `1738775974.010139 1738775700.0 `1738775985.010284 1738775700.0 `1738775994.00914 1738775700.0 `1738776004.010175 1738775700.0 `1738776164.010137 1738775700.0 `1738776175.010134 1738775700.0 `1738776185.010155 1738775700.0 `1738776204.010144 1738775700.0 `1738776214.010151 1738775700.0 `1738776224.010146 1738775700.0 `1738776234.010136 1738775700.0 `1738776255.010138 1738775700.0 `1738776264.009125 1738775700.0 `1738776274.010143 1738775700.0 `1738776284.010151 1738775700.0 `1738776294.010158 1738775700.0 `1738776304.010171 1738775700.0 `1738776315.010151 1738775700.0 `1738776325.010136 1738775700.0 `1738776334.009134 1738775700.0 `1738776364.01015 1738775700.0 `1738776374.010134 1738775700.0 `1738776385.010135 1738775700.0 `1738776395.010143 1738775700.0 `1738776404.009135 1738775700.0 `1738776414.010149 1738775700.0 `1738776424.010155 1738775700.0 `1738776434.010149 1738775700.0 `1738776444.010143 1738775700.0 `1738776455.010146 1738775700.0 `1738776465.010147 1738775700.0 `1738776474.009125 1738775700.0 `1738776494.010134 1738775700.0 `1738776504.010134 1738775700.0 `1738776514.010133 1738775700.0 `1738776525.010136 1738775700.0 `1738776535.010137 1738775700.0 `1738776544.009146 1738775700.0 `1738776554.010148 1738775700.0 `1738776564.010143 1738775700.0 `1738776574.01015 1738775700.0 `1738776584.010146 1738775700.0 `1738776595.010145 1738775700.0 `1738776605.010149 1738776600.0 `1738776644.010144 1738776600.0 `1738776654.010142 1738776600.0 `1738776674.009138 1738776600.0 `1738776684.010153 1738776600.0 `1738776694.010145 1738776600.0 `1738776704.010143 1738776600.0 `1738776714.010139 1738776600.0 `1738776725.010159 1738776600.0 `1738776735.010136 1738776600.0 `1738776754.010148 1738776600.0 `1738776764.010143 1738776600.0 `1738776774.010141 1738776600.0 `1738776784.010153 1738776600.0 `1738776795.010137 1738776600.0 `1738776805.010136 1738776600.0 `1738776914.010133 1738776600.0 `1738776954.009141 1738776600.0 `1738777464.010136 1738776600.0 `1738778014.010143 1738777500.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, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226], [227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245], [246]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.014704465866088867 ***** 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 result_one_balle_Type_JRM:{'day': '05022025', 'map_nb_amount': {0: 3, 1: 41, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 650.0000040531158, 'nb_balles_papier': 0.00046000000000000056, 'begin_time_port': 'image_05022025_17_03_54_010138m0.jpg 0.0001 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00046000000000000056 We reject this portfolio because of the condition_save_data : 2025-02-05 17:03:54.010138 ERROR missing amount info result_one_balle_Type_JRM:{'day': '05022025', 'map_nb_amount': {0: 7, 1: 42, 2: 9, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.99897813797, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_05022025_17_15_04_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.0005900000000000009 We reject this portfolio because of the condition_save_data : 2025-02-05 17:15:04.010155 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '05022025', 'map_nb_amount': {0: 6, 1: 34, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 740.9999840259552, 'nb_balles_papier': 0.0004900000000000006, 'begin_time_port': 'image_05022025_18_02_34_010154m0.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.0004900000000000006 We reject this portfolio because of the condition_save_data : 2025-02-05 18:02:34.010154 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': '05022025', 'map_nb_amount': {0: 4, 1: 36, 2: 12, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999659061432, 'nb_balles_papier': 0.0005200000000000007, 'begin_time_port': 'image_05022025_18_15_05_010179m0.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.0005200000000000007 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '05022025', 'map_nb_amount': {0: 0, 1: 16, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 858.9999868869781, 'nb_balles_papier': 0.00016, 'begin_time_port': 'image_05022025_18_30_05_10149.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00016 We have rejected 4 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 Still a lot to verify ! Still a lot to verify ! Qualite : 0.05755886160247742 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`=20268669 AND mptpi.`type`=3726 To do Qualite : 0.026913816771957977 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`=20269374 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.46871209144592285 # DISPLAY ALL COLLECTED DATA : {'05022025': {'nb_upload': 247, 'nb_taggue_class': 2421, 'nb_taggue_densite': 2421}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1335005999, 1335002224, 1335000903, 1334999368, 1334999365, 1334998930, 1334998926, 1334998914, 1334998520, 1334998438, 1334998398, 1334998388, 1334998372, 1334998025, 1334998021, 1334998018, 1334998014, 1334998011, 1334997982, 1334997978, 1334997976, 1334997943, 1334997941, 1334997938, 1334997936, 1334997934, 1334997933, 1334997880, 1334997873, 1334997868, 1334997864, 1334997861, 1334997840, 1334997836, 1334997832, 1334997829, 1334997826, 1334997823, 1334997785, 1334997782, 1334997776, 1334997769, 1334997765, 1334997763, 1334997553, 1334997551, 1334997547, 1334997543, 1334997484, 1334997461, 1334997456, 1334997452, 1334997449, 1334997364, 1334997360, 1334997357, 1334997353, 1334997350, 1334996894, 1334996890, 1334995453, 1334995358, 1334995354, 1334995350, 1334995346, 1334995342, 1334995339, 1334995217, 1334995184, 1334995180, 1334995177, 1334995173, 1334995124, 1334995108, 1334995105, 1334994953, 1334994922, 1334994919, 1334994916, 1334994828, 1334994692, 1334994689, 1334994686, 1334994683, 1334994680, 1334994676, 1334994606, 1334994603, 1334994601, 1334994578, 1334994572, 1334994568, 1334994563, 1334994560, 1334994521, 1334994517, 1334994514, 1334994388, 1334994380, 1334994373] Looping around the photos to save general results len do output : 1 /20234215Didn'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, '2553478') ('4876', '20234215', '1335005999', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1335002224', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1335000903', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334999368', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334999365', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998930', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998926', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998914', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998520', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998438', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998398', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998388', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998372', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998025', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998021', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998018', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998014', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334998011', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997982', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997978', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997976', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997943', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997941', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997938', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997936', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997934', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997933', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997880', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997873', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997868', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997864', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997861', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997840', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997836', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997832', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997829', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997826', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997823', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997785', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997782', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997776', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997769', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997765', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997763', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997553', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997551', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997547', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997543', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997484', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997461', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997456', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997452', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997449', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997364', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997360', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997357', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997353', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334997350', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334996894', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334996890', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995453', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995358', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995354', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995350', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995346', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995342', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995339', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995217', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995184', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995180', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995177', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995173', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995124', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995108', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334995105', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994953', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994922', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994919', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994916', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994828', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994692', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994689', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994686', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994683', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994680', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994676', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994606', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994603', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994601', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994578', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994572', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994568', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994563', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994560', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994521', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994517', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994514', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994388', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994380', None, None, None, None, None, '2553478') ('4876', None, None, None, None, None, None, None, '2553478') ('4876', '20234215', '1334994373', None, None, None, None, None, '2553478') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02779841423034668 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8528182506561279 time spend to save output : 0.028717517852783203 total time spend for step 1 : 0.8815357685089111 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.24user 0.43system 0:03.08elapsed 54%CPU (0avgtext+0avgdata 103752maxresident)k 0inputs+88outputs (6major+49445minor)pagefaults 0swaps