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 : 330081 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 : 1319>1000 please execute split_portfolio.py -i 20195867 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2546097'] with mtr_portfolio_ids : ['20195867'] and first list_photo_ids : [] new path : /proc/330081/ 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.14584040641784668 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Feb 4 16:28: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'}] (('01', 4), ('00', 12), ('02', 5), ('03', 6), ('04', 5), ('05', 2), ('06', 2), ('07', 4), ('08', 124), ('09', 113), ('10', 225), ('11', 141), ('12', 6), ('13', 44), ('14', 252), ('15', 262), ('16', 112)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 929} 04022025 20195867 Nombre de photos uploadées : 511 / 23040 (2%) 04022025 20195867 Nombre de photos taguées (types de déchets): 929 / 511 (181%) 04022025 20195867 Nombre de photos taguées (volume) : 929 / 511 (181%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0006132125854492188 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.04748177528381348 elapsed_time : insert_dashboard_record_day_entry 0.02526688575744629 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 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.019348621368408203 photos_removed : len 0 elapsed_time : load_duplicate_info 0.028064966201782227 ***** BEGIN SPLIT TIME ***** True 1738627200.0 `1738675674.010137 1738674900.0 `1738675684.010145 1738674900.0 `1738675694.010143 1738674900.0 `1738675714.010153 1738674900.0 `1738675733.010138 1738674900.0 `1738675754.01014 1738674900.0 `1738675764.010143 1738674900.0 `1738675774.010163 1738674900.0 `1738675784.010143 1738674900.0 `1738675793.009133 1738674900.0 `1738675804.010187 1738675800.0 `1738675814.010142 1738675800.0 `1738675824.010134 1738675800.0 `1738675834.010136 1738675800.0 `1738675844.010136 1738675800.0 `1738675884.010143 1738675800.0 `1738675894.010133 1738675800.0 `1738675914.010134 1738675800.0 `1738675944.010135 1738675800.0 `1738675954.010142 1738675800.0 `1738675964.010145 1738675800.0 `1738675974.010134 1738675800.0 `1738675984.010154 1738675800.0 `1738675994.010137 1738675800.0 `1738676003.009125 1738675800.0 `1738676014.010146 1738675800.0 `1738676024.010143 1738675800.0 `1738676034.010144 1738675800.0 `1738676064.010133 1738675800.0 `1738676073.009124 1738675800.0 `1738676124.010136 1738675800.0 `1738676143.009135 1738675800.0 `1738676154.010134 1738675800.0 `1738676164.010142 1738675800.0 `1738676174.010151 1738675800.0 `1738676184.010136 1738675800.0 `1738676194.010145 1738675800.0 `1738676204.010145 1738675800.0 `1738676213.009129 1738675800.0 `1738676224.010154 1738675800.0 `1738676254.010146 1738675800.0 `1738676264.010148 1738675800.0 `1738676274.010139 1738675800.0 `1738676283.009149 1738675800.0 `1738676294.010155 1738675800.0 `1738676304.010138 1738675800.0 `1738676314.010152 1738675800.0 `1738676324.010142 1738675800.0 `1738676334.010138 1738675800.0 `1738676344.010156 1738675800.0 `1738676364.010154 1738675800.0 `1738676374.010138 1738675800.0 `1738676384.010136 1738675800.0 `1738676394.010145 1738675800.0 `1738676423.009125 1738675800.0 `1738676434.010148 1738675800.0 `1738676444.01014 1738675800.0 `1738676454.010138 1738675800.0 `1738676464.01014 1738675800.0 `1738676474.010139 1738675800.0 `1738676484.010136 1738675800.0 `1738676493.00913 1738675800.0 `1738676514.010138 1738675800.0 `1738676524.010165 1738675800.0 `1738676534.010141 1738675800.0 `1738676574.010134 1738675800.0 `1738676584.010152 1738675800.0 `1738676594.010139 1738675800.0 `1738676604.010151 1738675800.0 `1738676614.010142 1738675800.0 `1738676624.010143 1738675800.0 `1738676633.009127 1738675800.0 `1738676744.010145 1738676700.0 `1738676754.010138 1738676700.0 `1738676764.01015 1738676700.0 `1738676773.009126 1738676700.0 `1738676794.010156 1738676700.0 `1738676804.010156 1738676700.0 `1738676814.010139 1738676700.0 `1738676824.010153 1738676700.0 `1738676834.010138 1738676700.0 `1738676843.009124 1738676700.0 `1738676884.010149 1738676700.0 `1738676994.010151 1738676700.0 `1738677004.01016 1738676700.0 `1738677014.010135 1738676700.0 `1738677024.010137 1738676700.0 `1738677044.010144 1738676700.0 `1738677053.009126 1738676700.0 `1738677064.010166 1738676700.0 `1738677074.010135 1738676700.0 `1738677104.010133 1738676700.0 `1738677114.010137 1738676700.0 `1738677123.009143 1738676700.0 `1738677134.010154 1738676700.0 `1738677144.010139 1738676700.0 `1738677154.010139 1738676700.0 `1738677174.010138 1738676700.0 `1738677184.010149 1738676700.0 `1738677203.010143 1738676700.0 `1738677214.010137 1738676700.0 `1738677224.010136 1738676700.0 `1738677234.010143 1738676700.0 `1738677244.010164 1738676700.0 `1738677254.010136 1738676700.0 `1738677263.009121 1738676700.0 `1738677294.010136 1738676700.0 `1738677304.010151 1738676700.0 `1738677313.009131 1738676700.0 `1738677324.010142 1738676700.0 `1738677334.010147 1738676700.0 `1738677344.010146 1738676700.0 `1738677354.010135 1738676700.0 `1738677364.010144 1738676700.0 `1738677374.010148 1738676700.0 `1738677383.009124 1738676700.0 `1738677394.010135 1738676700.0 `1738677404.010137 1738676700.0 `1738677414.01014 1738676700.0 `1738677444.010132 1738676700.0 `1738677453.009122 1738676700.0 `1738677463.010137 1738676700.0 `1738677474.010136 1738676700.0 `1738677484.01015 1738676700.0 `1738677494.010139 1738676700.0 `1738677504.010136 1738676700.0 `1738677533.010149 1738676700.0 `1738677533.010149 1738676700.0 `1738677554.010985 1738676700.0 `1738677554.010985 1738676700.0 `1738677564.009131 1738676700.0 `1738677564.009131 1738676700.0 `1738677574.010138 1738676700.0 `1738677574.010138 1738676700.0 `1738677584.010136 1738676700.0 `1738677584.010136 1738676700.0 `1738677594.010136 1738676700.0 `1738677624.010134 1738677600.0 `1738677644.010133 1738677600.0 `1738677654.010135 1738677600.0 `1738677664.010154 1738677600.0 `1738677674.01014 1738677600.0 `1738677684.010136 1738677600.0 `1738677694.010144 1738677600.0 `1738677704.009133 1738677600.0 `1738677714.010142 1738677600.0 `1738677724.010166 1738677600.0 `1738677734.010138 1738677600.0 `1738677754.010138 1738677600.0 `1738677764.010139 1738677600.0 `1738677774.009127 1738677600.0 `1738677814.010136 1738677600.0 `1738677824.010134 1738677600.0 `1738677834.010136 1738677600.0 `1738677844.009144 1738677600.0 `1738677854.01014 1738677600.0 `1738677864.010136 1738677600.0 `1738677874.01014 1738677600.0 `1738677884.010151 1738677600.0 `1738677894.01014 1738677600.0 `1738677904.01015 1738677600.0 `1738677913.009131 1738677600.0 `1738677924.010144 1738677600.0 `1738677934.010139 1738677600.0 `1738677944.010138 1738677600.0 `1738677984.010138 1738677600.0 `1738678004.010136 1738677600.0 `1738678014.01014 1738677600.0 `1738678024.010169 1738677600.0 `1738678034.010141 1738677600.0 `1738678044.010136 1738677600.0 `1738678054.010147 1738677600.0 `1738678064.009138 1738677600.0 `1738678074.010146 1738677600.0 `1738678084.01016 1738677600.0 `1738678094.010139 1738677600.0 `1738678104.010137 1738677600.0 `1738678114.010136 1738677600.0 `1738678124.010136 1738677600.0 `1738678134.009127 1738677600.0 `1738678174.010134 1738677600.0 `1738678184.010135 1738677600.0 `1738678194.010134 1738677600.0 `1738678204.009147 1738677600.0 `1738678214.010141 1738677600.0 `1738678224.010137 1738677600.0 `1738678234.010164 1738677600.0 `1738678254.010141 1738677600.0 `1738678274.009126 1738677600.0 `1738678304.010138 1738677600.0 `1738678344.009126 1738677600.0 `1738678354.010141 1738677600.0 `1738678364.010144 1738677600.0 `1738678394.01014 1738677600.0 `1738678404.010134 1738677600.0 `1738678444.010143 1738677600.0 `1738678454.010135 1738677600.0 `1738678494.010174 1738677600.0 `1738678504.010154 1738678500.0 `1738678514.010139 1738678500.0 `1738678524.010175 1738678500.0 `1738678534.010142 1738678500.0 `1738678544.010141 1738678500.0 `1738678554.009126 1738678500.0 `1738678564.010155 1738678500.0 `1738678574.010141 1738678500.0 `1738678584.010135 1738678500.0 `1738678594.010141 1738678500.0 `1738678634.010135 1738678500.0 `1738678644.010141 1738678500.0 `1738678654.010146 1738678500.0 `1738678664.010196 1738678500.0 `1738678674.010139 1738678500.0 `1738678684.010144 1738678500.0 `1738678694.009124 1738678500.0 `1738678704.010135 1738678500.0 `1738678714.010136 1738678500.0 `1738678724.010136 1738678500.0 `1738678734.010138 1738678500.0 `1738678744.010152 1738678500.0 `1738678774.010137 1738678500.0 `1738678784.010133 1738678500.0 `1738678814.010135 1738678500.0 `1738678824.010133 1738678500.0 `1738678834.010135 1738678500.0 `1738678844.009129 1738678500.0 `1738678854.010138 1738678500.0 `1738678864.010158 1738678500.0 `1738678874.010136 1738678500.0 `1738678884.010134 1738678500.0 `1738678894.010136 1738678500.0 `1738678904.010136 1738678500.0 `1738678934.010139 1738678500.0 `1738678944.010134 1738678500.0 `1738678954.010136 1738678500.0 `1738678964.010134 1738678500.0 `1738678974.010138 1738678500.0 `1738678984.009146 1738678500.0 `1738678994.010188 1738678500.0 `1738679014.010135 1738678500.0 `1738679034.010138 1738678500.0 `1738679044.010164 1738678500.0 `1738679054.009174 1738678500.0 `1738679074.010135 1738678500.0 `1738679084.010136 1738678500.0 `1738679124.009126 1738678500.0 `1738679134.010145 1738678500.0 `1738679144.010149 1738678500.0 `1738679174.01014 1738678500.0 `1738679194.00914 1738678500.0 `1738679204.010149 1738678500.0 `1738679214.010144 1738678500.0 `1738679224.010162 1738678500.0 `1738679234.010136 1738678500.0 `1738679244.010135 1738678500.0 `1738679254.010146 1738678500.0 `1738679264.009127 1738678500.0 `1738679274.010137 1738678500.0 `1738679284.010137 1738678500.0 `1738679294.010134 1738678500.0 `1738679304.010136 1738678500.0 `1738679344.010136 1738678500.0 `1738679354.010137 1738678500.0 `1738679364.010137 1738678500.0 `1738679374.010139 1738678500.0 `1738679424.010132 1738679400.0 `1738679434.010138 1738679400.0 `1738679444.010142 1738679400.0 `1738679454.01018 1738679400.0 `1738679464.010205 1738679400.0 `1738679474.009128 1738679400.0 `1738679484.010183 1738679400.0 `1738679494.010143 1738679400.0 `1738679504.010253 1738679400.0 `1738679514.010156 1738679400.0 `1738679524.010153 1738679400.0 `1738679534.009129 1738679400.0 `1738679544.010224 1738679400.0 `1738679564.010135 1738679400.0 `1738679574.010137 1738679400.0 `1738679584.010153 1738679400.0 `1738679684.01015 1738679400.0 `1738679714.010135 1738679400.0 `1738679724.009129 1738679400.0 `1738679734.010139 1738679400.0 `1738679744.010147 1738679400.0 `1738679764.010158 1738679400.0 `1738679774.010143 1738679400.0 `1738679784.010135 1738679400.0 `1738679794.00913 1738679400.0 `1738679804.010147 1738679400.0 `1738679814.010137 1738679400.0 `1738679824.010162 1738679400.0 `1738679834.010137 1738679400.0 `1738679844.010136 1738679400.0 `1738679874.010144 1738679400.0 `1738679884.010239 1738679400.0 `1738679894.010145 1738679400.0 `1738679904.010146 1738679400.0 `1738679914.010142 1738679400.0 `1738679924.010144 1738679400.0 `1738679934.009128 1738679400.0 `1738679954.010149 1738679400.0 `1738679964.010142 1738679400.0 `1738679974.010142 1738679400.0 `1738679984.010141 1738679400.0 `1738679994.010143 1738679400.0 `1738680004.009128 1738679400.0 `1738680014.01015 1738679400.0 `1738680024.010199 1738679400.0 `1738680034.010145 1738679400.0 `1738680044.010145 1738679400.0 `1738680084.010165 1738679400.0 `1738680094.010151 1738679400.0 `1738680104.010156 1738679400.0 `1738680114.010156 1738679400.0 `1738680124.010161 1738679400.0 `1738680134.009127 1738679400.0 `1738680144.010188 1738679400.0 `1738680154.010148 1738679400.0 `1738680164.010142 1738679400.0 `1738680204.010145 1738679400.0 `1738680214.01014 1738679400.0 `1738680254.010135 1738679400.0 `1738680263.009122 1738679400.0 `1738680274.010143 1738679400.0 `1738680284.010144 1738679400.0 `1738680294.010148 1738679400.0 `1738680304.010159 1738680300.0 `1738680314.010158 1738680300.0 `1738680324.010144 1738680300.0 `1738680344.010144 1738680300.0 `1738680354.01016 1738680300.0 `1738680364.010295 1738680300.0 `1738680374.010144 1738680300.0 `1738680384.010142 1738680300.0 `1738680394.009131 1738680300.0 `1738680424.010251 1738680300.0 `1738680434.010141 1738680300.0 `1738680444.010134 1738680300.0 `1738680464.01014 1738680300.0 `1738680474.010136 1738680300.0 `1738680484.010163 1738680300.0 `1738680494.010141 1738680300.0 `1738680504.010136 1738680300.0 `1738680514.010136 1738680300.0 `1738680524.009135 1738680300.0 `1738680534.010143 1738680300.0 `1738680564.010142 1738680300.0 `1738680574.010141 1738680300.0 `1738680584.010144 1738680300.0 `1738680594.009127 1738680300.0 `1738680604.010152 1738680300.0 `1738680614.010151 1738680300.0 `1738680624.010142 1738680300.0 `1738680634.010151 1738680300.0 `1738680644.010146 1738680300.0 `1738680654.010143 1738680300.0 `1738680664.009135 1738680300.0 `1738680674.010147 1738680300.0 `1738680704.010135 1738680300.0 `1738680714.010134 1738680300.0 `1738680724.010153 1738680300.0 `1738680734.009127 1738680300.0 `1738680744.010153 1738680300.0 `1738680754.010145 1738680300.0 `1738680764.010157 1738680300.0 `1738680774.010149 1738680300.0 `1738680784.010154 1738680300.0 `1738680794.010147 1738680300.0 `1738680804.009128 1738680300.0 `1738680814.010135 1738680300.0 `1738680824.010164 1738680300.0 `1738680834.010137 1738680300.0 `1738680844.010156 1738680300.0 `1738680884.010137 1738680300.0 `1738680894.010137 1738680300.0 `1738680904.010156 1738680300.0 `1738680914.010138 1738680300.0 `1738680934.010139 1738680300.0 `1738680954.010139 1738680300.0 `1738680964.010163 1738680300.0 `1738680974.010139 1738680300.0 `1738680984.010137 1738680300.0 `1738680994.010144 1738680300.0 `1738681004.010139 1738680300.0 `1738681014.009128 1738680300.0 `1738681024.01014 1738680300.0 `1738681034.010146 1738680300.0 `1738681044.010165 1738680300.0 `1738681054.01014 1738680300.0 `1738681104.010138 1738680300.0 `1738681114.010134 1738680300.0 `1738681124.010138 1738680300.0 `1738681134.010141 1738680300.0 `1738681155.010989 1738680300.0 `1738681164.009129 1738680300.0 `1738681174.010137 1738680300.0 `1738681194.010139 1738680300.0 `1738681204.010142 1738681200.0 `1738681214.010142 1738681200.0 `1738681225.010142 1738681200.0 `1738681234.009125 1738681200.0 `1738681244.010137 1738681200.0 `1738681274.010135 1738681200.0 `1738681284.010134 1738681200.0 `1738681304.009129 1738681200.0 `1738681314.010139 1738681200.0 `1738681324.010143 1738681200.0 `1738681334.010141 1738681200.0 `1738681344.01014 1738681200.0 `1738681354.010139 1738681200.0 `1738681364.010139 1738681200.0 `1738681374.009126 1738681200.0 `1738681384.010143 1738681200.0 `1738681404.010143 1738681200.0 `1738681414.010135 1738681200.0 `1738681454.01014 1738681200.0 `1738681464.010135 1738681200.0 `1738681474.010145 1738681200.0 `1738681484.010144 1738681200.0 `1738681494.010141 1738681200.0 `1738681504.010148 1738681200.0 `1738681514.009136 1738681200.0 `1738681524.010138 1738681200.0 `1738681534.010136 1738681200.0 `1738681544.010138 1738681200.0 `1738681554.010139 1738681200.0 `1738681564.010148 1738681200.0 `1738681604.010135 1738681200.0 `1738681614.010137 1738681200.0 `1738681664.009135 1738681200.0 `1738681674.010154 1738681200.0 `1738681684.010172 1738681200.0 `1738681694.010138 1738681200.0 `1738681704.010137 1738681200.0 `1738681714.010143 1738681200.0 `1738681725.010141 1738681200.0 `1738681924.010146 1738681200.0 `1738681934.010141 1738681200.0 `1738681944.009126 1738681200.0 `1738681954.010142 1738681200.0 `1738681964.010144 1738681200.0 `1738681974.010137 1738681200.0 `1738681984.010151 1738681200.0 `1738682004.010136 1738681200.0 `1738682014.009131 1738681200.0 `1738682024.010136 1738681200.0 `1738682034.010133 1738681200.0 `1738682054.010137 1738681200.0 `1738682064.010133 1738681200.0 `1738682074.010134 1738681200.0 `1738682085.010137 1738681200.0 `1738682104.010156 1738682100.0 `1738682114.010137 1738682100.0 `1738682124.010141 1738682100.0 `1738682134.010135 1738682100.0 `1738682144.010137 1738682100.0 `1738682155.010139 1738682100.0 `1738682164.009133 1738682100.0 `1738682174.010143 1738682100.0 `1738682184.010136 1738682100.0 `1738682194.010135 1738682100.0 `1738682234.009126 1738682100.0 `1738682244.010134 1738682100.0 `1738682254.010137 1738682100.0 `1738682264.010145 1738682100.0 `1738682274.01014 1738682100.0 `1738682284.010145 1738682100.0 `1738682314.010135 1738682100.0 `1738682324.010137 1738682100.0 `1738682334.010136 1738682100.0 `1738682344.010148 1738682100.0 `1738682354.010136 1738682100.0 `1738682364.010135 1738682100.0 `1738682374.009133 1738682100.0 `1738682384.010146 1738682100.0 `1738682394.010137 1738682100.0 `1738682434.010133 1738682100.0 `1738682445.010135 1738682100.0 `1738682454.009125 1738682100.0 `1738682464.01015 1738682100.0 `1738682474.010135 1738682100.0 `1738682484.010136 1738682100.0 `1738682504.01014 1738682100.0 `1738682515.010136 1738682100.0 `1738682524.00914 1738682100.0 `1738682534.010143 1738682100.0 `1738682544.010138 1738682100.0 `1738682554.010136 1738682100.0 `1738682564.010148 1738682100.0 `1738682574.010135 1738682100.0 `1738682614.01014 1738682100.0 `1738682624.010137 1738682100.0 `1738682634.01014 1738682100.0 `1738682644.010152 1738682100.0 `1738682654.010142 1738682100.0 `1738682664.009125 1738682100.0 `1738682704.01014 1738682100.0 `1738682724.010135 1738682100.0 `1738682734.009133 1738682100.0 `1738682744.010152 1738682100.0 `1738682754.010138 1738682100.0 `1738682764.010146 1738682100.0 `1738682774.010139 1738682100.0 `1738682784.010137 1738682100.0 `1738682794.010142 1738682100.0 `1738682824.010176 1738682100.0 `1738682834.010135 1738682100.0 `1738682854.010141 1738682100.0 `1738682864.010144 1738682100.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, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398], [399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452], [453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.01968073844909668 ***** 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'] result_one_balle_Type_JRM:{'day': '04022025', 'map_nb_amount': {0: 2, 1: 6, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 118.9989960193634, 'nb_balles_papier': 0.0001, 'begin_time_port': 'image_04022025_14_27_54_010137m0.jpg 4e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0001 We reject this portfolio because of the condition_save_data : 2025-02-04 14:27:54.010137 result_one_balle_Type_JRM:{'day': '04022025', 'map_nb_amount': {0: 4, 1: 54, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 828.9989399909973, 'nb_balles_papier': 0.000620000000000001, 'begin_time_port': 'image_04022025_14_30_04_010187m0.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.000620000000000001 We reject this portfolio because of the condition_save_data : 2025-02-04 14:30:04.010187 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': '04022025', 'map_nb_amount': {0: 5, 1: 44, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 849.999990940094, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_04022025_14_45_44_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.0005900000000000009 We reject this portfolio because of the condition_save_data : 2025-02-04 14:45:44.010145 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': '04022025', 'map_nb_amount': {0: 13, 1: 26, 2: 13, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 870.0000400543213, 'nb_balles_papier': 0.0005200000000000007, 'begin_time_port': 'image_04022025_15_00_24_10134.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005200000000000007 We reject this portfolio because of the condition_save_data : 2025-02-04 15:00:24.010134 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': '04022025', 'map_nb_amount': {0: 8, 1: 33, 2: 13, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999849796295, 'nb_balles_papier': 0.0005400000000000008, 'begin_time_port': 'image_04022025_15_15_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.0005400000000000008 We reject this portfolio because of the condition_save_data : 2025-02-04 15:15:04.010154 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': '04022025', 'map_nb_amount': {0: 0, 1: 32, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 870.0000159740448, 'nb_balles_papier': 0.0004100000000000004, 'begin_time_port': 'image_04022025_15_30_24_010132m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004100000000000004 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': '04022025', 'map_nb_amount': {0: 2, 1: 25, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999799728394, 'nb_balles_papier': 0.0002900000000000001, 'begin_time_port': 'image_04022025_15_45_04_010159m0.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.0002900000000000001 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': '04022025', 'map_nb_amount': {0: 0, 1: 29, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.9999949932098, 'nb_balles_papier': 0.0003200000000000002, 'begin_time_port': 'image_04022025_16_00_04_10142.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0003200000000000002 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': '04022025', 'map_nb_amount': {0: 0, 1: 7, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 759.999988079071, 'nb_balles_papier': 9e-05, 'begin_time_port': 'image_04022025_16_15_04_10156.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 9e-05 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! We need to add photos : {1334590464, 1334590020, 1334590568, 1334590570, 1334590091, 1334590572, 1334590576, 1334590578, 1334590451, 1334590228, 1334590454, 1334590233, 1334590236, 1334590457} Still a lot to verify ! Qualite : 0.037335801129740304 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`=20214615 AND mptpi.`type`=3726 To do Qualite : 0.04466626224677005 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`=20215220 AND mptpi.`type`=3726 To do Qualite : 0.03969955624109504 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`=20215739 AND mptpi.`type`=3726 To do Qualite : 0.053310513258953716 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`=20216292 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 7.143519639968872 # DISPLAY ALL COLLECTED DATA : {'04022025': {'nb_upload': 511, 'nb_taggue_class': 929, 'nb_taggue_densite': 929}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1334590578, 1334590576, 1334590572, 1334590570, 1334590568, 1334590464, 1334590457, 1334590454, 1334590451, 1334590236, 1334590233, 1334590228, 1334590091, 1334590020, 1334589298, 1334589294, 1334589291, 1334589215, 1334589196, 1334589193, 1334589143, 1334589140, 1334588991, 1334588988, 1334588984, 1334588981, 1334588750, 1334588690, 1334588686, 1334588683, 1334588595, 1334588188, 1334588185, 1334588183, 1334588113, 1334588109, 1334588104, 1334588100, 1334588024, 1334588018, 1334587991, 1334587988, 1334587985, 1334587983, 1334587908, 1334587901, 1334587894, 1334587889, 1334587887, 1334587835, 1334587833, 1334587830, 1334587827, 1334587615, 1334587612, 1334587610, 1334587607, 1334587604, 1334587602, 1334587574, 1334587570, 1334587567, 1334587564, 1334587536, 1334587527, 1334587524, 1334587518, 1334587516, 1334587445, 1334587406, 1334587402, 1334587394, 1334587324, 1334587252, 1334585960, 1334585955, 1334585951, 1334585944, 1334585924, 1334585864, 1334585862, 1334585573, 1334585568, 1334585524, 1334585262, 1334585256, 1334585253, 1334585249, 1334585245, 1334585159, 1334585061, 1334585057, 1334585052, 1334585049, 1334585043, 1334584991, 1334584989, 1334584985, 1334584926, 1334584923] Looping around the photos to save general results len do output : 1 /20195867Didn'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, '2546097') ('4876', '20195867', '1334590578', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590576', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590572', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590570', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590568', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590464', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590457', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590454', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590451', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590236', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590233', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590228', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590091', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334590020', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334589298', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334589294', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334589291', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334589215', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334589196', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334589193', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334589143', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334589140', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588991', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588988', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588984', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588981', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588750', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588690', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588686', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588683', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588595', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588188', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588185', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588183', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588113', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588109', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588104', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588100', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588024', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334588018', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587991', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587988', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587985', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587983', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587908', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587901', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587894', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587889', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587887', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587835', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587833', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587830', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587827', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587615', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587612', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587610', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587607', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587604', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587602', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587574', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587570', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587567', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587564', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587536', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587527', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587524', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587518', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587516', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587445', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587406', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587402', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587394', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587324', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334587252', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585960', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585955', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585951', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585944', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585924', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585864', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585862', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585573', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585568', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585524', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585262', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585256', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585253', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585249', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585245', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585159', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585061', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585057', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585052', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585049', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334585043', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334584991', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334584989', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334584985', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334584926', None, None, None, None, None, '2546097') ('4876', None, None, None, None, None, None, None, '2546097') ('4876', '20195867', '1334584923', None, None, None, None, None, '2546097') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02572178840637207 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.475254535675049 time spend to save output : 0.026584148406982422 total time spend for step 1 : 7.501838684082031 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.13user 0.52system 0:11.22elapsed 14%CPU (0avgtext+0avgdata 102792maxresident)k 0inputs+144outputs (0major+49282minor)pagefaults 0swaps