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 : 1923495 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 : 1743>1000 please execute split_portfolio.py -i 21928783 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2713888'] with mtr_portfolio_ids : ['21928783'] and first list_photo_ids : [] new path : /proc/1923495/ 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.1693103313446045 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Apr 1 18:16:29 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', 14), ('01', 12), ('02', 20), ('03', 25), ('04', 8), ('05', 222), ('06', 246), ('07', 246), ('08', 249), ('09', 5), ('10', 5), ('11', 6), ('12', 3), ('13', 1), ('14', 108), ('15', 158), ('16', 223), ('17', 132), ('18', 65)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1613} 01042025 21928783 Nombre de photos uploadées : 349 / 23040 (1%) 01042025 21928783 Nombre de photos taguées (types de déchets): 1613 / 349 (462%) 01042025 21928783 Nombre de photos taguées (volume) : 1613 / 349 (462%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0005834102630615234 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.04960131645202637 elapsed_time : insert_dashboard_record_day_entry 0.0228879451751709 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 elapsed_time : list_photo_by_hashtags 0.016470909118652344 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03577256202697754 ***** BEGIN SPLIT TIME ***** True 1743465600.0 `1743516904.010159 1743516900.0 `1743517244.010142 1743516900.0 `1743517583.009127 1743516900.0 `1743517593.010142 1743516900.0 `1743517604.010142 1743516900.0 `1743517614.01014 1743516900.0 `1743517624.010154 1743516900.0 `1743517634.010137 1743516900.0 `1743517644.010134 1743516900.0 `1743517653.009124 1743516900.0 `1743517663.010136 1743516900.0 `1743517684.010145 1743516900.0 `1743517694.010136 1743516900.0 `1743517774.01014 1743516900.0 `1743517784.010133 1743516900.0 `1743517794.010138 1743516900.0 `1743517803.009142 1743517800.0 `1743517813.01014 1743517800.0 `1743517844.010141 1743517800.0 `1743517864.010162 1743517800.0 `1743517873.009124 1743517800.0 `1743517883.010144 1743517800.0 `1743517894.010146 1743517800.0 `1743517904.010141 1743517800.0 `1743517914.010143 1743517800.0 `1743517924.010137 1743517800.0 `1743517934.010135 1743517800.0 `1743517944.009855 1743517800.0 `1743517984.010158 1743517800.0 `1743518004.010135 1743517800.0 `1743518014.010137 1743517800.0 `1743518024.010141 1743517800.0 `1743518033.00913 1743517800.0 `1743518043.010141 1743517800.0 `1743518054.010139 1743517800.0 `1743518064.010134 1743517800.0 `1743518074.010135 1743517800.0 `1743518084.010137 1743517800.0 `1743518094.010135 1743517800.0 `1743518103.009142 1743517800.0 `1743518113.010136 1743517800.0 `1743518123.010143 1743517800.0 `1743518134.010137 1743517800.0 `1743518144.010135 1743517800.0 `1743518164.010155 1743517800.0 `1743518174.010136 1743517800.0 `1743518214.010136 1743517800.0 `1743518224.010151 1743517800.0 `1743518244.010134 1743517800.0 `1743518253.009131 1743517800.0 `1743518263.010147 1743517800.0 `1743518274.010137 1743517800.0 `1743518284.010142 1743517800.0 `1743518294.010136 1743517800.0 `1743518304.010135 1743517800.0 `1743518314.010134 1743517800.0 `1743518323.009123 1743517800.0 `1743518333.010136 1743517800.0 `1743518344.010152 1743517800.0 `1743518354.010139 1743517800.0 `1743518374.010135 1743517800.0 `1743518384.010135 1743517800.0 `1743518424.010133 1743517800.0 `1743518434.010133 1743517800.0 `1743518444.010137 1743517800.0 `1743518454.010141 1743517800.0 `1743518464.010149 1743517800.0 `1743518473.009124 1743517800.0 `1743518483.010136 1743517800.0 `1743518494.01014 1743517800.0 `1743518504.010137 1743517800.0 `1743518514.010137 1743517800.0 `1743518524.010154 1743517800.0 `1743518534.010137 1743517800.0 `1743518543.009125 1743517800.0 `1743518553.010137 1743517800.0 `1743518564.010137 1743517800.0 `1743518574.010139 1743517800.0 `1743518613.009122 1743517800.0 `1743518623.010134 1743517800.0 `1743518634.010138 1743517800.0 `1743518644.01014 1743517800.0 `1743518654.010137 1743517800.0 `1743518664.010139 1743517800.0 `1743518674.010139 1743517800.0 `1743518683.009126 1743517800.0 `1743518693.010139 1743517800.0 `1743518704.010154 1743518700.0 `1743518714.010139 1743518700.0 `1743518724.010141 1743518700.0 `1743518734.010135 1743518700.0 `1743518763.009139 1743518700.0 `1743518773.010138 1743518700.0 `1743518784.010138 1743518700.0 `1743518794.010147 1743518700.0 `1743518804.010145 1743518700.0 `1743518814.010139 1743518700.0 `1743518824.010149 1743518700.0 `1743518833.009124 1743518700.0 `1743518843.010144 1743518700.0 `1743518854.010139 1743518700.0 `1743518864.010139 1743518700.0 `1743518874.010137 1743518700.0 `1743518913.010133 1743518700.0 `1743518934.010133 1743518700.0 `1743518964.010135 1743518700.0 `1743518994.010138 1743518700.0 `1743519014.010135 1743518700.0 `1743519024.010136 1743518700.0 `1743519034.01014 1743518700.0 `1743519043.009126 1743518700.0 `1743519053.010138 1743518700.0 `1743519064.010141 1743518700.0 `1743519074.010137 1743518700.0 `1743519084.010137 1743518700.0 `1743519094.010136 1743518700.0 `1743519104.010135 1743518700.0 `1743519114.010136 1743518700.0 `1743519123.009146 1743518700.0 `1743519154.010136 1743518700.0 `1743519164.010135 1743518700.0 `1743519174.010138 1743518700.0 `1743519184.010154 1743518700.0 `1743519193.009123 1743518700.0 `1743519203.01014 1743518700.0 `1743519214.010136 1743518700.0 `1743519224.01014 1743518700.0 `1743519234.010136 1743518700.0 `1743519244.010145 1743518700.0 `1743519254.010135 1743518700.0 `1743519273.010136 1743518700.0 `1743519284.010134 1743518700.0 `1743519314.010139 1743518700.0 `1743519324.010134 1743518700.0 `1743519333.009124 1743518700.0 `1743519343.010138 1743518700.0 `1743519353.010139 1743518700.0 `1743519364.010173 1743518700.0 `1743519374.010138 1743518700.0 `1743519394.010136 1743518700.0 `1743519403.009128 1743518700.0 `1743519424.010156 1743518700.0 `1743519474.010137 1743518700.0 `1743519483.009138 1743518700.0 `1743519493.010141 1743518700.0 `1743519504.010135 1743518700.0 `1743519514.010146 1743518700.0 `1743519524.01014 1743518700.0 `1743519534.010142 1743518700.0 `1743519554.011 1743518700.0 `1743519584.010135 1743518700.0 `1743519594.010135 1743518700.0 `1743519604.010153 1743519600.0 `1743519614.010137 1743519600.0 `1743519624.010135 1743519600.0 `1743519633.009126 1743519600.0 `1743519643.010137 1743519600.0 `1743519653.010136 1743519600.0 `1743519664.010142 1743519600.0 `1743519674.010135 1743519600.0 `1743519684.010134 1743519600.0 `1743519694.010135 1743519600.0 `1743519734.010138 1743519600.0 `1743519744.010134 1743519600.0 `1743519754.010136 1743519600.0 `1743519764.010136 1743519600.0 `1743519783.010149 1743519600.0 `1743519793.010137 1743519600.0 `1743519804.010138 1743519600.0 `1743519814.010142 1743519600.0 `1743519824.010141 1743519600.0 `1743519834.010137 1743519600.0 `1743519843.009135 1743519600.0 `1743519853.010135 1743519600.0 `1743519863.010134 1743519600.0 `1743519874.010135 1743519600.0 `1743519884.010134 1743519600.0 `1743519894.010134 1743519600.0 `1743519904.010154 1743519600.0 `1743519933.010133 1743519600.0 `1743519943.010133 1743519600.0 `1743519954.010134 1743519600.0 `1743519964.010144 1743519600.0 `1743519974.010137 1743519600.0 `1743519984.010136 1743519600.0 `1743519993.009126 1743519600.0 `1743520003.010137 1743519600.0 `1743520013.010137 1743519600.0 `1743520034.010136 1743519600.0 `1743520213.009129 1743519600.0 `1743520223.010136 1743519600.0 `1743520234.010148 1743519600.0 `1743520244.010138 1743519600.0 `1743520254.010137 1743519600.0 `1743520264.010152 1743519600.0 `1743520274.010137 1743519600.0 `1743520303.010134 1743519600.0 `1743520314.010141 1743519600.0 `1743520334.010138 1743519600.0 `1743520353.009128 1743519600.0 `1743520363.010142 1743519600.0 `1743520373.010137 1743519600.0 `1743520384.010147 1743519600.0 `1743520394.010135 1743519600.0 `1743520404.010136 1743519600.0 `1743520414.010136 1743519600.0 `1743520423.009126 1743519600.0 `1743520433.010141 1743519600.0 `1743520443.010164 1743519600.0 `1743520454.010139 1743519600.0 `1743520484.010132 1743519600.0 `1743520493.009124 1743519600.0 `1743520503.010157 1743520500.0 `1743520513.01014 1743520500.0 `1743520524.010142 1743520500.0 `1743520534.010138 1743520500.0 `1743520544.010138 1743520500.0 `1743520554.010138 1743520500.0 `1743520564.010149 1743520500.0 `1743520583.010143 1743520500.0 `1743520594.010137 1743520500.0 `1743520604.010136 1743520500.0 `1743520614.010137 1743520500.0 `1743520624.010156 1743520500.0 `1743520634.010136 1743520500.0 `1743520643.009127 1743520500.0 `1743520653.010135 1743520500.0 `1743520684.010149 1743520500.0 `1743520694.010138 1743520500.0 `1743520704.010135 1743520500.0 `1743520713.009126 1743520500.0 `1743520723.01014 1743520500.0 `1743520733.010141 1743520500.0 `1743520744.010154 1743520500.0 `1743520754.010137 1743520500.0 `1743520764.010138 1743520500.0 `1743520774.010136 1743520500.0 `1743520793.010138 1743520500.0 `1743520803.010166 1743520500.0 `1743520824.010136 1743520500.0 `1743520834.010135 1743520500.0 `1743520844.010138 1743520500.0 `1743520853.009128 1743520500.0 `1743520863.010158 1743520500.0 `1743520873.010139 1743520500.0 `1743520914.010135 1743520500.0 `1743520933.010138 1743520500.0 `1743520954.010146 1743520500.0 `1743520964.01014 1743520500.0 `1743520974.010139 1743520500.0 `1743520984.010136 1743520500.0 `1743520994.010138 1743520500.0 `1743521003.009125 1743520500.0 `1743521013.010142 1743520500.0 `1743521034.010138 1743520500.0 `1743521054.01014 1743520500.0 `1743521064.010135 1743520500.0 `1743521073.009125 1743520500.0 `1743521083.010137 1743520500.0 `1743521104.010157 1743520500.0 `1743521114.010142 1743520500.0 `1743521124.010141 1743520500.0 `1743521134.010136 1743520500.0 `1743521143.009126 1743520500.0 `1743521184.010134 1743520500.0 `1743521194.010132 1743520500.0 `1743521204.010134 1743520500.0 `1743521213.009125 1743520500.0 `1743521223.010153 1743520500.0 `1743521233.010137 1743520500.0 `1743521244.010141 1743520500.0 `1743521254.010139 1743520500.0 `1743521274.010137 1743520500.0 `1743521293.010139 1743520500.0 `1743521303.010137 1743520500.0 `1743521314.010135 1743520500.0 `1743521324.010136 1743520500.0 `1743521334.010138 1743520500.0 `1743521354.010138 1743520500.0 `1743521363.009127 1743520500.0 `1743521404.010137 1743521400.0 `1743521614.010144 1743521400.0 `1743522163.010138 1743521400.0 `1743522714.010134 1743522300.0 `1743523295.010138 1743523200.0 `1743523304.009129 1743523200.0 `1743523314.010138 1743523200.0 `1743523334.010138 1743523200.0 `1743523344.010138 1743523200.0 `1743523384.010154 1743523200.0 `1743523394.010134 1743523200.0 `1743523454.010146 1743523200.0 `1743523464.010137 1743523200.0 `1743523484.010144 1743523200.0 `1743523494.010138 1743523200.0 `1743523504.010158 1743523200.0 `1743523514.009125 1743523200.0 `1743523524.010147 1743523200.0 `1743523534.010138 1743523200.0 `1743523554.010139 1743523200.0 `1743523564.010154 1743523200.0 `1743523574.010136 1743523200.0 `1743523584.009127 1743523200.0 `1743523594.010138 1743523200.0 `1743523634.010134 1743523200.0 `1743523644.01014 1743523200.0 `1743523655.010145 1743523200.0 `1743523664.00913 1743523200.0 `1743523674.010136 1743523200.0 `1743523684.010142 1743523200.0 `1743523694.010136 1743523200.0 `1743523704.010135 1743523200.0 `1743523714.010135 1743523200.0 `1743523725.010138 1743523200.0 `1743523734.009128 1743523200.0 `1743523744.010154 1743523200.0 `1743523754.010136 1743523200.0 `1743523784.010133 1743523200.0 `1743523794.010133 1743523200.0 `1743523804.009149 1743523200.0 `1743523814.010139 1743523200.0 `1743523824.010136 1743523200.0 `1743523834.010136 1743523200.0 `1743523844.010134 1743523200.0 `1743523854.010136 1743523200.0 `1743523864.010159 1743523200.0 `1743523874.009128 1743523200.0 `1743523884.010138 1743523200.0 `1743523894.010135 1743523200.0 `1743523924.010204 1743523200.0 `1743523934.010137 1743523200.0 `1743523944.009125 1743523200.0 `1743523954.010144 1743523200.0 `1743523964.010161 1743523200.0 `1743523974.010138 1743523200.0 `1743523984.010149 1743523200.0 `1743523994.010135 1743523200.0 `1743524004.010137 1743523200.0 `1743524014.009129 1743523200.0 `1743524044.010171 1743523200.0 `1743524054.010137 1743523200.0 `1743524064.010137 1743523200.0 `1743524074.010134 1743523200.0 `1743524084.009132 1743523200.0 `1743524094.010135 1743523200.0 `1743524104.010154 1743524100.0 `1743524114.010137 1743524100.0 `1743524124.010134 1743524100.0 `1743524134.010134 1743524100.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, 340, 341, 342, 343, 344], [345, 346, 347, 348]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.015896320343017578 ***** 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 result_one_balle_Type_JRM:{'day': '01042025', 'map_nb_amount': {0: 0, 1: 14, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.999979019165, 'nb_balles_papier': 0.00014000000000000001, 'begin_time_port': 'image_01042025_16_15_04_10159.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00014000000000000001 We reject this portfolio because of the condition_save_data : 2025-04-01 16:15:04.010159 result_one_balle_Type_JRM:{'day': '01042025', 'map_nb_amount': {0: 3, 1: 64, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.0009970664978, 'nb_balles_papier': 0.0007100000000000012, 'begin_time_port': 'image_01042025_16_30_03_009142m0.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.0007100000000000012 We reject this portfolio because of the condition_save_data : 2025-04-01 16:30:03.009142 result_one_balle_Type_JRM:{'day': '01042025', 'map_nb_amount': {0: 1, 1: 62, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999809265137, 'nb_balles_papier': 0.0006500000000000011, 'begin_time_port': 'image_01042025_16_45_04_010154m0.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.0006500000000000011 We reject this portfolio because of the condition_save_data : 2025-04-01 16:45:04.010154 ERROR missing amount info result_one_balle_Type_JRM:{'day': '01042025', 'map_nb_amount': {0: 4, 1: 49, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9989709854126, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_01042025_17_00_04_010153m0.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.0005900000000000009 We reject this portfolio because of the condition_save_data : 2025-04-01 17:00:04.010153 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': '01042025', 'map_nb_amount': {0: 1, 1: 53, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 859.9989697933197, 'nb_balles_papier': 0.000630000000000001, 'begin_time_port': 'image_01042025_17_15_03_010157m0.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-04-01 17:15:03.010157 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 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '01042025', 'map_nb_amount': {0: 1, 1: 28, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 798.9999969005585, 'nb_balles_papier': 0.0003300000000000002, 'begin_time_port': 'image_01042025_18_01_35_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.0003300000000000002 We have rejected 8 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 1 We need to add photos : {1349319618, 1349319621, 1349319558, 1349319625, 1349319563, 1349319627, 1349319568, 1349319572, 1349319668, 1349319607, 1349319614} Still a lot to verify ! Qualite : 0.05374823424465672 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`=21952036 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.3909721374511719 # DISPLAY ALL COLLECTED DATA : {'01042025': {'nb_upload': 349, 'nb_taggue_class': 1613, 'nb_taggue_densite': 1613}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349319668, 1349319664, 1349319661, 1349319657, 1349319654, 1349319627, 1349319625, 1349319621, 1349319618, 1349319614, 1349319607, 1349319572, 1349319568, 1349319563, 1349319558, 1349319540, 1349319522, 1349319515, 1349319489, 1349319486, 1349319483, 1349319334, 1349319326, 1349319322, 1349319315, 1349319017, 1349318972, 1349318957, 1349318873, 1349318839, 1349318812, 1349318478, 1349318461, 1349318409, 1349318354, 1349318021, 1349318004, 1349317975, 1349317950, 1349317921, 1349317896, 1349317799, 1349317795, 1349317792, 1349317773, 1349317757, 1349317394, 1349317374, 1349317352, 1349317328, 1349316957, 1349316944, 1349316908, 1349316836, 1349316768, 1349316109, 1349316053, 1349315976, 1349315927, 1349315137, 1349315048, 1349314297, 1349314231, 1349313617, 1349313551, 1349313504, 1349311559, 1349310947, 1349310219, 1349309977, 1349309923, 1349309889, 1349309884, 1349309877, 1349309872, 1349309867, 1349309862, 1349309786, 1349309759, 1349309740, 1349309737, 1349309735, 1349309591, 1349309580, 1349309570, 1349309558, 1349309536, 1349309510, 1349309500, 1349309485, 1349309481, 1349309436, 1349309432, 1349309428, 1349309427, 1349309262, 1349309256, 1349309251, 1349309241, 1349309231] Looping around the photos to save general results len do output : 1 /21928783Didn'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, '2713888') ('4876', '21928783', '1349319668', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319664', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319661', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319657', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319654', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319627', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319625', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319621', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319618', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319614', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319607', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319572', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319568', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319563', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319558', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319540', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319522', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319515', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319489', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319486', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319483', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319334', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319326', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319322', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319315', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349319017', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349318972', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349318957', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349318873', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349318839', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349318812', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349318478', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349318461', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349318409', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349318354', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349318021', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349318004', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317975', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317950', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317921', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317896', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317799', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317795', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317792', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317773', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317757', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317394', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317374', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317352', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349317328', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349316957', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349316944', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349316908', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349316836', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349316768', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349316109', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349316053', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349315976', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349315927', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349315137', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349315048', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349314297', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349314231', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349313617', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349313551', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349313504', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349311559', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349310947', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349310219', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309977', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309923', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309889', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309884', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309877', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309872', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309867', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309862', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309786', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309759', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309740', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309737', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309735', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309591', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309580', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309570', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309558', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309536', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309510', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309500', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309485', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309481', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309436', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309432', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309428', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309427', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309262', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309256', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309251', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309241', None, None, None, None, None, '2713888') ('4876', None, None, None, None, None, None, None, '2713888') ('4876', '21928783', '1349309231', None, None, None, None, None, '2713888') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.026643991470336914 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7359142303466797 time spend to save output : 0.027573108673095703 total time spend for step 1 : 0.7634873390197754 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.19user 0.47system 0:05.32elapsed 31%CPU (0avgtext+0avgdata 102228maxresident)k 0inputs+88outputs (5major+49291minor)pagefaults 0swaps