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 : 1665155 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 : 2384>1000 please execute split_portfolio.py -i 20762130 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2610469'] with mtr_portfolio_ids : ['20762130'] and first list_photo_ids : [] new path : /proc/1665155/ 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.029862642288208008 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Feb 24 18:02: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'}] (('05', 179), ('06', 292), ('07', 200), ('08', 265), ('09', 97), ('10', 274), ('11', 250), ('12', 54), ('13', 87), ('14', 84), ('15', 276), ('16', 181), ('17', 145)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2249} 24022025 20762130 Nombre de photos uploadées : 322 / 23040 (1%) 24022025 20762130 Nombre de photos taguées (types de déchets): 2249 / 322 (698%) 24022025 20762130 Nombre de photos taguées (volume) : 2249 / 322 (698%) elapsed_time : load_data_split_time_score 4.76837158203125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0009195804595947266 ???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.07695317268371582 elapsed_time : insert_dashboard_record_day_entry 0.022123336791992188 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 elapsed_time : list_photo_by_hashtags 0.012273550033569336 photos_removed : len 0 elapsed_time : load_duplicate_info 0.02556324005126953 ***** BEGIN SPLIT TIME ***** True 1740355200.0 `1740409244.010136 1740409200.0 `1740409264.010156 1740409200.0 `1740409274.010137 1740409200.0 `1740409284.010135 1740409200.0 `1740409294.010136 1740409200.0 `1740409304.009128 1740409200.0 `1740409314.010175 1740409200.0 `1740409324.010149 1740409200.0 `1740409334.010138 1740409200.0 `1740409364.010136 1740409200.0 `1740409384.010144 1740409200.0 `1740409404.010139 1740409200.0 `1740409954.009125 1740409200.0 `1740410434.010143 1740410100.0 `1740410444.010138 1740410100.0 `1740410454.010137 1740410100.0 `1740410464.009144 1740410100.0 `1740410474.010136 1740410100.0 `1740410494.010145 1740410100.0 `1740410504.010137 1740410100.0 `1740410514.010137 1740410100.0 `1740410524.010145 1740410100.0 `1740410533.009128 1740410100.0 `1740410544.010135 1740410100.0 `1740410594.010136 1740410100.0 `1740410603.009124 1740410100.0 `1740410614.010135 1740410100.0 `1740410634.010134 1740410100.0 `1740410644.010151 1740410100.0 `1740410654.010133 1740410100.0 `1740410684.009129 1740410100.0 `1740410694.010139 1740410100.0 `1740410704.010141 1740410100.0 `1740410714.010137 1740410100.0 `1740410734.010143 1740410100.0 `1740410744.010138 1740410100.0 `1740410754.009125 1740410100.0 `1740410764.010153 1740410100.0 `1740410774.010137 1740410100.0 `1740410784.010135 1740410100.0 `1740410794.010133 1740410100.0 `1740410834.010138 1740410100.0 `1740410854.010136 1740410100.0 `1740410874.010137 1740410100.0 `1740410884.010146 1740410100.0 `1740410893.009129 1740410100.0 `1740410904.010135 1740410100.0 `1740410914.010139 1740410100.0 `1740410924.010139 1740410100.0 `1740410934.01014 1740410100.0 `1740410944.010143 1740410100.0 `1740410954.010137 1740410100.0 `1740410964.010136 1740410100.0 `1740410974.009126 1740410100.0 `1740410984.010135 1740410100.0 `1740411024.010133 1740411000.0 `1740411034.010134 1740411000.0 `1740411044.009124 1740411000.0 `1740411054.010136 1740411000.0 `1740411064.010151 1740411000.0 `1740411074.010135 1740411000.0 `1740411084.010154 1740411000.0 `1740411094.010141 1740411000.0 `1740411104.010135 1740411000.0 `1740411113.009127 1740411000.0 `1740411124.010142 1740411000.0 `1740411134.010137 1740411000.0 `1740411144.010133 1740411000.0 `1740411164.010133 1740411000.0 `1740411174.010135 1740411000.0 `1740411183.00915 1740411000.0 `1740411194.010136 1740411000.0 `1740411214.010134 1740411000.0 `1740411224.010137 1740411000.0 `1740411234.010137 1740411000.0 `1740411244.010178 1740411000.0 `1740411253.009128 1740411000.0 `1740411274.010135 1740411000.0 `1740411294.010138 1740411000.0 `1740411304.01014 1740411000.0 `1740411324.010137 1740411000.0 `1740411374.01014 1740411000.0 `1740411384.010137 1740411000.0 `1740411504.010136 1740411000.0 `1740411514.010138 1740411000.0 `1740411524.010133 1740411000.0 `1740411534.010135 1740411000.0 `1740411543.009127 1740411000.0 `1740411554.010137 1740411000.0 `1740411564.010146 1740411000.0 `1740411584.010139 1740411000.0 `1740411604.010138 1740411000.0 `1740411614.010143 1740411000.0 `1740411624.009125 1740411000.0 `1740411634.010135 1740411000.0 `1740411644.010137 1740411000.0 `1740411654.010137 1740411000.0 `1740411674.010136 1740411000.0 `1740411684.010134 1740411000.0 `1740411724.010154 1740411000.0 `1740411744.010134 1740411000.0 `1740411754.010142 1740411000.0 `1740411763.009127 1740411000.0 `1740411774.010136 1740411000.0 `1740411784.010149 1740411000.0 `1740411794.010136 1740411000.0 `1740411804.010135 1740411000.0 `1740411814.010133 1740411000.0 `1740411834.010136 1740411000.0 `1740411844.009126 1740411000.0 `1740411864.010133 1740411000.0 `1740411874.010133 1740411000.0 `1740411884.010136 1740411000.0 `1740411894.010137 1740411000.0 `1740411904.01014 1740411900.0 `1740411913.009127 1740411900.0 `1740411924.010135 1740411900.0 `1740411934.010137 1740411900.0 `1740411944.010143 1740411900.0 `1740411954.010138 1740411900.0 `1740411964.010155 1740411900.0 `1740411974.010137 1740411900.0 `1740412014.010142 1740411900.0 `1740412024.010152 1740411900.0 `1740412034.010134 1740411900.0 `1740412044.010136 1740411900.0 `1740412053.009134 1740411900.0 `1740412064.010148 1740411900.0 `1740412074.010137 1740411900.0 `1740412084.010144 1740411900.0 `1740412094.010137 1740411900.0 `1740412104.010136 1740411900.0 `1740412144.010153 1740411900.0 `1740412154.010137 1740411900.0 `1740412164.010135 1740411900.0 `1740412174.010143 1740411900.0 `1740412184.010146 1740411900.0 `1740412194.01014 1740411900.0 `1740412214.010136 1740411900.0 `1740412224.010135 1740411900.0 `1740412234.010135 1740411900.0 `1740412244.010136 1740411900.0 `1740412254.010136 1740411900.0 `1740412264.010147 1740411900.0 `1740412273.009127 1740411900.0 `1740412304.010141 1740411900.0 `1740412314.010135 1740411900.0 `1740412324.010145 1740411900.0 `1740412343.009124 1740411900.0 `1740412354.010139 1740411900.0 `1740412364.010141 1740411900.0 `1740412384.010149 1740411900.0 `1740412404.010136 1740411900.0 `1740412424.009127 1740411900.0 `1740412434.010135 1740411900.0 `1740412444.010142 1740411900.0 `1740412454.010135 1740411900.0 `1740412464.010135 1740411900.0 `1740412504.010153 1740411900.0 `1740412514.01014 1740411900.0 `1740412524.010142 1740411900.0 `1740412534.010148 1740411900.0 `1740412544.010145 1740411900.0 `1740412554.010141 1740411900.0 `1740412563.009129 1740411900.0 `1740412574.010136 1740411900.0 `1740412584.010135 1740411900.0 `1740412594.010134 1740411900.0 `1740412633.009126 1740411900.0 `1740412644.010135 1740411900.0 `1740412654.010137 1740411900.0 `1740412664.010138 1740411900.0 `1740412674.010136 1740411900.0 `1740412684.01017 1740411900.0 `1740412694.010136 1740411900.0 `1740412703.009124 1740411900.0 `1740412753.01002 1740411900.0 `1740412833.009124 1740412800.0 `1740412843.010134 1740412800.0 `1740412854.010135 1740412800.0 `1740412874.010137 1740412800.0 `1740412894.010139 1740412800.0 `1740412913.010139 1740412800.0 `1740412924.010153 1740412800.0 `1740412934.010141 1740412800.0 `1740412944.010137 1740412800.0 `1740412954.010143 1740412800.0 `1740412964.010148 1740412800.0 `1740412973.009188 1740412800.0 `1740413004.010133 1740412800.0 `1740413014.010134 1740412800.0 `1740413024.010136 1740412800.0 `1740413034.010137 1740412800.0 `1740413043.009141 1740412800.0 `1740413053.010139 1740412800.0 `1740413064.010134 1740412800.0 `1740413074.010135 1740412800.0 `1740413084.010136 1740412800.0 `1740413094.010135 1740412800.0 `1740413104.010155 1740412800.0 `1740413113.009127 1740412800.0 `1740413123.010144 1740412800.0 `1740413134.010134 1740412800.0 `1740413154.010135 1740412800.0 `1740413164.010151 1740412800.0 `1740413174.010134 1740412800.0 `1740413183.00913 1740412800.0 `1740413193.010135 1740412800.0 `1740413203.010139 1740412800.0 `1740413214.010137 1740412800.0 `1740413224.010148 1740412800.0 `1740413234.010136 1740412800.0 `1740413244.010134 1740412800.0 `1740413254.010135 1740412800.0 `1740413263.009126 1740412800.0 `1740413273.010144 1740412800.0 `1740413284.010149 1740412800.0 `1740413294.010141 1740412800.0 `1740413304.010149 1740412800.0 `1740413314.010133 1740412800.0 `1740413343.010151 1740412800.0 `1740413354.010141 1740412800.0 `1740413364.010137 1740412800.0 `1740413374.010144 1740412800.0 `1740413384.01014 1740412800.0 `1740413394.010135 1740412800.0 `1740413403.00914 1740412800.0 `1740413413.010138 1740412800.0 `1740413424.010137 1740412800.0 `1740413434.010134 1740412800.0 `1740413444.010136 1740412800.0 `1740413454.010137 1740412800.0 `1740413464.010179 1740412800.0 `1740413473.009124 1740412800.0 `1740413504.010135 1740412800.0 `1740413514.010138 1740412800.0 `1740413524.010138 1740412800.0 `1740413534.010137 1740412800.0 `1740413553.01014 1740412800.0 `1740413563.010141 1740412800.0 `1740413574.010136 1740412800.0 `1740413584.010137 1740412800.0 `1740413594.010137 1740412800.0 `1740413604.010143 1740412800.0 `1740413614.010137 1740412800.0 `1740413623.009127 1740412800.0 `1740413633.010136 1740412800.0 `1740413644.010159 1740412800.0 `1740413654.01014 1740412800.0 `1740413664.010137 1740412800.0 `1740413763.009132 1740413700.0 `1740413773.010136 1740413700.0 `1740413784.010135 1740413700.0 `1740413794.010144 1740413700.0 `1740413804.01014 1740413700.0 `1740413814.010136 1740413700.0 `1740413824.010142 1740413700.0 `1740413833.009124 1740413700.0 `1740413843.010134 1740413700.0 `1740413853.010134 1740413700.0 `1740413864.010137 1740413700.0 `1740413874.010139 1740413700.0 `1740413884.010141 1740413700.0 `1740413894.010136 1740413700.0 `1740413904.010134 1740413700.0 `1740413934.010134 1740413700.0 `1740413944.010136 1740413700.0 `1740413954.010137 1740413700.0 `1740413964.010142 1740413700.0 `1740413974.010137 1740413700.0 `1740413983.009127 1740413700.0 `1740413993.010139 1740413700.0 `1740414014.010138 1740413700.0 `1740414024.010136 1740413700.0 `1740414034.010135 1740413700.0 `1740414044.010137 1740413700.0 `1740414053.009127 1740413700.0 `1740414084.010139 1740413700.0 `1740414094.010134 1740413700.0 `1740414104.010137 1740413700.0 `1740414114.010136 1740413700.0 `1740414123.009146 1740413700.0 `1740414133.010136 1740413700.0 `1740414143.010135 1740413700.0 `1740414154.010139 1740413700.0 `1740414164.010135 1740413700.0 `1740414174.010135 1740413700.0 `1740414213.009123 1740413700.0 `1740414223.010135 1740413700.0 `1740414244.010138 1740413700.0 `1740414254.010137 1740413700.0 `1740414264.010148 1740413700.0 `1740414274.010141 1740413700.0 `1740414283.009126 1740413700.0 `1740414293.010136 1740413700.0 `1740414304.010139 1740413700.0 `1740414314.010137 1740413700.0 `1740414324.010134 1740413700.0 `1740414334.010136 1740413700.0 `1740414344.010136 1740413700.0 `1740414353.009128 1740413700.0 `1740414363.010138 1740413700.0 `1740414373.010137 1740413700.0 `1740414384.010135 1740413700.0 `1740414414.010135 1740413700.0 `1740414424.010147 1740413700.0 `1740414433.009129 1740413700.0 `1740414443.010135 1740413700.0 `1740414454.010139 1740413700.0 `1740414464.010141 1740413700.0 `1740414474.010138 1740413700.0 `1740414484.010148 1740413700.0 `1740414494.010142 1740413700.0 `1740414503.009126 1740413700.0 `1740414524.010136 1740413700.0 `1740414544.010157 1740413700.0 `1740414554.010137 1740413700.0 `1740414564.010135 1740413700.0 `1740414573.009132 1740413700.0 `1740414873.010137 1740414600.0 `1740415424.010139 1740414600.0 `1740415974.010137 1740415500.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.03127884864807129 ***** END SPLIT TIME ***** NUMBER BATCH : 8 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '24022025', 'map_nb_amount': {0: 0, 1: 8, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 709.9989891052246, 'nb_balles_papier': 0.00011, 'begin_time_port': 'image_24022025_16_00_44_10136.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00011 We reject this portfolio because of the condition_save_data : 2025-02-24 16:00:44.010136 result_one_balle_Type_JRM:{'day': '24022025', 'map_nb_amount': {0: 4, 1: 30, 2: 8, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 549.9999918937683, 'nb_balles_papier': 0.00042000000000000045, 'begin_time_port': 'image_24022025_16_20_34_010143m0.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.00042000000000000045 We reject this portfolio because of the condition_save_data : 2025-02-24 16:20:34.010143 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '24022025', 'map_nb_amount': {0: 4, 1: 42, 2: 8, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 870.0000040531158, 'nb_balles_papier': 0.0005500000000000008, 'begin_time_port': 'image_24022025_16_30_24_010133m0.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.0005500000000000008 We reject this portfolio because of the condition_save_data : 2025-02-24 16:30:24.010133 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': '24022025', 'map_nb_amount': {0: 4, 1: 44, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 848.9998800754547, 'nb_balles_papier': 0.0005800000000000009, 'begin_time_port': 'image_24022025_16_45_04_010140m0.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.0005800000000000009 We reject this portfolio because of the condition_save_data : 2025-02-24 16:45:04.010140 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': '24022025', 'map_nb_amount': {0: 5, 1: 44, 2: 16, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 831.0010130405426, 'nb_balles_papier': 0.0006500000000000011, 'begin_time_port': 'image_24022025_17_00_33_009124m0.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.0006500000000000011 We reject this portfolio because of the condition_save_data : 2025-02-24 17:00:33.009124 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': '24022025', 'map_nb_amount': {0: 6, 1: 31, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 810.0, 'nb_balles_papier': 0.0004300000000000005, 'begin_time_port': 'image_24022025_17_16_03_9132.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004300000000000005 We have rejected 3 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 1 Still a lot to verify ! Qualite : 0.04352335859269809 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`=20778025 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.29576873779296875 # DISPLAY ALL COLLECTED DATA : {'24022025': {'nb_upload': 322, 'nb_taggue_class': 2249, 'nb_taggue_densite': 2249}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339367895, 1339366761, 1339366335, 1339365907, 1339365904, 1339365901, 1339365896, 1339365885, 1339365865, 1339365862, 1339365856, 1339365852, 1339365696, 1339365694, 1339365690, 1339365687, 1339365684, 1339365680, 1339365665, 1339365662, 1339365658, 1339365654, 1339365632, 1339365627, 1339365617, 1339365560, 1339365555, 1339365547, 1339365519, 1339365501, 1339365497, 1339365492, 1339365481, 1339365477, 1339365420, 1339365414, 1339365246, 1339365243, 1339365239, 1339365109, 1339365016, 1339364923, 1339364681, 1339364667, 1339364663, 1339364636, 1339364599, 1339364596, 1339364591, 1339364582, 1339364578, 1339364566, 1339364531, 1339364527, 1339364523, 1339364486, 1339364480, 1339364290, 1339364287, 1339364283, 1339364044, 1339363630, 1339363627, 1339363624, 1339363617, 1339363612, 1339363610, 1339363588, 1339363586, 1339363583, 1339363575, 1339363571, 1339363561, 1339363210, 1339363207, 1339363204, 1339363101, 1339363099, 1339363097, 1339363065, 1339363056, 1339363049, 1339362750, 1339362748, 1339362745, 1339362742, 1339362737, 1339362706, 1339362702, 1339362699, 1339362695, 1339362541, 1339362534, 1339362528, 1339362522, 1339362513, 1339362508, 1339362457, 1339362454, 1339362448] Looping around the photos to save general results len do output : 1 /20762130Didn'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, '2610469') ('4876', '20762130', '1339367895', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339366761', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339366335', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365907', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365904', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365901', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365896', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365885', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365865', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365862', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365856', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365852', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365696', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365694', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365690', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365687', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365684', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365680', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365665', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365662', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365658', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365654', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365632', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365627', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365617', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365560', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365555', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365547', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365519', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365501', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365497', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365492', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365481', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365477', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365420', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365414', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365246', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365243', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365239', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365109', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339365016', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364923', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364681', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364667', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364663', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364636', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364599', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364596', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364591', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364582', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364578', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364566', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364531', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364527', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364523', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364486', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364480', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364290', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364287', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364283', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339364044', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363630', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363627', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363624', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363617', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363612', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363610', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363588', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363586', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363583', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363575', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363571', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363561', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363210', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363207', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363204', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363101', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363099', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363097', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363065', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363056', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339363049', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362750', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362748', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362745', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362742', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362737', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362706', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362702', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362699', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362695', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362541', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362534', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362528', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362522', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362513', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362508', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362457', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362454', None, None, None, None, None, '2610469') ('4876', None, None, None, None, None, None, None, '2610469') ('4876', '20762130', '1339362448', None, None, None, None, None, '2610469') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.026747465133666992 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.71756911277771 time spend to save output : 0.027568340301513672 total time spend for step 1 : 0.7451374530792236 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.59user 0.71system 0:04.36elapsed 52%CPU (0avgtext+0avgdata 103268maxresident)k 4656inputs+80outputs (25major+49750minor)pagefaults 0swaps