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 : 2654385 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 : 1085>1000 please execute split_portfolio.py -i 22042798 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2723145'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/2654385/ 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.024805068969726562 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Apr 4 05:24: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', 277), ('01', 132), ('02', 277), ('03', 269), ('04', 55), ('05', 75)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1045} 04042025 22042798 Nombre de photos uploadées : 310 / 23040 (1%) 04042025 22042798 Nombre de photos taguées (types de déchets): 1045 / 310 (337%) 04042025 22042798 Nombre de photos taguées (volume) : 1045 / 310 (337%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 0.00039577484130859375 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.016207218170166016 elapsed_time : insert_dashboard_record_day_entry 0.024316072463989258 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 elapsed_time : list_photo_by_hashtags 0.01568460464477539 photos_removed : len 0 elapsed_time : load_duplicate_info 0.012685775756835938 ***** BEGIN SPLIT TIME ***** True 1743724800.0 `1743729824.010136 1743729300.0 `1743729853.010145 1743729300.0 `1743729863.010134 1743729300.0 `1743729873.010136 1743729300.0 `1743729884.010136 1743729300.0 `1743729894.010139 1743729300.0 `1743729913.010137 1743729300.0 `1743729923.010134 1743729300.0 `1743729933.010148 1743729300.0 `1743729943.010135 1743729300.0 `1743729953.010138 1743729300.0 `1743729964.010164 1743729300.0 `1743729973.009128 1743729300.0 `1743729983.010134 1743729300.0 `1743729993.010135 1743729300.0 `1743730034.010138 1743729300.0 `1743730044.010141 1743729300.0 `1743730053.009124 1743729300.0 `1743730063.010146 1743729300.0 `1743730073.010139 1743729300.0 `1743730083.010146 1743729300.0 `1743730093.010139 1743729300.0 `1743730104.010136 1743729300.0 `1743730114.010135 1743729300.0 `1743730123.009125 1743729300.0 `1743730133.010135 1743729300.0 `1743730143.010141 1743729300.0 `1743730153.010139 1743729300.0 `1743730163.010142 1743729300.0 `1743730203.010138 1743730200.0 `1743730213.010136 1743730200.0 `1743730223.010136 1743730200.0 `1743730233.010143 1743730200.0 `1743730244.010143 1743730200.0 `1743730263.00914 1743730200.0 `1743730273.010139 1743730200.0 `1743730293.010135 1743730200.0 `1743730303.010135 1743730200.0 `1743730314.010135 1743730200.0 `1743730324.01016 1743730200.0 `1743730333.009128 1743730200.0 `1743730343.010134 1743730200.0 `1743730373.010135 1743730200.0 `1743730383.01015 1743730200.0 `1743730394.010138 1743730200.0 `1743730404.010136 1743730200.0 `1743730413.009124 1743730200.0 `1743730423.010138 1743730200.0 `1743730433.010138 1743730200.0 `1743730443.010136 1743730200.0 `1743730453.010138 1743730200.0 `1743730464.010135 1743730200.0 `1743730474.010135 1743730200.0 `1743730483.009123 1743730200.0 `1743730503.010142 1743730200.0 `1743730513.010136 1743730200.0 `1743730523.010133 1743730200.0 `1743730534.010136 1743730200.0 `1743730544.010137 1743730200.0 `1743730553.009128 1743730200.0 `1743730563.010164 1743730200.0 `1743730573.010141 1743730200.0 `1743730583.010137 1743730200.0 `1743730593.010137 1743730200.0 `1743730604.010144 1743730200.0 `1743730614.010139 1743730200.0 `1743730633.010144 1743730200.0 `1743730643.010144 1743730200.0 `1743730653.010133 1743730200.0 `1743730663.010137 1743730200.0 `1743730674.010137 1743730200.0 `1743730684.010143 1743730200.0 `1743730693.009129 1743730200.0 `1743730703.010137 1743730200.0 `1743730713.010142 1743730200.0 `1743730723.010136 1743730200.0 `1743730733.010136 1743730200.0 `1743730743.010152 1743730200.0 `1743730773.009123 1743730200.0 `1743730783.010133 1743730200.0 `1743730793.010138 1743730200.0 `1743730803.010168 1743730200.0 `1743730824.010136 1743730200.0 `1743730843.009125 1743730200.0 `1743730853.010136 1743730200.0 `1743730863.010146 1743730200.0 `1743730873.010137 1743730200.0 `1743730883.010135 1743730200.0 `1743730894.010134 1743730200.0 `1743730913.009129 1743730200.0 `1743730923.010147 1743730200.0 `1743730933.010146 1743730200.0 `1743730943.010134 1743730200.0 `1743730953.010134 1743730200.0 `1743730964.010135 1743730200.0 `1743730983.009148 1743730200.0 `1743730993.010139 1743730200.0 `1743731003.01014 1743730200.0 `1743731013.010135 1743730200.0 `1743731023.01014 1743730200.0 `1743731034.010139 1743730200.0 `1743731044.010138 1743730200.0 `1743731053.009126 1743730200.0 `1743731073.010135 1743730200.0 `1743731083.010135 1743730200.0 `1743731093.010138 1743730200.0 `1743731103.010143 1743731100.0 `1743731114.010141 1743731100.0 `1743731124.010136 1743731100.0 `1743731163.010155 1743731100.0 `1743731173.010139 1743731100.0 `1743731184.010139 1743731100.0 `1743731194.010139 1743731100.0 `1743731203.009131 1743731100.0 `1743731223.010155 1743731100.0 `1743731233.010143 1743731100.0 `1743731243.010163 1743731100.0 `1743731254.010135 1743731100.0 `1743731264.010133 1743731100.0 `1743731273.009125 1743731100.0 `1743731283.010153 1743731100.0 `1743731293.01014 1743731100.0 `1743731303.010135 1743731100.0 `1743731324.010139 1743731100.0 `1743731334.010139 1743731100.0 `1743731343.009128 1743731100.0 `1743731433.010135 1743731100.0 `1743731443.010136 1743731100.0 `1743731453.010135 1743731100.0 `1743731463.010152 1743731100.0 `1743731474.010137 1743731100.0 `1743731484.010141 1743731100.0 `1743731493.009131 1743731100.0 `1743731503.010141 1743731100.0 `1743731513.010135 1743731100.0 `1743731523.010156 1743731100.0 `1743731533.010138 1743731100.0 `1743731544.010136 1743731100.0 `1743731554.010135 1743731100.0 `1743731563.009124 1743731100.0 `1743731573.010136 1743731100.0 `1743731583.010168 1743731100.0 `1743731603.010142 1743731100.0 `1743731614.010134 1743731100.0 `1743731624.010134 1743731100.0 `1743731633.009129 1743731100.0 `1743731643.010137 1743731100.0 `1743731653.010137 1743731100.0 `1743731663.010136 1743731100.0 `1743731673.010137 1743731100.0 `1743731684.010137 1743731100.0 `1743731694.010137 1743731100.0 `1743731703.009128 1743731100.0 `1743731713.010146 1743731100.0 `1743731723.010135 1743731100.0 `1743731754.010137 1743731100.0 `1743731764.010149 1743731100.0 `1743731773.009133 1743731100.0 `1743731783.010137 1743731100.0 `1743731793.010138 1743731100.0 `1743731803.010139 1743731100.0 `1743731813.010141 1743731100.0 `1743731824.01016 1743731100.0 `1743731843.009147 1743731100.0 `1743731853.010137 1743731100.0 `1743731863.010135 1743731100.0 `1743731873.010137 1743731100.0 `1743731883.01016 1743731100.0 `1743731923.009124 1743731100.0 `1743731933.010136 1743731100.0 `1743731933.010136 1743731100.0 `1743731953.010026 1743731100.0 `1743731953.010026 1743731100.0 `1743731963.010145 1743731100.0 `1743731963.010145 1743731100.0 `1743731973.010137 1743731100.0 `1743731973.010137 1743731100.0 `1743731984.010135 1743731100.0 `1743731984.010135 1743731100.0 `1743731994.010136 1743731100.0 `1743732004.010153 1743732000.0 `1743732014.010134 1743732000.0 `1743732024.010136 1743732000.0 `1743732033.009127 1743732000.0 `1743732064.010132 1743732000.0 `1743732074.010135 1743732000.0 `1743732084.010133 1743732000.0 `1743732094.010134 1743732000.0 `1743732103.009126 1743732000.0 `1743732113.010142 1743732000.0 `1743732124.010165 1743732000.0 `1743732134.010139 1743732000.0 `1743732144.010134 1743732000.0 `1743732154.010132 1743732000.0 `1743732183.010149 1743732000.0 `1743732193.010136 1743732000.0 `1743732204.010143 1743732000.0 `1743732214.010138 1743732000.0 `1743732224.010138 1743732000.0 `1743732234.010139 1743732000.0 `1743732243.009124 1743732000.0 `1743732253.010152 1743732000.0 `1743732263.010133 1743732000.0 `1743732274.010134 1743732000.0 `1743732284.010136 1743732000.0 `1743732314.010134 1743732000.0 `1743732323.009122 1743732000.0 `1743732333.010133 1743732000.0 `1743732344.010135 1743732000.0 `1743732354.010137 1743732000.0 `1743732364.010138 1743732000.0 `1743732384.010134 1743732000.0 `1743732393.009124 1743732000.0 `1743732403.010135 1743732000.0 `1743732413.010136 1743732000.0 `1743732424.01014 1743732000.0 `1743732434.010136 1743732000.0 `1743732444.01014 1743732000.0 `1743732464.010136 1743732000.0 `1743732473.009127 1743732000.0 `1743732483.01016 1743732000.0 `1743732494.010146 1743732000.0 `1743732504.010134 1743732000.0 `1743732514.010136 1743732000.0 `1743732524.010136 1743732000.0 `1743732534.010139 1743732000.0 `1743732543.00914 1743732000.0 `1743732553.01014 1743732000.0 `1743732584.010136 1743732000.0 `1743732594.010135 1743732000.0 `1743732604.010157 1743732000.0 `1743732613.00913 1743732000.0 `1743732634.010134 1743732000.0 `1743732654.010139 1743732000.0 `1743732664.010158 1743732000.0 `1743735664.010156 1743735600.0 `1743735674.009127 1743735600.0 `1743735904.010167 1743735600.0 `1743735914.010133 1743735600.0 `1743735984.010131 1743735600.0 `1743736034.009127 1743735600.0 `1743736064.010142 1743735600.0 `1743736144.010166 1743735600.0 `1743736174.009129 1743735600.0 `1743736184.010139 1743735600.0 `1743736204.010145 1743735600.0 `1743736214.010136 1743735600.0 `1743736224.010135 1743735600.0 `1743736234.010141 1743735600.0 `1743736244.009127 1743735600.0 `1743736254.010133 1743735600.0 `1743736264.010149 1743735600.0 `1743736274.010139 1743735600.0 `1743736284.010135 1743735600.0 `1743736294.010135 1743735600.0 `1743736304.010135 1743735600.0 `1743736344.010134 1743735600.0 `1743736354.010132 1743735600.0 `1743736364.010137 1743735600.0 `1743736374.010138 1743735600.0 `1743736384.01015 1743735600.0 `1743736394.009518 1743735600.0 `1743736404.010134 1743735600.0 `1743736414.010137 1743735600.0 `1743736424.010138 1743735600.0 `1743736433.009128 1743735600.0 `1743736444.01014 1743735600.0 `1743736464.010132 1743735600.0 `1743736474.010133 1743735600.0 `1743736484.010132 1743735600.0 `1743736494.010136 1743735600.0 `1743736504.010146 1743736500.0 `1743736514.009125 1743736500.0 `1743736524.01014 1743736500.0 `1743736534.010136 1743736500.0 `1743736544.010138 1743736500.0 `1743736554.010138 1743736500.0 `1743736564.010161 1743736500.0 `1743736574.01014 1743736500.0 `1743736584.009126 1743736500.0 `1743736594.010133 1743736500.0 `1743736634.010133 1743736500.0 `1743736644.010134 1743736500.0 `1743736654.009125 1743736500.0 `1743736664.010137 1743736500.0 `1743736674.010138 1743736500.0 `1743736684.01014 1743736500.0 `1743736694.01014 1743736500.0 `1743736704.010135 1743736500.0 `1743736714.010133 1743736500.0 `1743736744.010162 1743736500.0 `1743736754.010139 1743736500.0 `1743736764.010134 1743736500.0 `1743736774.010134 1743736500.0 `1743736784.010135 1743736500.0 `1743736794.010134 1743736500.0 `1743736804.009137 1743736500.0 `1743736834.010133 1743736500.0 `1743736844.010132 1743736500.0 `1743736854.010137 1743736500.0 `1743736864.010153 1743736500.0 `1743736874.009125 1743736500.0 `1743736884.010142 1743736500.0 `1743736894.010133 1743736500.0 `1743736914.010134 1743736500.0 `1743736924.010152 1743736500.0 `1743736934.010137 1743736500.0 `1743736943.009124 1743736500.0 `1743736954.010136 1743736500.0 `1743736964.010136 1743736500.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, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.01675701141357422 ***** END SPLIT TIME ***** NUMBER BATCH : 6 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 5, 1: 19, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 339.00000619888306, 'nb_balles_papier': 0.0002900000000000001, 'begin_time_port': 'image_04042025_03_23_44_010136m0.jpg 5e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0002900000000000001 We reject this portfolio because of the condition_save_data : 2025-04-04 03:23:44.010136 result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 9, 1: 54, 2: 14, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.0, 'nb_balles_papier': 0.0007700000000000014, 'begin_time_port': 'image_04042025_03_30_03_010138m0.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.0007700000000000014 We reject this portfolio because of the condition_save_data : 2025-04-04 03:30:03.010138 ERROR missing amount info result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 8, 1: 51, 2: 14, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.9999928474426, 'nb_balles_papier': 0.0007300000000000013, 'begin_time_port': 'image_04042025_03_45_03_010143m0.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.0007300000000000013 We reject this portfolio because of the condition_save_data : 2025-04-04 03:45:03.010143 ERROR missing amount info result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 1, 1: 36, 2: 17, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 660.0000050067902, 'nb_balles_papier': 0.0005400000000000008, 'begin_time_port': 'image_04042025_04_00_04_010153m0.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-04-04 04:00:04.010153 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': '04042025', 'map_nb_amount': {0: 2, 1: 20, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.9999799728394, 'nb_balles_papier': 0.00025, 'begin_time_port': 'image_04042025_05_01_04_010156m0.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.00025 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '04042025', 'map_nb_amount': {0: 2, 1: 12, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 459.9999899864197, 'nb_balles_papier': 0.00014000000000000001, 'begin_time_port': 'image_04042025_05_15_04_10146.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00014000000000000001 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 Still a lot to verify ! We need to add photos : {1349975233, 1349975107, 1349975235, 1349975237, 1349975083, 1349975249, 1349975093, 1349975125, 1349975258, 1349975132, 1349975230} Still a lot to verify ! Qualite : 0.05221135477062764 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`=22053273 AND mptpi.`type`=3726 To do Qualite : 0.04736522722912133 Since we have set only the same portfolio in list_same_port_ids, it means the datou_current is finished and we need to re-insert it with the same id to finish the job (if we added new photos to the portfolio) We may have found the correct datou result for the same portfolio, but we will rerun it, since the portfolio may have been updated ! This function is not protected ! # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22053544 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 5.9940550327301025 # DISPLAY ALL COLLECTED DATA : {'04042025': {'nb_upload': 310, 'nb_taggue_class': 1045, 'nb_taggue_densite': 1045}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349975258, 1349975249, 1349975237, 1349975235, 1349975233, 1349975230, 1349975132, 1349975125, 1349975107, 1349975093, 1349975083, 1349974953, 1349974952, 1349974923, 1349974891, 1349974708, 1349974683, 1349974654, 1349974623, 1349974616, 1349974602, 1349974541, 1349974524, 1349974522, 1349974511, 1349974340, 1349974323, 1349974305, 1349974295, 1349974282, 1349974152, 1349974128, 1349974097, 1349974073, 1349973925, 1349973897, 1349973871, 1349973847, 1349973813, 1349973785, 1349973595, 1349973592, 1349973591, 1349973589, 1349973586, 1349973560, 1349973554, 1349973544, 1349973541, 1349973511, 1349973489, 1349973454, 1349973441, 1349973417, 1349973412, 1349973264, 1349973238, 1349973216, 1349973204, 1349973173, 1349972923, 1349972897, 1349972871, 1349972843, 1349972818, 1349972795, 1349972695, 1349972693, 1349972692, 1349972636, 1349972632, 1349972599, 1349972566, 1349972563, 1349972014, 1349972011, 1349966806, 1349966745, 1349966734, 1349966729, 1349966704, 1349966661, 1349966656, 1349966651, 1349966647, 1349966592, 1349966587, 1349966577, 1349966575, 1349966565, 1349966554, 1349966522, 1349966516, 1349966511, 1349966506, 1349966501, 1349966472, 1349966467, 1349966463, 1349966461] Looping around the photos to save general results len do output : 1 /22042798Didn'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, '2723145') ('4876', '22042798', '1349975258', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349975249', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349975237', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349975235', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349975233', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349975230', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349975132', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349975125', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349975107', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349975093', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349975083', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974953', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974952', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974923', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974891', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974708', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974683', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974654', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974623', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974616', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974602', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974541', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974524', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974522', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974511', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974340', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974323', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974305', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974295', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974282', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974152', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974128', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974097', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349974073', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973925', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973897', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973871', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973847', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973813', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973785', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973595', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973592', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973591', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973589', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973586', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973560', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973554', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973544', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973541', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973511', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973489', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973454', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973441', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973417', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973412', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973264', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973238', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973216', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973204', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349973173', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349972923', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349972897', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349972871', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349972843', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349972818', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349972795', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349972695', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349972693', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349972692', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349972636', None, None, None, None, None, '2723145') ('4876', None, None, None, None, None, None, None, '2723145') ('4876', '22042798', '1349972