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 : 1061524 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 : 1477>1000 please execute split_portfolio.py -i 20166663 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2541664'] with mtr_portfolio_ids : ['20166663'] and first list_photo_ids : [] new path : /proc/1061524/ 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.030387401580810547 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Feb 3 18:20: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'}] (('05', 78), ('06', 2), ('07', 2), ('08', 2), ('09', 126), ('10', 125), ('11', 204), ('12', 56), ('13', 90), ('14', 186), ('15', 225), ('16', 204), ('17', 123), ('18', 54)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1224} 03022025 20166663 Nombre de photos uploadées : 314 / 23040 (1%) 03022025 20166663 Nombre de photos taguées (types de déchets): 1224 / 314 (389%) 03022025 20166663 Nombre de photos taguées (volume) : 1224 / 314 (389%) elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0008020401000976562 ?????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.014071226119995117 elapsed_time : insert_dashboard_record_day_entry 0.024075984954833984 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None 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.012312889099121094 photos_removed : len 0 elapsed_time : load_duplicate_info 0.018605470657348633 ***** BEGIN SPLIT TIME ***** True 1738540800.0 `1738595984.010148 1738595700.0 `1738596004.010154 1738595700.0 `1738596104.010143 1738595700.0 `1738596114.010134 1738595700.0 `1738596134.010137 1738595700.0 `1738596144.010135 1738595700.0 `1738596154.010138 1738595700.0 `1738596164.009133 1738595700.0 `1738596174.010137 1738595700.0 `1738596184.010159 1738595700.0 `1738596214.010135 1738595700.0 `1738596224.010134 1738595700.0 `1738596414.010136 1738595700.0 `1738596424.010152 1738595700.0 `1738596443.009122 1738595700.0 `1738596454.01014 1738595700.0 `1738596464.010143 1738595700.0 `1738596474.010138 1738595700.0 `1738596484.01016 1738595700.0 `1738596494.010141 1738595700.0 `1738596504.010134 1738595700.0 `1738596513.009131 1738595700.0 `1738596524.01014 1738595700.0 `1738596534.010136 1738595700.0 `1738596544.010158 1738595700.0 `1738596564.010136 1738595700.0 `1738596574.010136 1738595700.0 `1738596594.010138 1738595700.0 `1738596604.010145 1738596600.0 `1738596614.010136 1738596600.0 `1738596624.010134 1738596600.0 `1738596634.010133 1738596600.0 `1738596674.010138 1738596600.0 `1738596694.010134 1738596600.0 `1738596714.01014 1738596600.0 `1738596724.010145 1738596600.0 `1738596733.009128 1738596600.0 `1738596744.010135 1738596600.0 `1738596774.01014 1738596600.0 `1738596784.010153 1738596600.0 `1738596794.010138 1738596600.0 `1738596814.010134 1738596600.0 `1738596824.010136 1738596600.0 `1738596844.01017 1738596600.0 `1738596854.010146 1738596600.0 `1738596884.010145 1738596600.0 `1738596894.010145 1738596600.0 `1738596934.010139 1738596600.0 `1738596943.009131 1738596600.0 `1738596954.01014 1738596600.0 `1738596964.010137 1738596600.0 `1738596974.010136 1738596600.0 `1738596984.010134 1738596600.0 `1738597004.01014 1738596600.0 `1738597013.009129 1738596600.0 `1738597034.010137 1738596600.0 `1738597044.01014 1738596600.0 `1738597054.010135 1738596600.0 `1738597064.010141 1738596600.0 `1738597094.009126 1738596600.0 `1738597104.010137 1738596600.0 `1738597114.010137 1738596600.0 `1738597124.010138 1738596600.0 `1738597144.01015 1738596600.0 `1738597164.009125 1738596600.0 `1738597174.010148 1738596600.0 `1738597184.01014 1738596600.0 `1738597324.010152 1738596600.0 `1738597334.010138 1738596600.0 `1738597384.010146 1738596600.0 `1738597394.010139 1738596600.0 `1738597424.01014 1738596600.0 `1738597443.009139 1738596600.0 `1738597454.010141 1738596600.0 `1738597464.010137 1738596600.0 `1738597474.010147 1738596600.0 `1738597494.010138 1738596600.0 `1738597504.010183 1738597500.0 `1738597524.010149 1738597500.0 `1738597534.010139 1738597500.0 `1738597554.010138 1738597500.0 `1738597574.01014 1738597500.0 `1738597583.009126 1738597500.0 `1738597594.010142 1738597500.0 `1738597604.010142 1738597500.0 `1738597614.010136 1738597500.0 `1738597624.010163 1738597500.0 `1738597644.01014 1738597500.0 `1738597653.009122 1738597500.0 `1738597664.010134 1738597500.0 `1738597684.010159 1738597500.0 `1738597714.010137 1738597500.0 `1738597724.010139 1738597500.0 `1738597734.009125 1738597500.0 `1738597744.010153 1738597500.0 `1738597754.01014 1738597500.0 `1738597764.010136 1738597500.0 `1738597774.010146 1738597500.0 `1738597784.010137 1738597500.0 `1738597794.010138 1738597500.0 `1738597804.009145 1738597500.0 `1738597844.010133 1738597500.0 `1738597854.010139 1738597500.0 `1738597864.010153 1738597500.0 `1738597874.009125 1738597500.0 `1738597884.010144 1738597500.0 `1738597894.010151 1738597500.0 `1738597904.01015 1738597500.0 `1738597914.010138 1738597500.0 `1738597924.010147 1738597500.0 `1738597934.010141 1738597500.0 `1738597944.009126 1738597500.0 `1738597954.010135 1738597500.0 `1738597994.010141 1738597500.0 `1738598013.009123 1738597500.0 `1738598034.010154 1738597500.0 `1738598054.010135 1738597500.0 `1738598064.010136 1738597500.0 `1738598074.01014 1738597500.0 `1738598083.009131 1738597500.0 `1738598094.010145 1738597500.0 `1738598104.010155 1738597500.0 `1738598114.010139 1738597500.0 `1738598144.010138 1738597500.0 `1738598164.010142 1738597500.0 `1738598174.010142 1738597500.0 `1738598184.010142 1738597500.0 `1738598223.009127 1738597500.0 `1738598234.010136 1738597500.0 `1738598244.010141 1738597500.0 `1738598264.010142 1738597500.0 `1738598274.010139 1738597500.0 `1738598284.010139 1738597500.0 `1738598294.010138 1738597500.0 `1738598314.010136 1738597500.0 `1738598324.010136 1738597500.0 `1738598334.010142 1738597500.0 `1738598413.010203 1738598400.0 `1738598444.010135 1738598400.0 `1738598454.010135 1738598400.0 `1738598464.010157 1738598400.0 `1738598483.010142 1738598400.0 `1738598504.010145 1738598400.0 `1738598514.01014 1738598400.0 `1738598524.010161 1738598400.0 `1738598543.009127 1738598400.0 `1738598563.010142 1738598400.0 `1738598584.010154 1738598400.0 `1738598594.01014 1738598400.0 `1738598604.010137 1738598400.0 `1738598623.010147 1738598400.0 `1738598633.01014 1738598400.0 `1738598674.01014 1738598400.0 `1738598703.010142 1738598400.0 `1738598724.010138 1738598400.0 `1738598734.010147 1738598400.0 `1738598744.010143 1738598400.0 `1738598754.01014 1738598400.0 `1738598773.010142 1738598400.0 `1738598794.010136 1738598400.0 `1738598804.010139 1738598400.0 `1738598814.010142 1738598400.0 `1738598824.010156 1738598400.0 `1738598833.009132 1738598400.0 `1738598853.010146 1738598400.0 `1738598864.010145 1738598400.0 `1738598884.01016 1738598400.0 `1738598893.009134 1738598400.0 `1738598934.010137 1738598400.0 `1738598944.01015 1738598400.0 `1738598954.010142 1738598400.0 `1738598964.010144 1738598400.0 `1738598973.009132 1738598400.0 `1738598983.010152 1738598400.0 `1738598993.010142 1738598400.0 `1738599004.010167 1738598400.0 `1738599024.010137 1738598400.0 `1738599033.009126 1738598400.0 `1738599043.010138 1738598400.0 `1738599053.010139 1738598400.0 `1738599074.010138 1738598400.0 `1738599084.010138 1738598400.0 `1738599104.010137 1738598400.0 `1738599123.010138 1738598400.0 `1738599133.010139 1738598400.0 `1738599144.010139 1738598400.0 `1738599154.010143 1738598400.0 `1738599174.010152 1738598400.0 `1738599183.009152 1738598400.0 `1738599224.010134 1738598400.0 `1738599244.010154 1738598400.0 `1738599263.010146 1738598400.0 `1738599273.010145 1738598400.0 `1738599294.010136 1738598400.0 `1738599313.009132 1738599300.0 `1738599323.010135 1738599300.0 `1738599333.010137 1738599300.0 `1738599343.010141 1738599300.0 `1738599364.01014 1738599300.0 `1738599384.010137 1738599300.0 `1738599393.009159 1738599300.0 `1738599413.01014 1738599300.0 `1738599444.010142 1738599300.0 `1738599454.010144 1738599300.0 `1738599473.010137 1738599300.0 `1738599494.010139 1738599300.0 `1738599504.010134 1738599300.0 `1738599543.010151 1738599300.0 `1738599564.010139 1738599300.0 `1738599574.01014 1738599300.0 `1738599584.010148 1738599300.0 `1738599603.009132 1738599300.0 `1738599613.010141 1738599300.0 `1738599623.010139 1738599300.0 `1738599664.010141 1738599300.0 `1738599693.010142 1738599300.0 `1738599714.010139 1738599300.0 `1738599743.009124 1738599300.0 `1738599753.010139 1738599300.0 `1738599763.010153 1738599300.0 `1738599774.010142 1738599300.0 `1738599784.010149 1738599300.0 `1738599813.009128 1738599300.0 `1738599823.010154 1738599300.0 `1738599833.010138 1738599300.0 `1738599844.010152 1738599300.0 `1738599854.010145 1738599300.0 `1738599864.010135 1738599300.0 `1738599874.010144 1738599300.0 `1738599883.009132 1738599300.0 `1738599893.010148 1738599300.0 `1738599903.010159 1738599300.0 `1738599914.010146 1738599300.0 `1738599924.010144 1738599300.0 `1738599934.010137 1738599300.0 `1738599944.010138 1738599300.0 `1738599953.009134 1738599300.0 `1738599963.010149 1738599300.0 `1738599973.01014 1738599300.0 `1738599984.010134 1738599300.0 `1738600023.009148 1738599300.0 `1738600033.010138 1738599300.0 `1738600043.010134 1738599300.0 `1738600054.010153 1738599300.0 `1738600064.010144 1738599300.0 `1738600074.010141 1738599300.0 `1738600093.009125 1738599300.0 `1738600103.010135 1738599300.0 `1738600113.01014 1738599300.0 `1738600124.01014 1738599300.0 `1738600134.010135 1738599300.0 `1738600144.010147 1738599300.0 `1738600163.009131 1738599300.0 `1738600173.010141 1738599300.0 `1738600183.010142 1738599300.0 `1738600194.010137 1738599300.0 `1738600204.010157 1738600200.0 `1738600393.010158 1738600200.0 `1738600943.01014 1738600200.0 `1738601493.010154 1738601100.0 `1738602054.010135 1738602000.0 `1738602124.010144 1738602000.0 `1738602134.01014 1738602000.0 `1738602144.010143 1738602000.0 `1738602154.010142 1738602000.0 `1738602173.009129 1738602000.0 `1738602194.010142 1738602000.0 `1738602204.010135 1738602000.0 `1738602214.010138 1738602000.0 `1738602224.010144 1738602000.0 `1738602274.010143 1738602000.0 `1738602284.010143 1738602000.0 `1738602294.01014 1738602000.0 `1738602304.010152 1738602000.0 `1738602313.009131 1738602000.0 `1738602323.010144 1738602000.0 `1738602334.010158 1738602000.0 `1738602354.01014 1738602000.0 `1738602364.010139 1738602000.0 `1738602424.010142 1738602000.0 `1738602434.010136 1738602000.0 `1738602444.010135 1738602000.0 `1738602463.010146 1738602000.0 `1738602474.010138 1738602000.0 `1738602484.010143 1738602000.0 `1738602494.010138 1738602000.0 `1738602504.010136 1738602000.0 `1738602514.010141 1738602000.0 `1738602524.01014 1738602000.0 `1738602533.009127 1738602000.0 `1738602544.010154 1738602000.0 `1738602554.010137 1738602000.0 `1738602574.010142 1738602000.0 `1738602584.01014 1738602000.0 `1738602594.010141 1738602000.0 `1738602603.009147 1738602000.0 `1738602614.010145 1738602000.0 `1738602644.010141 1738602000.0 `1738602654.010135 1738602000.0 `1738602664.010152 1738602000.0 `1738602673.009129 1738602000.0 `1738602684.010166 1738602000.0 `1738602694.010153 1738602000.0 `1738602704.010146 1738602000.0 `1738602714.01014 1738602000.0 `1738602724.010164 1738602000.0 `1738602743.01015 1738602000.0 `1738602764.010136 1738602000.0 `1738602794.01014 1738602000.0 `1738602844.010156 1738602000.0 `1738602854.010139 1738602000.0 `1738603164.01015 1738602900.0 `1738603174.010153 1738602900.0 `1738603184.01015 1738602900.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.015407562255859375 ***** END SPLIT TIME ***** NUMBER BATCH : 9 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 4, 1: 11, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 609.9999899864197, 'nb_balles_papier': 0.00017, 'begin_time_port': 'image_03022025_16_19_44_10148.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00017 We reject this portfolio because of the condition_save_data : 2025-02-03 16:19:44.010148 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': '03022025', 'map_nb_amount': {0: 5, 1: 34, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999930858612, 'nb_balles_papier': 0.0004000000000000004, 'begin_time_port': 'image_03022025_16_30_04_010145m0.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.0004000000000000004 We reject this portfolio because of the condition_save_data : 2025-02-03 16:30:04.010145 result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 3, 1: 50, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.9999589920044, 'nb_balles_papier': 0.0006000000000000009, 'begin_time_port': 'image_03022025_16_45_04_010183m0.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.0006000000000000009 We reject this portfolio because of the condition_save_data : 2025-02-03 16:45:04.010183 ERROR missing amount info result_one_balle_Type_JRM:{'day': '03022025', 'map_nb_amount': {0: 1, 1: 48, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.9999330043793, 'nb_balles_papier': 0.0005600000000000008, 'begin_time_port': 'image_03022025_17_00_13_010203m0.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.0005600000000000008 We reject this portfolio because of the condition_save_data : 2025-02-03 17:00:13.010203 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': '03022025', 'map_nb_amount': {0: 8, 1: 38, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 881.0010051727295, 'nb_balles_papier': 0.0005100000000000007, 'begin_time_port': 'image_03022025_17_15_13_009132m0.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.0005100000000000007 We reject this portfolio because of the condition_save_data : 2025-02-03 17:15:13.009132 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 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': '03022025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 800.0000040531158, 'nb_balles_papier': 0, 'begin_time_port': 'image_03022025_18_00_54_10135.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We have rejected 7 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 1 We need to add photos : {1334282226} Still a lot to verify ! 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`=20187367 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.302814245223999 # DISPLAY ALL COLLECTED DATA : {'03022025': {'nb_upload': 314, 'nb_taggue_class': 1224, 'nb_taggue_densite': 1224}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1334282226, 1334282223, 1334282219, 1334282215, 1334281384, 1334281379, 1334281291, 1334281231, 1334281228, 1334281224, 1334281125, 1334281121, 1334281118, 1334281115, 1334281112, 1334281110, 1334281027, 1334280999, 1334280996, 1334280994, 1334280978, 1334280974, 1334280970, 1334280966, 1334280962, 1334280953, 1334280949, 1334280946, 1334280942, 1334280937, 1334280934, 1334280874, 1334280872, 1334280870, 1334280864, 1334280859, 1334280817, 1334280790, 1334280788, 1334280753, 1334280737, 1334280734, 1334280506, 1334280461, 1334280349, 1334279735, 1334279730, 1334279725, 1334279722, 1334279700, 1334279696, 1334279693, 1334279691, 1334279689, 1334279625, 1334276234, 1334273598, 1334269523, 1334268998, 1334268921, 1334268920, 1334268916, 1334268912, 1334268909, 1334268853, 1334268849, 1334268845, 1334268842, 1334268838, 1334268816, 1334268811, 1334268807, 1334268802, 1334268787, 1334268769, 1334268703, 1334268695, 1334268683, 1334268648, 1334268647, 1334268643, 1334268641, 1334268640, 1334268639, 1334268586, 1334268573, 1334268569, 1334268560, 1334268558, 1334268555, 1334268252, 1334268214, 1334268211, 1334268186, 1334267507, 1334267497, 1334267490, 1334267487, 1334267360, 1334267343] Looping around the photos to save general results len do output : 1 /20166663Didn'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, '2541664') ('4876', '20166663', '1334282226', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334282223', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334282219', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334282215', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281384', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281379', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281291', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281231', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281228', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281224', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281125', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281121', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281118', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281115', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281112', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281110', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334281027', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280999', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280996', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280994', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280978', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280974', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280970', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280966', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280962', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280953', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280949', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280946', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280942', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280937', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280934', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280874', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280872', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280870', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280864', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280859', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280817', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280790', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280788', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280753', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280737', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280734', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280506', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280461', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334280349', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334279735', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334279730', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334279725', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334279722', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334279700', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334279696', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334279693', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334279691', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334279689', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334279625', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334276234', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334273598', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334269523', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268998', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268921', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268920', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268916', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268912', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268909', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268853', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268849', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268845', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268842', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268838', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268816', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268811', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268807', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268802', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268787', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268769', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268703', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268695', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268683', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268648', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268647', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268643', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268641', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268640', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268639', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268586', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268573', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268569', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268560', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268558', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268555', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268252', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268214', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268211', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334268186', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334267507', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334267497', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334267490', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334267487', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334267360', None, None, None, None, None, '2541664') ('4876', None, None, None, None, None, None, None, '2541664') ('4876', '20166663', '1334267343', None, None, None, None, None, '2541664') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02819347381591797 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5726697444915771 time spend to save output : 0.02909541130065918 total time spend for step 1 : 0.6017651557922363 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.49user 0.57system 0:04.02elapsed 51%CPU (0avgtext+0avgdata 100780maxresident)k 0inputs+80outputs (2major+49137minor)pagefaults 0swaps