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 : 397710 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 : 3141>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 : ['2553117'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/397710/ 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.02830052375793457 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 18:04:30 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', 7)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2302, 2: 2} 05022025 20234215 Nombre de photos uploadées : 295 / 23040 (1%) 05022025 20234215 Nombre de photos taguées (types de déchets): 2304 / 295 (781%) 05022025 20234215 Nombre de photos taguées (volume) : 2304 / 295 (781%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0008683204650878906 ???????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.03862500190734863 elapsed_time : insert_dashboard_record_day_entry 0.022336721420288086 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 elapsed_time : list_photo_by_hashtags 0.014996767044067383 photos_removed : len 0 elapsed_time : load_duplicate_info 0.011731624603271484 ***** BEGIN SPLIT TIME ***** True 1738713600.0 `1738767734.010146 1738767600.0 `1738767965.010149 1738767600.0 `1738768264.010141 1738767600.0 `1738768274.01014 1738767600.0 `1738768284.010136 1738767600.0 `1738768294.010141 1738767600.0 `1738768304.010149 1738767600.0 `1738768315.010153 1738767600.0 `1738768324.009167 1738767600.0 `1738768334.010142 1738767600.0 `1738768354.010135 1738767600.0 `1738768364.010138 1738767600.0 `1738768404.010147 1738767600.0 `1738768414.01015 1738767600.0 `1738768424.010145 1738767600.0 `1738768434.010136 1738767600.0 `1738768444.010152 1738767600.0 `1738768455.010137 1738767600.0 `1738768544.010152 1738768500.0 `1738768554.010141 1738768500.0 `1738768564.010141 1738768500.0 `1738768574.010141 1738768500.0 `1738768584.010136 1738768500.0 `1738768595.010146 1738768500.0 `1738768614.010138 1738768500.0 `1738768624.010153 1738768500.0 `1738768634.010142 1738768500.0 `1738768654.010136 1738768500.0 `1738768684.009143 1738768500.0 `1738768694.010136 1738768500.0 `1738768704.010135 1738768500.0 `1738768714.010147 1738768500.0 `1738768724.010139 1738768500.0 `1738768774.010133 1738768500.0 `1738768784.010135 1738768500.0 `1738768794.010134 1738768500.0 `1738768804.010152 1738768500.0 `1738768815.010142 1738768500.0 `1738768824.00913 1738768500.0 `1738768834.010139 1738768500.0 `1738768844.010143 1738768500.0 `1738768854.010142 1738768500.0 `1738768864.010158 1738768500.0 `1738768874.010138 1738768500.0 `1738768885.010135 1738768500.0 `1738768914.010138 1738768500.0 `1738769235.010134 1738768500.0 `1738769284.010138 1738768500.0 `1738769294.01014 1738768500.0 `1738769305.010142 1738768500.0 `1738769324.00913 1738768500.0 `1738769334.010137 1738768500.0 `1738769344.010151 1738768500.0 `1738769354.01014 1738768500.0 `1738769364.010134 1738768500.0 `1738769385.01014 1738768500.0 `1738769394.009127 1738768500.0 `1738769404.010143 1738769400.0 `1738769444.010143 1738769400.0 `1738769455.010136 1738769400.0 `1738769464.009153 1738769400.0 `1738769474.01014 1738769400.0 `1738769484.010135 1738769400.0 `1738769614.010155 1738769400.0 `1738769624.010148 1738769400.0 `1738769634.010143 1738769400.0 `1738769684.010153 1738769400.0 `1738769735.010162 1738769400.0 `1738769784.01014 1738769400.0 `1738769844.01014 1738769400.0 `1738769914.01015 1738769400.0 `1738769924.010145 1738769400.0 `1738769935.01014 1738769400.0 `1738769944.009128 1738769400.0 `1738769954.010144 1738769400.0 `1738769994.010136 1738769400.0 `1738770005.010154 1738769400.0 `1738770014.009129 1738769400.0 `1738770034.010157 1738769400.0 `1738770054.010141 1738769400.0 `1738770065.010161 1738769400.0 `1738770104.01014 1738769400.0 `1738770114.010135 1738769400.0 `1738770145.010134 1738769400.0 `1738770164.010157 1738769400.0 `1738770174.010142 1738769400.0 `1738770184.010155 1738769400.0 `1738770204.010137 1738769400.0 `1738770215.01014 1738769400.0 `1738770224.009131 1738769400.0 `1738770234.010153 1738769400.0 `1738770244.010167 1738769400.0 `1738770264.010136 1738769400.0 `1738770274.010136 1738769400.0 `1738770285.010138 1738769400.0 `1738770294.009127 1738769400.0 `1738770304.010144 1738770300.0 `1738770314.010138 1738770300.0 `1738770334.010145 1738770300.0 `1738770344.010137 1738770300.0 `1738770355.010135 1738770300.0 `1738770364.009141 1738770300.0 `1738770374.01014 1738770300.0 `1738770384.010144 1738770300.0 `1738770394.010138 1738770300.0 `1738770404.010138 1738770300.0 `1738770425.010168 1738770300.0 `1738770444.010148 1738770300.0 `1738770464.010135 1738770300.0 `1738770474.010136 1738770300.0 `1738770484.010153 1738770300.0 `1738770495.010138 1738770300.0 `1738770524.01014 1738770300.0 `1738770534.010136 1738770300.0 `1738770544.01014 1738770300.0 `1738770554.010136 1738770300.0 `1738770565.010135 1738770300.0 `1738770584.009133 1738770300.0 `1738770594.010147 1738770300.0 `1738770604.010165 1738770300.0 `1738770614.010158 1738770300.0 `1738770635.010139 1738770300.0 `1738770645.010137 1738770300.0 `1738770664.010163 1738770300.0 `1738770674.010139 1738770300.0 `1738770705.010149 1738770300.0 `1738770715.010134 1738770300.0 `1738770724.009128 1738770300.0 `1738770734.010154 1738770300.0 `1738770744.010139 1738770300.0 `1738770754.010141 1738770300.0 `1738770775.010137 1738770300.0 `1738770784.009167 1738770300.0 `1738770794.010148 1738770300.0 `1738770804.010135 1738770300.0 `1738770814.010136 1738770300.0 `1738770834.010143 1738770300.0 `1738770845.010256 1738770300.0 `1738770854.00913 1738770300.0 `1738770864.010138 1738770300.0 `1738770884.010135 1738770300.0 `1738770904.010159 1738770300.0 `1738770924.009128 1738770300.0 `1738770934.010138 1738770300.0 `1738770944.010142 1738770300.0 `1738770954.010138 1738770300.0 `1738770964.010139 1738770300.0 `1738770974.010154 1738770300.0 `1738770985.010136 1738770300.0 `1738770994.009124 1738770300.0 `1738771004.010136 1738770300.0 `1738771024.010154 1738770300.0 `1738771034.010143 1738770300.0 `1738771044.010137 1738770300.0 `1738771055.010135 1738770300.0 `1738771064.009126 1738770300.0 `1738771074.010137 1738770300.0 `1738771084.010146 1738770300.0 `1738771094.010137 1738770300.0 `1738771104.010134 1738770300.0 `1738771214.010183 1738771200.0 `1738771224.010139 1738771200.0 `1738771234.010154 1738771200.0 `1738771244.010145 1738771200.0 `1738771254.010139 1738771200.0 `1738771264.010164 1738771200.0 `1738771274.009125 1738771200.0 `1738771284.010141 1738771200.0 `1738771294.010136 1738771200.0 `1738771304.010138 1738771200.0 `1738771343.009123 1738771200.0 `1738771354.010133 1738771200.0 `1738771374.01014 1738771200.0 `1738771384.010141 1738771200.0 `1738771394.010139 1738771200.0 `1738771404.010135 1738771200.0 `1738771414.010148 1738771200.0 `1738771424.009131 1738771200.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 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, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284], [285, 286, 287], [288, 289, 290, 291, 292, 293, 294]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.016370773315429688 ***** END SPLIT TIME ***** NUMBER BATCH : 8 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 result_one_balle_Type_JRM:{'day': '05022025', 'map_nb_amount': {0: 2, 1: 8, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 720.9999911785126, 'nb_balles_papier': 0.00013000000000000002, 'begin_time_port': 'image_05022025_16_02_14_010146m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00013000000000000002 We reject this portfolio because of the condition_save_data : 2025-02-05 16:02:14.010146 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: 5, 1: 26, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 849.9989748001099, 'nb_balles_papier': 0.0003200000000000002, 'begin_time_port': 'image_05022025_16_15_44_010152m0.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.0003200000000000002 We reject this portfolio because of the condition_save_data : 2025-02-05 16:15:44.010152 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: 0, 1: 20, 2: 6, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9989838600159, 'nb_balles_papier': 0.00027000000000000006, 'begin_time_port': 'image_05022025_16_30_04_010143m0.jpg 1e-05 for time 1, id_amount 4 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00027000000000000006 We reject this portfolio because of the condition_save_data : 2025-02-05 16:30:04.010143 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': '05022025', 'map_nb_amount': {0: 3, 1: 30, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 799.9999899864197, 'nb_balles_papier': 0.0004000000000000004, 'begin_time_port': 'image_05022025_16_45_04_010144m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004000000000000004 We reject this portfolio because of the condition_save_data : 2025-02-05 16:45:04.010144 ERROR missing amount info result_one_balle_Type_JRM:{'day': '05022025', 'map_nb_amount': {0: 5, 1: 53, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999589920044, 'nb_balles_papier': 0.000640000000000001, 'begin_time_port': 'image_05022025_17_00_14_010183m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.000640000000000001 We reject this portfolio because of the condition_save_data : 2025-02-05 17:00:14.010183 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 have rejected 10 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 1 Still a lot to verify ! Qualite : 0.02141101337321177 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`=20266480 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.2630305290222168 # DISPLAY ALL COLLECTED DATA : {'05022025': {'nb_upload': 295, 'nb_taggue_class': 2304, 'nb_taggue_densite': 2304}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1334993592, 1334993587, 1334993583, 1334993577, 1334993571, 1334993538, 1334993535, 1334993532, 1334990310, 1334987649, 1334987204, 1334986799, 1334986782, 1334986153, 1334986059, 1334986041, 1334985990, 1334985987, 1334985983, 1334985980, 1334985973, 1334985971, 1334985884, 1334985842, 1334985839, 1334985836, 1334985834, 1334985806, 1334985803, 1334985794, 1334985792, 1334985771, 1334985768, 1334985758, 1334985754, 1334985750, 1334985747, 1334985606, 1334985602, 1334985599, 1334985530, 1334985479, 1334985420, 1334985224, 1334985220, 1334985217, 1334985201, 1334985197, 1334985193, 1334985190, 1334985081, 1334985079, 1334984778, 1334984694, 1334984417, 1334983923, 1334983855, 1334983820, 1334983817, 1334983815, 1334983788, 1334983785, 1334983782, 1334983779, 1334983776, 1334983754, 1334983749, 1334983744, 1334983741, 1334983736, 1334983734, 1334983710, 1334983705, 1334983701, 1334983697, 1334983658, 1334983653, 1334983648, 1334983626, 1334983623, 1334983620, 1334983616, 1334983613, 1334983360, 1334983272, 1334983185, 1334983155, 1334983152, 1334983149, 1334983104, 1334983096, 1334983093, 1334983066, 1334983063, 1334983060, 1334983058, 1334983030, 1334983023, 1334983020, 1334983017] 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, '2553117') ('4876', '20234215', '1334993592', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334993587', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334993583', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334993577', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334993571', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334993538', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334993535', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334993532', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334990310', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334987649', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334987204', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334986799', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334986782', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334986153', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334986059', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334986041', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985990', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985987', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985983', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985980', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985973', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985971', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985884', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985842', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985839', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985836', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985834', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985806', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985803', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985794', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985792', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985771', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985768', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985758', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985754', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985750', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985747', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985606', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985602', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985599', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985530', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985479', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985420', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985224', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985220', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985217', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985201', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985197', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985193', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985190', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985081', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334985079', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334984778', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334984694', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334984417', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983923', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983855', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983820', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983817', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983815', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983788', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983785', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983782', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983779', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983776', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983754', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983749', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983744', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983741', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983736', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983734', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983710', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983705', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983701', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983697', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983658', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983653', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983648', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983626', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983623', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983620', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983616', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983613', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983360', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983272', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983185', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983155', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983152', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983149', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983104', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983096', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983093', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983066', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983063', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983060', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983058', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983030', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983023', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983020', None, None, None, None, None, '2553117') ('4876', None, None, None, None, None, None, None, '2553117') ('4876', '20234215', '1334983017', None, None, None, None, None, '2553117') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02598857879638672 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6168575286865234 time spend to save output : 0.026753664016723633 total time spend for step 1 : 0.6436111927032471 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.15user 0.50system 0:04.08elapsed 40%CPU (0avgtext+0avgdata 103696maxresident)k 0inputs+88outputs (3major+49430minor)pagefaults 0swaps