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 : 3979582 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 : 2726>1000 please execute split_portfolio.py -i 21674640 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2691007'] with mtr_portfolio_ids : ['21674640'] and first list_photo_ids : [] new path : /proc/3979582/ 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.035537004470825195 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Mar 25 23:08:26 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 9), ('01', 10), ('02', 12), ('03', 12), ('04', 5), ('05', 205), ('06', 254), ('07', 275), ('08', 263), ('09', 7), ('10', 3), ('11', 6), ('12', 4), ('13', 10), ('14', 204), ('15', 264), ('16', 259), ('17', 132), ('18', 4), ('19', 188), ('20', 254), ('21', 192), ('22', 151), ('23', 3)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2575} 25032025 21674640 Nombre de photos uploadées : 340 / 23040 (1%) 25032025 21674640 Nombre de photos taguées (types de déchets): 2575 / 340 (757%) 25032025 21674640 Nombre de photos taguées (volume) : 2575 / 340 (757%) elapsed_time : load_data_split_time_score 5.0067901611328125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0010170936584472656 ???????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.046314239501953125 elapsed_time : insert_dashboard_record_day_entry 0.02772045135498047 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 elapsed_time : list_photo_by_hashtags 0.02124762535095215 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03388333320617676 ***** BEGIN SPLIT TIME ***** True 1742860800.0 `1742933184.010137 1742932800.0 `1742933264.010142 1742932800.0 `1742933294.010141 1742932800.0 `1742933353.009135 1742932800.0 `1742933374.010137 1742932800.0 `1742933433.009131 1742932800.0 `1742933544.010137 1742932800.0 `1742933793.01014 1742933700.0 `1742933824.010149 1742933700.0 `1742933844.01014 1742933700.0 `1742933863.009132 1742933700.0 `1742933874.010137 1742933700.0 `1742933884.010159 1742933700.0 `1742933904.010134 1742933700.0 `1742933914.010134 1742933700.0 `1742933964.010134 1742933700.0 `1742933974.010142 1742933700.0 `1742933984.010139 1742933700.0 `1742933994.010134 1742933700.0 `1742934003.009132 1742933700.0 `1742934014.010141 1742933700.0 `1742934024.010135 1742933700.0 `1742934034.010135 1742933700.0 `1742934044.010137 1742933700.0 `1742934054.010141 1742933700.0 `1742934064.010174 1742933700.0 `1742934073.009126 1742933700.0 `1742934084.010133 1742933700.0 `1742934094.010137 1742933700.0 `1742934104.010137 1742933700.0 `1742934124.010146 1742933700.0 `1742934153.010135 1742933700.0 `1742934164.010138 1742933700.0 `1742934214.010139 1742933700.0 `1742934254.010138 1742933700.0 `1742934264.010137 1742933700.0 `1742934274.010138 1742933700.0 `1742934304.010139 1742933700.0 `1742934324.010135 1742933700.0 `1742934334.010144 1742933700.0 `1742934344.010139 1742933700.0 `1742934354.010136 1742933700.0 `1742934364.01015 1742933700.0 `1742934374.010136 1742933700.0 `1742934383.009124 1742933700.0 `1742934394.010134 1742933700.0 `1742934404.010138 1742933700.0 `1742934414.010142 1742933700.0 `1742934464.010133 1742933700.0 `1742934484.010136 1742933700.0 `1742934494.010134 1742933700.0 `1742934514.010147 1742933700.0 `1742934544.010149 1742933700.0 `1742934554.010139 1742933700.0 `1742934564.010137 1742933700.0 `1742934574.010136 1742933700.0 `1742934594.010138 1742933700.0 `1742934624.010135 1742934600.0 `1742934644.010136 1742934600.0 `1742934654.010137 1742934600.0 `1742934664.010141 1742934600.0 `1742934673.009126 1742934600.0 `1742934684.010142 1742934600.0 `1742934694.010144 1742934600.0 `1742934714.010139 1742934600.0 `1742934734.010138 1742934600.0 `1742934743.009126 1742934600.0 `1742934794.010135 1742934600.0 `1742934813.00913 1742934600.0 `1742934834.010136 1742934600.0 `1742934844.010152 1742934600.0 `1742934854.010135 1742934600.0 `1742934874.01014 1742934600.0 `1742934884.010136 1742934600.0 `1742934893.009129 1742934600.0 `1742934904.010148 1742934600.0 `1742934914.010142 1742934600.0 `1742934934.010136 1742934600.0 `1742934944.010138 1742934600.0 `1742934954.010139 1742934600.0 `1742934963.009146 1742934600.0 `1742934984.010138 1742934600.0 `1742935004.010137 1742934600.0 `1742935014.010139 1742934600.0 `1742935024.010161 1742934600.0 `1742935074.010135 1742934600.0 `1742935094.010134 1742934600.0 `1742935114.010138 1742934600.0 `1742935124.010144 1742934600.0 `1742935134.010144 1742934600.0 `1742935144.010156 1742934600.0 `1742935164.010136 1742934600.0 `1742935174.010136 1742934600.0 `1742935183.009128 1742934600.0 `1742935194.010138 1742934600.0 `1742935214.010135 1742934600.0 `1742935234.010134 1742934600.0 `1742935244.010135 1742934600.0 `1742935264.010153 1742934600.0 `1742935274.010136 1742934600.0 `1742935314.010136 1742934600.0 `1742935324.010152 1742934600.0 `1742935333.009126 1742934600.0 `1742935344.010135 1742934600.0 `1742935354.010141 1742934600.0 `1742935364.010142 1742934600.0 `1742935374.010138 1742934600.0 `1742935403.009125 1742934600.0 `1742935414.010135 1742934600.0 `1742935424.010136 1742934600.0 `1742935434.010135 1742934600.0 `1742935444.010155 1742934600.0 `1742935454.010134 1742934600.0 `1742935464.010137 1742934600.0 `1742935473.00913 1742934600.0 `1742935484.010138 1742934600.0 `1742935514.010132 1742935500.0 `1742935524.01014 1742935500.0 `1742935534.010136 1742935500.0 `1742935543.009128 1742935500.0 `1742935554.010139 1742935500.0 `1742935564.010166 1742935500.0 `1742935574.010137 1742935500.0 `1742935584.010137 1742935500.0 `1742935594.010138 1742935500.0 `1742935604.01014 1742935500.0 `1742935613.009128 1742935500.0 `1742935624.010142 1742935500.0 `1742935634.010138 1742935500.0 `1742935644.010136 1742935500.0 `1742935654.010141 1742935500.0 `1742935664.010134 1742935500.0 `1742935714.010133 1742935500.0 `1742935724.010135 1742935500.0 `1742935734.010138 1742935500.0 `1742935744.010151 1742935500.0 `1742935754.010136 1742935500.0 `1742935763.009125 1742935500.0 `1742935774.010134 1742935500.0 `1742935784.010135 1742935500.0 `1742935794.010137 1742935500.0 `1742935804.010136 1742935500.0 `1742935814.010136 1742935500.0 `1742935824.010135 1742935500.0 `1742935864.010138 1742935500.0 `1742935874.010137 1742935500.0 `1742935884.010141 1742935500.0 `1742935894.010148 1742935500.0 `1742935913.009124 1742935500.0 `1742935924.010169 1742935500.0 `1742935934.010139 1742935500.0 `1742935944.010136 1742935500.0 `1742935954.010135 1742935500.0 `1742935964.010136 1742935500.0 `1742935983.009142 1742935500.0 `1742935994.010136 1742935500.0 `1742936004.010132 1742935500.0 `1742936034.010136 1742935500.0 `1742936044.010147 1742935500.0 `1742936064.010135 1742935500.0 `1742936074.010134 1742935500.0 `1742936084.010123 1742935500.0 `1742936094.010136 1742935500.0 `1742936104.010163 1742935500.0 `1742936114.010135 1742935500.0 `1742936123.009129 1742935500.0 `1742936134.010136 1742935500.0 `1742936144.010137 1742935500.0 `1742936154.010139 1742935500.0 `1742936164.010143 1742935500.0 `1742936174.010138 1742935500.0 `1742936184.010141 1742935500.0 `1742936203.010141 1742935500.0 `1742936214.010136 1742935500.0 `1742936254.010139 1742935500.0 `1742936264.010142 1742935500.0 `1742936273.009124 1742935500.0 `1742936284.010137 1742935500.0 `1742936294.010139 1742935500.0 `1742936304.010136 1742935500.0 `1742936324.01014 1742935500.0 `1742936354.01001 1742935500.0 `1742936364.010161 1742935500.0 `1742936374.010135 1742935500.0 `1742936384.010135 1742935500.0 `1742936394.010136 1742935500.0 `1742936404.01015 1742936400.0 `1742936415.010137 1742936400.0 `1742936425.010135 1742936400.0 `1742936464.010134 1742936400.0 `1742936474.010135 1742936400.0 `1742936484.010134 1742936400.0 `1742936504.009128 1742936400.0 `1742936514.010136 1742936400.0 `1742936524.010163 1742936400.0 `1742936534.010135 1742936400.0 `1742936544.010135 1742936400.0 `1742936554.010134 1742936400.0 `1742936565.010136 1742936400.0 `1742936584.010152 1742936400.0 `1742936594.010136 1742936400.0 `1742936604.010136 1742936400.0 `1742936614.010135 1742936400.0 `1742936624.010135 1742936400.0 `1742936635.010136 1742936400.0 `1742936644.009133 1742936400.0 `1742936694.010137 1742936400.0 `1742936715.010133 1742936400.0 `1742936724.009122 1742936400.0 `1742936734.010143 1742936400.0 `1742936744.01014 1742936400.0 `1742936754.010137 1742936400.0 `1742936774.010136 1742936400.0 `1742936794.009124 1742936400.0 `1742936804.010136 1742936400.0 `1742936814.01014 1742936400.0 `1742936824.010149 1742936400.0 `1742936834.010136 1742936400.0 `1742936855.010136 1742936400.0 `1742936864.009125 1742936400.0 `1742936884.010152 1742936400.0 `1742936894.010136 1742936400.0 `1742936954.010133 1742936400.0 `1742936964.010132 1742936400.0 `1742936984.010137 1742936400.0 `1742936995.010135 1742936400.0 `1742937005.010142 1742936400.0 `1742937024.010138 1742936400.0 `1742937034.010135 1742936400.0 `1742937044.010135 1742936400.0 `1742937054.010135 1742936400.0 `1742937064.010159 1742936400.0 `1742937075.010135 1742936400.0 `1742937084.009125 1742936400.0 `1742937094.010191 1742936400.0 `1742937104.010139 1742936400.0 `1742937114.010136 1742936400.0 `1742937124.010154 1742936400.0 `1742937135.010138 1742936400.0 `1742937145.010134 1742936400.0 `1742937154.009121 1742936400.0 `1742937194.010135 1742936400.0 `1742937204.01014 1742936400.0 `1742937215.010135 1742936400.0 `1742937224.009127 1742936400.0 `1742937244.010137 1742936400.0 `1742937264.010136 1742936400.0 `1742937274.01014 1742936400.0 `1742937285.010139 1742936400.0 `1742937304.01017 1742937300.0 `1742937314.010136 1742937300.0 `1742937324.010133 1742937300.0 `1742937334.010144 1742937300.0 `1742937344.010136 1742937300.0 `1742937355.010136 1742937300.0 `1742937365.010139 1742937300.0 `1742937374.009124 1742937300.0 `1742937424.010152 1742937300.0 `1742937435.010134 1742937300.0 `1742937454.010141 1742937300.0 `1742937464.010137 1742937300.0 `1742937474.010139 1742937300.0 `1742937484.010138 1742937300.0 `1742937494.010136 1742937300.0 `1742937505.010136 1742937300.0 `1742937514.009124 1742937300.0 `1742937524.010134 1742937300.0 `1742937534.010138 1742937300.0 `1742937544.010151 1742937300.0 `1742937564.010141 1742937300.0 `1742937575.010136 1742937300.0 `1742937614.010142 1742937300.0 `1742937624.010133 1742937300.0 `1742937634.01014 1742937300.0 `1742937644.010138 1742937300.0 `1742937655.010138 1742937300.0 `1742937674.010139 1742937300.0 `1742937684.010145 1742937300.0 `1742937694.010138 1742937300.0 `1742937704.010137 1742937300.0 `1742937725.010141 1742937300.0 `1742937734.009129 1742937300.0 `1742937744.010136 1742937300.0 `1742937754.010135 1742937300.0 `1742937774.010137 1742937300.0 `1742937784.010144 1742937300.0 `1742937795.010138 1742937300.0 `1742937804.009127 1742937300.0 `1742937854.010136 1742937300.0 `1742937875.010084 1742937300.0 `1742937894.010137 1742937300.0 `1742937904.010167 1742937300.0 `1742937914.010138 1742937300.0 `1742937924.010135 1742937300.0 `1742937934.010141 1742937300.0 `1742937945.010137 1742937300.0 `1742937964.010139 1742937300.0 `1742937974.010136 1742937300.0 `1742937994.010138 1742937300.0 `1742938004.01014 1742937300.0 `1742938015.01014 1742937300.0 `1742938024.009126 1742937300.0 `1742938034.010135 1742937300.0 `1742938044.010141 1742937300.0 `1742938054.010136 1742937300.0 `1742938064.010138 1742937300.0 `1742938074.010134 1742937300.0 `1742938085.010174 1742937300.0 `1742938124.010136 1742937300.0 `1742938134.010133 1742937300.0 `1742938144.010154 1742937300.0 `1742938154.010135 1742937300.0 `1742938174.009124 1742937300.0 `1742938184.010136 1742937300.0 `1742938194.010137 1742937300.0 `1742938204.010156 1742938200.0 `1742938224.010136 1742938200.0 `1742938235.010142 1742938200.0 `1742938244.009124 1742938200.0 `1742938254.010139 1742938200.0 `1742938264.010166 1742938200.0 `1742938274.010135 1742938200.0 `1742938324.010156 1742938200.0 `1742938344.010133 1742938200.0 `1742938354.010142 1742938200.0 `1742938364.010134 1742938200.0 `1742938375.010135 1742938200.0 `1742938384.009143 1742938200.0 `1742938464.009126 1742938200.0 `1742938875.010136 1742938200.0 `1742938885.010138 1742938200.0 `1742939014.010143 1742938200.0 `1742939564.010139 1742939100.0 `1742939574.010136 1742939100.0 `1742939584.01014 1742939100.0 `1742939834.010138 1742939100.0 `1742939844.010143 1742939100.0 `1742940013.010194 1742940000.0 `1742940133.009126 1742940000.0 `1742940244.010154 1742940000.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, 310, 311, 312, 313, 314], [315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331], [332, 333, 334, 335, 336], [337, 338, 339]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.03438377380371094 ***** 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 result_one_balle_Type_JRM:{'day': '25032025', 'map_nb_amount': {0: 2, 1: 42, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 800.9999980926514, 'nb_balles_papier': 0.0004700000000000006, 'begin_time_port': 'image_25032025_21_16_33_10140.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004700000000000006 We reject this portfolio because of the condition_save_data : 2025-03-25 21:16:33.010140 result_one_balle_Type_JRM:{'day': '25032025', 'map_nb_amount': {0: 1, 1: 56, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 860.0000030994415, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_25032025_21_30_24_010135m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005900000000000009 We reject this portfolio because of the condition_save_data : 2025-03-25 21:30:24.010135 result_one_balle_Type_JRM:{'day': '25032025', 'map_nb_amount': {0: 6, 1: 61, 2: 2, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.0000038146973, 'nb_balles_papier': 0.0007000000000000012, 'begin_time_port': 'image_25032025_21_45_14_010132m0.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.0007000000000000012 We reject this portfolio because of the condition_save_data : 2025-03-25 21:45:14.010132 result_one_balle_Type_JRM:{'day': '25032025', 'map_nb_amount': {0: 6, 1: 54, 2: 2, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.9999890327454, 'nb_balles_papier': 0.000630000000000001, 'begin_time_port': 'image_25032025_22_00_04_010150m0.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.000630000000000001 We reject this portfolio because of the condition_save_data : 2025-03-25 22:00:04.010150 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': '25032025', 'map_nb_amount': {0: 8, 1: 49, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999670982361, 'nb_balles_papier': 0.0005700000000000008, 'begin_time_port': 'image_25032025_22_15_04_010170m0.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.0005700000000000008 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '25032025', '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': 809.9999871253967, 'nb_balles_papier': 0.00014000000000000001, 'begin_time_port': 'image_25032025_22_30_04_010156m0.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.00014000000000000001 We have rejected 15 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 Still a lot to verify ! Still a lot to verify ! Qualite : 0.07915081851170958 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`=21712415 AND mptpi.`type`=3726 To do Qualite : 0.06766338717633107 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`=21713262 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.5631387233734131 # DISPLAY ALL COLLECTED DATA : {'25032025': {'nb_upload': 340, 'nb_taggue_class': 2575, 'nb_taggue_densite': 2575}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1347349519, 1347349028, 1347347649, 1347345863, 1347344436, 1347344430, 1347343521, 1347343022, 1347342969, 1347339427, 1347338695, 1347338666, 1347334566, 1347333709, 1347332522, 1347332498, 1347332470, 1347332440, 1347332405, 1347331808, 1347331764, 1347331377, 1347331291, 1347331228, 1347331193, 1347331111, 1347330763, 1347330738, 1347330709, 1347330683, 1347330656, 1347330459, 1347330413, 1347330389, 1347330178, 1347330135, 1347330096, 1347330063, 1347330027, 1347329980, 1347329487, 1347329439, 1347329347, 1347329267, 1347329122, 1347328662, 1347328590, 1347328540, 1347328484, 1347328445, 1347327777, 1347327631, 1347327553, 1347327030, 1347326994, 1347326948, 1347326566, 1347326497, 1347326440, 1347326392, 1347326350, 1347326045, 1347326020, 1347325989, 1347325955, 1347325665, 1347325616, 1347325565, 1347325495, 1347325459, 1347325058, 1347325003, 1347324980, 1347324556, 1347324531, 1347324523, 1347324513, 1347324507, 1347324504, 1347324028, 1347323902, 1347323858, 1347323841, 1347323831, 1347323223, 1347323201, 1347322962, 1347322939, 1347322891, 1347322827, 1347322799, 1347322754, 1347322248, 1347322192, 1347322142, 1347322125, 1347321709, 1347321691, 1347321666, 1347321639] Looping around the photos to save general results len do output : 1 /21674640Didn'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, '2691007') ('4876', '21674640', '1347349519', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347349028', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347347649', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347345863', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347344436', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347344430', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347343521', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347343022', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347342969', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347339427', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347338695', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347338666', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347334566', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347333709', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347332522', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347332498', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347332470', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347332440', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347332405', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347331808', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347331764', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347331377', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347331291', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347331228', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347331193', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347331111', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330763', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330738', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330709', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330683', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330656', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330459', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330413', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330389', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330178', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330135', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330096', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330063', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347330027', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347329980', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347329487', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347329439', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347329347', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347329267', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347329122', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347328662', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347328590', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347328540', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347328484', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347328445', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347327777', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347327631', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347327553', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347327030', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347326994', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347326948', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347326566', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347326497', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347326440', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347326392', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347326350', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347326045', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347326020', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347325989', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347325955', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347325665', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347325616', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347325565', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347325495', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347325459', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347325058', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347325003', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347324980', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347324556', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347324531', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347324523', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347324513', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347324507', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347324504', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347324028', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347323902', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347323858', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347323841', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347323831', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347323223', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347323201', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347322962', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347322939', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347322891', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347322827', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347322799', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347322754', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347322248', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347322192', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347322142', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347322125', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347321709', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347321691', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347321666', None, None, None, None, None, '2691007') ('4876', None, None, None, None, None, None, None, '2691007') ('4876', '21674640', '1347321639', None, None, None, None, None, '2691007') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02696967124938965 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0359818935394287 time spend to save output : 0.02791142463684082 total time spend for step 1 : 1.0638933181762695 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.18user 0.51system 0:02.92elapsed 58%CPU (0avgtext+0avgdata 103560maxresident)k 0inputs+88outputs (8major+49614minor)pagefaults 0swaps