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 : 3697955 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 : 4036>1000 please execute split_portfolio.py -i 21089077 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2645822'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/3697955/ 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.03444623947143555 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Mar 6 21:42:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 227), ('01', 111), ('02', 200), ('03', 258), ('04', 193), ('05', 232), ('06', 227), ('07', 285), ('08', 232), ('09', 123), ('10', 266), ('11', 2), ('12', 2), ('13', 110), ('14', 235), ('16', 236), ('17', 158), ('15', 228), ('18', 259), ('19', 278), ('20', 155), ('21', 19)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2996, 2: 1} 06032025 21089077 Nombre de photos uploadées : 265 / 23040 (1%) 06032025 21089077 Nombre de photos taguées (types de déchets): 2997 / 265 (1130%) 06032025 21089077 Nombre de photos taguées (volume) : 2997 / 265 (1130%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0009696483612060547 ????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.011338949203491211 elapsed_time : insert_dashboard_record_day_entry 0.022820711135864258 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 elapsed_time : list_photo_by_hashtags 0.016135454177856445 photos_removed : len 0 elapsed_time : load_duplicate_info 0.012425899505615234 ***** BEGIN SPLIT TIME ***** True 1741219200.0 `1741286454.010138 1741285800.0 `1741286463.009138 1741285800.0 `1741286474.010138 1741285800.0 `1741286484.010135 1741285800.0 `1741286504.010137 1741285800.0 `1741286514.010136 1741285800.0 `1741286524.010176 1741285800.0 `1741286533.009128 1741285800.0 `1741286554.010134 1741285800.0 `1741286564.010138 1741285800.0 `1741286574.010138 1741285800.0 `1741286584.010157 1741285800.0 `1741286624.010135 1741285800.0 `1741286634.010141 1741285800.0 `1741286644.010152 1741285800.0 `1741286654.010136 1741285800.0 `1741286664.010137 1741285800.0 `1741286673.009125 1741285800.0 `1741286684.010138 1741285800.0 `1741286694.010138 1741285800.0 `1741286704.010162 1741286700.0 `1741286714.01014 1741286700.0 `1741286724.010143 1741286700.0 `1741286734.01014 1741286700.0 `1741286743.009134 1741286700.0 `1741286754.010147 1741286700.0 `1741286764.010171 1741286700.0 `1741286774.010147 1741286700.0 `1741286804.010137 1741286700.0 `1741286813.009127 1741286700.0 `1741286824.010186 1741286700.0 `1741286834.010144 1741286700.0 `1741286844.010141 1741286700.0 `1741286854.01014 1741286700.0 `1741286864.010142 1741286700.0 `1741286874.010136 1741286700.0 `1741286883.009135 1741286700.0 `1741286894.010134 1741286700.0 `1741286904.010136 1741286700.0 `1741286914.010135 1741286700.0 `1741286953.009125 1741286700.0 `1741286964.010137 1741286700.0 `1741286974.010142 1741286700.0 `1741286984.010142 1741286700.0 `1741286994.010136 1741286700.0 `1741287004.010146 1741286700.0 `1741287014.010138 1741286700.0 `1741287023.009127 1741286700.0 `1741287033.010138 1741286700.0 `1741287044.010138 1741286700.0 `1741287054.010149 1741286700.0 `1741287064.010157 1741286700.0 `1741287093.009123 1741286700.0 `1741287103.010134 1741286700.0 `1741287114.010138 1741286700.0 `1741287124.01016 1741286700.0 `1741287144.010139 1741286700.0 `1741287154.010137 1741286700.0 `1741287164.01014 1741286700.0 `1741287173.009124 1741286700.0 `1741287184.010139 1741286700.0 `1741287204.010135 1741286700.0 `1741287214.010135 1741286700.0 `1741287224.010139 1741286700.0 `1741287234.010138 1741286700.0 `1741287274.010136 1741286700.0 `1741287284.010138 1741286700.0 `1741287294.010139 1741286700.0 `1741287304.010153 1741286700.0 `1741287313.00913 1741286700.0 `1741287324.01014 1741286700.0 `1741287344.010146 1741286700.0 `1741287354.010156 1741286700.0 `1741287364.010166 1741286700.0 `1741287374.010147 1741286700.0 `1741287383.009128 1741286700.0 `1741287424.010154 1741286700.0 `1741287434.01014 1741286700.0 `1741287444.010138 1741286700.0 `1741287453.009128 1741286700.0 `1741287464.010138 1741286700.0 `1741287474.01014 1741286700.0 `1741287484.010144 1741286700.0 `1741287494.010136 1741286700.0 `1741287504.010135 1741286700.0 `1741287514.010135 1741286700.0 `1741287523.009127 1741286700.0 `1741287533.010138 1741286700.0 `1741287554.010362 1741286700.0 `1741287584.010133 1741286700.0 `1741287594.010138 1741286700.0 `1741287603.009155 1741287600.0 `1741287613.01014 1741287600.0 `1741287624.010137 1741287600.0 `1741287634.010137 1741287600.0 `1741287644.010137 1741287600.0 `1741287654.010136 1741287600.0 `1741287664.010139 1741287600.0 `1741287683.010136 1741287600.0 `1741287694.010136 1741287600.0 `1741287704.010135 1741287600.0 `1741287714.010137 1741287600.0 `1741287724.010168 1741287600.0 `1741287753.010135 1741287600.0 `1741287764.010135 1741287600.0 `1741287774.010133 1741287600.0 `1741287784.01016 1741287600.0 `1741287794.010136 1741287600.0 `1741287804.010134 1741287600.0 `1741287814.010145 1741287600.0 `1741287823.009125 1741287600.0 `1741287834.010137 1741287600.0 `1741287844.010149 1741287600.0 `1741287854.010138 1741287600.0 `1741287864.010134 1741287600.0 `1741287874.010138 1741287600.0 `1741287893.009127 1741287600.0 `1741287904.010148 1741287600.0 `1741287944.010134 1741287600.0 `1741287954.010138 1741287600.0 `1741287963.009134 1741287600.0 `1741287973.010139 1741287600.0 `1741287984.010135 1741287600.0 `1741288004.010138 1741287600.0 `1741288014.010139 1741287600.0 `1741288033.009126 1741287600.0 `1741288043.010141 1741287600.0 `1741288054.010135 1741287600.0 `1741288064.010135 1741287600.0 `1741288074.010136 1741287600.0 `1741288104.010133 1741287600.0 `1741288113.009122 1741287600.0 `1741288124.010135 1741287600.0 `1741288134.010136 1741287600.0 `1741288154.01014 1741287600.0 `1741288174.010149 1741287600.0 `1741288183.009131 1741287600.0 `1741288193.010138 1741287600.0 `1741288204.010139 1741287600.0 `1741288214.010137 1741287600.0 `1741288224.010136 1741287600.0 `1741288234.010136 1741287600.0 `1741288253.009127 1741287600.0 `1741288263.010153 1741287600.0 `1741288304.010136 1741287600.0 `1741288314.010137 1741287600.0 `1741288323.009156 1741287600.0 `1741288333.010141 1741287600.0 `1741288344.010139 1741287600.0 `1741288354.010142 1741287600.0 `1741288364.010143 1741287600.0 `1741288374.010137 1741287600.0 `1741288384.010155 1741287600.0 `1741288403.010143 1741287600.0 `1741288414.010136 1741287600.0 `1741288424.010137 1741287600.0 `1741288434.010142 1741287600.0 `1741288473.009122 1741287600.0 `1741288484.010133 1741287600.0 `1741288524.010139 1741288500.0 `1741288534.010141 1741288500.0 `1741288574.010137 1741288500.0 `1741288584.010135 1741288500.0 `1741288594.010142 1741288500.0 `1741288623.010138 1741288500.0 `1741288644.010135 1741288500.0 `1741289123.010139 1741288500.0 `1741289134.010142 1741288500.0 `1741289144.01015 1741288500.0 `1741289164.010153 1741288500.0 `1741289174.010136 1741288500.0 `1741289193.010137 1741288500.0 `1741289204.010137 1741288500.0 `1741289214.010137 1741288500.0 `1741289244.010135 1741288500.0 `1741289253.009123 1741288500.0 `1741289263.01014 1741288500.0 `1741289274.010135 1741288500.0 `1741289284.01016 1741288500.0 `1741289294.010135 1741288500.0 `1741289304.010134 1741288500.0 `1741289314.010141 1741288500.0 `1741289323.009125 1741288500.0 `1741289333.010136 1741288500.0 `1741289344.010158 1741288500.0 `1741289354.010139 1741288500.0 `1741289364.010141 1741288500.0 `1741289374.010135 1741288500.0 `1741289384.010138 1741288500.0 `1741289424.010133 1741289400.0 `1741289434.010135 1741289400.0 `1741289444.010137 1741289400.0 `1741289454.010135 1741289400.0 `1741289464.010151 1741289400.0 `1741289473.009125 1741289400.0 `1741289483.010134 1741289400.0 `1741289494.010138 1741289400.0 `1741289504.010134 1741289400.0 `1741289514.010135 1741289400.0 `1741289524.01014 1741289400.0 `1741289534.010136 1741289400.0 `1741289543.009125 1741289400.0 `1741289574.010137 1741289400.0 `1741289584.010153 1741289400.0 `1741289594.010137 1741289400.0 `1741289604.010133 1741289400.0 `1741289614.010143 1741289400.0 `1741289623.009126 1741289400.0 `1741289634.01014 1741289400.0 `1741289644.010147 1741289400.0 `1741289654.010136 1741289400.0 `1741289664.010134 1741289400.0 `1741289674.010134 1741289400.0 `1741289684.010136 1741289400.0 `1741289693.009126 1741289400.0 `1741289724.010049 1741289400.0 `1741289734.010137 1741289400.0 `1741289744.010143 1741289400.0 `1741289754.010145 1741289400.0 `1741289763.009168 1741289400.0 `1741289773.010156 1741289400.0 `1741289784.010145 1741289400.0 `1741289794.010147 1741289400.0 `1741289804.010146 1741289400.0 `1741289824.01014 1741289400.0 `1741289833.00913 1741289400.0 `1741289843.01014 1741289400.0 `1741289854.010152 1741289400.0 `1741289864.010138 1741289400.0 `1741289874.010138 1741289400.0 `1741289884.010148 1741289400.0 `1741289913.010133 1741289400.0 `1741289924.010135 1741289400.0 `1741289934.010141 1741289400.0 `1741289944.010161 1741289400.0 `1741289954.010136 1741289400.0 `1741289964.010136 1741289400.0 `1741289974.010142 1741289400.0 `1741289983.009128 1741289400.0 `1741289994.010143 1741289400.0 `1741290004.010143 1741289400.0 `1741290014.010139 1741289400.0 `1741290024.010137 1741289400.0 `1741290494.010137 1741290300.0 `1741290564.010136 1741290300.0 `1741291114.010147 1741290300.0 `1741291544.010137 1741291200.0 `1741291594.010142 1741291200.0 `1741291604.010144 1741291200.0 `1741291684.010157 1741291200.0 `1741291854.010136 1741291200.0 `1741291864.010165 1741291200.0 `1741291874.010137 1741291200.0 `1741292084.010143 1741291200.0 `1741292094.010139 1741291200.0 `1741292234.010139 1741292100.0 `1741292294.010136 1741292100.0 `1741292304.010138 1741292100.0 `1741292333.009124 1741292100.0 `1741292343.010159 1741292100.0 `1741292784.010137 1741292100.0 `1741293094.010141 1741293000.0 `1741293104.010137 1741293000.0 `1741293333.009133 1741293000.0 `1741293404.010136 1741293000.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, 247, 248, 249, 250, 251, 252, 253, 254], [255, 256, 257, 258, 259, 260], [261, 262, 263, 264]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.014240503311157227 ***** 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 result_one_balle_Type_JRM:{'day': '06032025', 'map_nb_amount': {0: 1, 1: 8, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 240.0, 'nb_balles_papier': 9e-05, 'begin_time_port': 'image_06032025_19_40_54_010138m0.jpg 5e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 9e-05 We reject this portfolio because of the condition_save_data : 2025-03-06 19:40:54.010138 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': '06032025', 'map_nb_amount': {0: 5, 1: 51, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999759197235, 'nb_balles_papier': 0.000610000000000001, 'begin_time_port': 'image_06032025_19_45_04_010162m0.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.000610000000000001 We reject this portfolio because of the condition_save_data : 2025-03-06 19:45:04.010162 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': '06032025', 'map_nb_amount': {0: 6, 1: 47, 2: 8, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 881.0009779930115, 'nb_balles_papier': 0.000610000000000001, 'begin_time_port': 'image_06032025_20_00_03_009155m0.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.000610000000000001 We reject this portfolio because of the condition_save_data : 2025-03-06 20:00:03.009155 result_one_balle_Type_JRM:{'day': '06032025', 'map_nb_amount': {0: 7, 1: 22, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 859.9999990463257, 'nb_balles_papier': 0.00030000000000000014, 'begin_time_port': 'image_06032025_20_15_24_010139m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00030000000000000014 We reject this portfolio because of the condition_save_data : 2025-03-06 20:15:24.010139 result_one_balle_Type_JRM:{'day': '06032025', 'map_nb_amount': {0: 10, 1: 44, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 600.0000040531158, 'nb_balles_papier': 0.0005400000000000008, 'begin_time_port': 'image_06032025_20_30_24_010133m0.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.0005400000000000008 We reject this portfolio because of the condition_save_data : 2025-03-06 20:30:24.010133 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '06032025', 'map_nb_amount': {0: 1, 1: 5, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 550.0000019073486, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_06032025_21_05_44_10137.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 We have rejected 13 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 1 Still a lot to verify ! Qualite : 0.15239529250984896 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`=21128421 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.27411818504333496 # DISPLAY ALL COLLECTED DATA : {'06032025': {'nb_upload': 265, 'nb_taggue_class': 2997, 'nb_taggue_densite': 2997}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1341309787, 1341309749, 1341309625, 1341308824, 1341308820, 1341308432, 1341307813, 1341307213, 1341307207, 1341307203, 1341307130, 1341306812, 1341306807, 1341306673, 1341306670, 1341306626, 1341306471, 1341305991, 1341305988, 1341305765, 1341304506, 1341302874, 1341302571, 1341301895, 1341301881, 1341301876, 1341301834, 1341301821, 1341301816, 1341301808, 1341301797, 1341301776, 1341301566, 1341301544, 1341301540, 1341301539, 1341301172, 1341301087, 1341300869, 1341300864, 1341300859, 1341300857, 1341300821, 1341300816, 1341300808, 1341300802, 1341300796, 1341300711, 1341300700, 1341300696, 1341300659, 1341299674, 1341299589, 1341299501, 1341299470, 1341299465, 1341299461, 1341299410, 1341299405, 1341299402, 1341299397, 1341299392, 1341299389, 1341299334, 1341299261, 1341299255, 1341299252, 1341299004, 1341299000, 1341298996, 1341298991, 1341298986, 1341298984, 1341298953, 1341298949, 1341298945, 1341298938, 1341298905, 1341298891, 1341298865, 1341298857, 1341298855, 1341298831, 1341298826, 1341298822, 1341298817, 1341298813, 1341298810, 1341298777, 1341298772, 1341298726, 1341298703, 1341298510, 1341298506, 1341298499, 1341298464, 1341298460, 1341298064, 1341298058, 1341298055] Looping around the photos to save general results len do output : 1 /21089077Didn'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, '2645822') ('4876', '21089077', '1341309787', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341309749', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341309625', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341308824', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341308820', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341308432', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341307813', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341307213', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341307207', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341307203', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341307130', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341306812', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341306807', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341306673', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341306670', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341306626', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341306471', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341305991', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341305988', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341305765', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341304506', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341302874', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341302571', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301895', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301881', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301876', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301834', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301821', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301816', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301808', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301797', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301776', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301566', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301544', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301540', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301539', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301172', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341301087', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300869', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300864', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300859', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300857', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300821', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300816', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300808', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300802', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300796', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300711', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300700', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300696', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341300659', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299674', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299589', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299501', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299470', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299465', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299461', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299410', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299405', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299402', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299397', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299392', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299389', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299334', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299261', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299255', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299252', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299004', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341299000', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298996', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298991', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298986', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298984', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298953', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298949', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298945', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298938', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298905', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298891', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298865', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298857', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298855', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298831', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298826', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298822', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298817', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298813', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298810', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298777', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298772', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298726', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298703', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298510', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298506', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298499', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298464', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298460', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298064', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298058', None, None, None, None, None, '2645822') ('4876', None, None, None, None, None, None, None, '2645822') ('4876', '21089077', '1341298055', None, None, None, None, None, '2645822') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.025282859802246094 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7241287231445312 time spend to save output : 0.02596116065979004 total time spend for step 1 : 0.7500898838043213 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.48user 0.45system 0:04.74elapsed 40%CPU (0avgtext+0avgdata 104052maxresident)k 0inputs+80outputs (12major+49626minor)pagefaults 0swaps