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 : 3193144 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 : 1778>1000 please execute split_portfolio.py -i 21758531 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2696391'] with mtr_portfolio_ids : ['21758531'] and first list_photo_ids : [] new path : /proc/3193144/ 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.028206586837768555 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Mar 27 08:00:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 273), ('01', 118), ('02', 269), ('03', 270), ('04', 55), ('05', 227), ('06', 269), ('07', 297)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1648} 27032025 21758531 Nombre de photos uploadées : 577 / 23040 (2%) 27032025 21758531 Nombre de photos taguées (types de déchets): 1648 / 577 (285%) 27032025 21758531 Nombre de photos taguées (volume) : 1648 / 577 (285%) elapsed_time : load_data_split_time_score 4.291534423828125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0007231235504150391 ????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.08432126045227051 elapsed_time : insert_dashboard_record_day_entry 0.028669118881225586 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 elapsed_time : list_photo_by_hashtags 0.017746686935424805 photos_removed : len 0 elapsed_time : load_duplicate_info 0.04095721244812012 ***** BEGIN SPLIT TIME ***** True 1743033600.0 `1743051474.010193 1743050700.0 `1743051485.010146 1743050700.0 `1743051494.009125 1743050700.0 `1743051504.010137 1743050700.0 `1743051514.010147 1743050700.0 `1743051524.01014 1743050700.0 `1743051534.010136 1743050700.0 `1743051563.010143 1743050700.0 `1743051573.010133 1743050700.0 `1743051583.010133 1743050700.0 `1743051594.010134 1743050700.0 `1743051643.010135 1743051600.0 `1743051713.010142 1743051600.0 `1743051734.010138 1743051600.0 `1743051744.010135 1743051600.0 `1743051754.01014 1743051600.0 `1743051764.01014 1743051600.0 `1743051773.009125 1743051600.0 `1743051783.01014 1743051600.0 `1743051793.010139 1743051600.0 `1743051803.010144 1743051600.0 `1743051814.010158 1743051600.0 `1743051834.010139 1743051600.0 `1743051843.009136 1743051600.0 `1743051853.010149 1743051600.0 `1743051863.010134 1743051600.0 `1743051873.010136 1743051600.0 `1743051884.010136 1743051600.0 `1743051894.010135 1743051600.0 `1743051904.010151 1743051600.0 `1743051914.010137 1743051600.0 `1743051923.009124 1743051600.0 `1743051933.010133 1743051600.0 `1743051974.010137 1743051600.0 `1743051984.01014 1743051600.0 `1743051993.009123 1743051600.0 `1743052003.010135 1743051600.0 `1743052013.010136 1743051600.0 `1743052024.010157 1743051600.0 `1743052034.010134 1743051600.0 `1743052044.010134 1743051600.0 `1743052054.010135 1743051600.0 `1743052063.009125 1743051600.0 `1743052073.010133 1743051600.0 `1743052083.010159 1743051600.0 `1743052094.010138 1743051600.0 `1743052104.010134 1743051600.0 `1743052114.010132 1743051600.0 `1743052134.010137 1743051600.0 `1743052143.009142 1743051600.0 `1743052153.010137 1743051600.0 `1743052163.010134 1743051600.0 `1743052174.010134 1743051600.0 `1743052184.010135 1743051600.0 `1743052194.010207 1743051600.0 `1743052203.009134 1743051600.0 `1743052213.010222 1743051600.0 `1743052223.010134 1743051600.0 `1743052234.010133 1743051600.0 `1743052264.010151 1743051600.0 `1743052273.009122 1743051600.0 `1743052283.010141 1743051600.0 `1743052293.010144 1743051600.0 `1743052304.01014 1743051600.0 `1743052314.010138 1743051600.0 `1743052324.010141 1743051600.0 `1743052343.009125 1743051600.0 `1743052353.010136 1743051600.0 `1743052363.010136 1743051600.0 `1743052373.010135 1743051600.0 `1743052404.010134 1743051600.0 `1743052414.010135 1743051600.0 `1743052423.009126 1743051600.0 `1743052433.010142 1743051600.0 `1743052443.010142 1743051600.0 `1743052454.010138 1743051600.0 `1743052464.010133 1743051600.0 `1743052474.010138 1743051600.0 `1743052484.010139 1743051600.0 `1743052493.009126 1743051600.0 `1743052503.010154 1743052500.0 `1743052513.010149 1743052500.0 `1743052524.010141 1743052500.0 `1743052554.010138 1743052500.0 `1743052563.009125 1743052500.0 `1743052704.010134 1743052500.0 `1743052783.009125 1743052500.0 `1743052803.010134 1743052500.0 `1743052814.010143 1743052500.0 `1743052824.010139 1743052500.0 `1743052834.010141 1743052500.0 `1743052853.009125 1743052500.0 `1743052863.010152 1743052500.0 `1743052873.010139 1743052500.0 `1743052884.010139 1743052500.0 `1743052894.010135 1743052500.0 `1743052904.010136 1743052500.0 `1743052914.010137 1743052500.0 `1743052924.010136 1743052500.0 `1743052933.009125 1743052500.0 `1743052964.010134 1743052500.0 `1743052974.010133 1743052500.0 `1743052984.010134 1743052500.0 `1743052994.010138 1743052500.0 `1743053003.009131 1743052500.0 `1743053023.010138 1743052500.0 `1743053044.010136 1743052500.0 `1743053054.010141 1743052500.0 `1743053064.010136 1743052500.0 `1743053073.009125 1743052500.0 `1743053083.010137 1743052500.0 `1743053093.010137 1743052500.0 `1743053104.01015 1743052500.0 `1743053114.010132 1743052500.0 `1743053144.010133 1743052500.0 `1743053153.009124 1743052500.0 `1743053163.010158 1743052500.0 `1743053173.010139 1743052500.0 `1743053184.010133 1743052500.0 `1743053194.010133 1743052500.0 `1743053204.010151 1743052500.0 `1743053214.010136 1743052500.0 `1743053223.009155 1743052500.0 `1743053233.010138 1743052500.0 `1743053243.010133 1743052500.0 `1743053254.010133 1743052500.0 `1743053274.010135 1743052500.0 `1743053284.010147 1743052500.0 `1743053293.009129 1743052500.0 `1743053313.010134 1743052500.0 `1743053334.010136 1743052500.0 `1743053344.010142 1743052500.0 `1743053354.010134 1743052500.0 `1743053363.009133 1743052500.0 `1743053373.010138 1743052500.0 `1743053383.010134 1743052500.0 `1743053393.010136 1743052500.0 `1743053404.010154 1743053400.0 `1743053434.010132 1743053400.0 `1743053443.009122 1743053400.0 `1743053453.010136 1743053400.0 `1743053463.010157 1743053400.0 `1743053474.01014 1743053400.0 `1743053484.010142 1743053400.0 `1743053494.01014 1743053400.0 `1743053504.010136 1743053400.0 `1743053513.009126 1743053400.0 `1743053523.01015 1743053400.0 `1743053533.010139 1743053400.0 `1743053544.010134 1743053400.0 `1743053554.010133 1743053400.0 `1743053574.010135 1743053400.0 `1743053583.009148 1743053400.0 `1743053593.010132 1743053400.0 `1743053603.010134 1743053400.0 `1743053614.010141 1743053400.0 `1743053624.010139 1743053400.0 `1743053644.010148 1743053400.0 `1743053653.009124 1743053400.0 `1743053663.010134 1743053400.0 `1743053673.010134 1743053400.0 `1743053683.010136 1743053400.0 `1743053694.010138 1743053400.0 `1743053704.010135 1743053400.0 `1743053714.010136 1743053400.0 `1743053724.010134 1743053400.0 `1743053733.009123 1743053400.0 `1743053764.010155 1743053400.0 `1743053774.010135 1743053400.0 `1743053784.010136 1743053400.0 `1743053794.010144 1743053400.0 `1743053803.009131 1743053400.0 `1743053813.010139 1743053400.0 `1743053823.010154 1743053400.0 `1743053834.010142 1743053400.0 `1743053844.010138 1743053400.0 `1743053854.010135 1743053400.0 `1743053893.010135 1743053400.0 `1743053904.010134 1743053400.0 `1743053914.010137 1743053400.0 `1743053924.010138 1743053400.0 `1743053934.010136 1743053400.0 `1743053944.010137 1743053400.0 `1743053953.009125 1743053400.0 `1743053963.010134 1743053400.0 `1743053973.010134 1743053400.0 `1743053984.010133 1743053400.0 `1743053994.010136 1743053400.0 `1743054004.010162 1743053400.0 `1743054054.010137 1743053400.0 `1743054074.010136 1743053400.0 `1743054103.010139 1743053400.0 `1743054113.010135 1743053400.0 `1743054154.010151 1743053400.0 `1743054163.00913 1743053400.0 `1743054173.010135 1743053400.0 `1743054183.01015 1743053400.0 `1743054204.010134 1743053400.0 `1743054214.010139 1743053400.0 `1743054224.01014 1743053400.0 `1743054233.009126 1743053400.0 `1743054243.010198 1743053400.0 `1743054253.010138 1743053400.0 `1743054284.010135 1743053400.0 `1743054294.010137 1743053400.0 `1743054303.009138 1743054300.0 `1743054313.010145 1743054300.0 `1743054323.010135 1743054300.0 `1743054344.010143 1743054300.0 `1743054354.01014 1743054300.0 `1743054364.010164 1743054300.0 `1743054373.00913 1743054300.0 `1743054383.010138 1743054300.0 `1743054393.010138 1743054300.0 `1743054404.010141 1743054300.0 `1743054434.01014 1743054300.0 `1743054443.009123 1743054300.0 `1743054453.010135 1743054300.0 `1743054463.010136 1743054300.0 `1743054473.010136 1743054300.0 `1743054484.010137 1743054300.0 `1743054494.010135 1743054300.0 `1743054504.010136 1743054300.0 `1743054514.010137 1743054300.0 `1743054523.009126 1743054300.0 `1743054533.010136 1743054300.0 `1743054574.010134 1743054300.0 `1743054584.010139 1743054300.0 `1743054593.009127 1743054300.0 `1743054603.010154 1743054300.0 `1743054613.010141 1743054300.0 `1743054624.010135 1743054300.0 `1743054634.01014 1743054300.0 `1743054644.010142 1743054300.0 `1743054654.010198 1743054300.0 `1743054673.010142 1743054300.0 `1743054683.010141 1743054300.0 `1743054714.010136 1743054300.0 `1743054724.010145 1743054300.0 `1743054733.009127 1743054300.0 `1743054743.010135 1743054300.0 `1743054753.010146 1743054300.0 `1743054764.01014 1743054300.0 `1743054774.010139 1743054300.0 `1743054784.010146 1743054300.0 `1743054794.010139 1743054300.0 `1743054803.009123 1743054300.0 `1743054813.010134 1743054300.0 `1743054823.010136 1743054300.0 `1743054833.010137 1743054300.0 `1743054844.010134 1743054300.0 `1743054864.010133 1743054300.0 `1743054874.010132 1743054300.0 `1743054883.009123 1743054300.0 `1743054893.010136 1743054300.0 `1743054903.010161 1743054300.0 `1743054914.010136 1743054300.0 `1743054924.010135 1743054300.0 `1743054934.010135 1743054300.0 `1743054944.010138 1743054300.0 `1743054953.009127 1743054300.0 `1743054963.010162 1743054300.0 `1743054994.010138 1743054300.0 `1743055004.01014 1743054300.0 `1743055014.010146 1743054300.0 `1743055023.009158 1743054300.0 `1743055033.010139 1743054300.0 `1743055043.01014 1743054300.0 `1743055054.010132 1743054300.0 `1743055064.010135 1743054300.0 `1743055074.010137 1743054300.0 `1743055084.010138 1743054300.0 `1743055093.009124 1743054300.0 `1743055103.010134 1743054300.0 `1743055134.010136 1743054300.0 `1743055155.01101 1743054300.0 `1743055164.009129 1743054300.0 `1743055174.010137 1743054300.0 `1743055184.010137 1743054300.0 `1743055194.010135 1743054300.0 `1743055204.010136 1743055200.0 `1743055214.010135 1743055200.0 `1743055225.010135 1743055200.0 `1743055234.009124 1743055200.0 `1743055274.01014 1743055200.0 `1743055284.010134 1743055200.0 `1743055295.010135 1743055200.0 `1743055304.009129 1743055200.0 `1743055314.010141 1743055200.0 `1743055324.010162 1743055200.0 `1743055334.010135 1743055200.0 `1743055344.010134 1743055200.0 `1743055354.010133 1743055200.0 `1743055365.010133 1743055200.0 `1743055394.010134 1743055200.0 `1743055404.010133 1743055200.0 `1743055414.010135 1743055200.0 `1743055424.010135 1743055200.0 `1743055434.010144 1743055200.0 `1743055445.010166 1743055200.0 `1743055454.009126 1743055200.0 `1743055464.010135 1743055200.0 `1743055474.010133 1743055200.0 `1743055484.010134 1743055200.0 `1743055515.010133 1743055200.0 `1743055524.009123 1743055200.0 `1743055534.010133 1743055200.0 `1743055544.010135 1743055200.0 `1743055564.010145 1743055200.0 `1743055574.010133 1743055200.0 `1743055594.009131 1743055200.0 `1743055614.010136 1743055200.0 `1743055624.010137 1743055200.0 `1743055634.010136 1743055200.0 `1743055644.010134 1743055200.0 `1743055654.010134 1743055200.0 `1743055684.010138 1743055200.0 `1743055694.010135 1743055200.0 `1743055704.010134 1743055200.0 `1743055714.010136 1743055200.0 `1743055724.010134 1743055200.0 `1743055735.010136 1743055200.0 `1743055744.009142 1743055200.0 `1743055754.010134 1743055200.0 `1743055764.010134 1743055200.0 `1743055784.010133 1743055200.0 `1743055794.010133 1743055200.0 `1743055805.010143 1743055200.0 `1743055815.010137 1743055200.0 `1743055824.009124 1743055200.0 `1743055834.010133 1743055200.0 `1743055844.010133 1743055200.0 `1743055854.010135 1743055200.0 `1743055874.010134 1743055200.0 `1743055885.010134 1743055200.0 `1743055894.009125 1743055200.0 `1743055894.009125 1743055200.0 `1743055904.010134 1743055200.0 `1743055904.010134 1743055200.0 `1743055914.010134 1743055200.0 `1743055914.010134 1743055200.0 `1743055924.010137 1743055200.0 `1743055924.010137 1743055200.0 `1743055934.010135 1743055200.0 `1743055934.010135 1743055200.0 `1743055934.010135 1743055200.0 `1743055944.010138 1743055200.0 `1743055944.010138 1743055200.0 `1743055944.010138 1743055200.0 `1743055955.010133 1743055200.0 `1743055984.010135 1743055200.0 `1743055994.010134 1743055200.0 `1743056004.01014 1743055200.0 `1743056014.010135 1743055200.0 `1743056024.010135 1743055200.0 `1743056035.010137 1743055200.0 `1743056035.010137 1743055200.0 `1743056044.009139 1743055200.0 `1743056044.009139 1743055200.0 `1743056054.010135 1743055200.0 `1743056054.010135 1743055200.0 `1743056064.010134 1743055200.0 `1743056064.010134 1743055200.0 `1743056074.010135 1743055200.0 `1743056105.010148 1743056100.0 `1743056114.009123 1743056100.0 `1743056124.010134 1743056100.0 `1743056134.010139 1743056100.0 `1743056144.010133 1743056100.0 `1743056154.010134 1743056100.0 `1743056164.01014 1743056100.0 `1743056175.01014 1743056100.0 `1743056184.009125 1743056100.0 `1743056194.010135 1743056100.0 `1743056204.010136 1743056100.0 `1743056234.010134 1743056100.0 `1743056244.010133 1743056100.0 `1743056255.010133 1743056100.0 `1743056264.009125 1743056100.0 `1743056274.010134 1743056100.0 `1743056284.010143 1743056100.0 `1743056294.010134 1743056100.0 `1743056304.010136 1743056100.0 `1743056314.010135 1743056100.0 `1743056325.010136 1743056100.0 `1743056354.010135 1743056100.0 `1743056364.010139 1743056100.0 `1743056374.010133 1743056100.0 `1743056384.010134 1743056100.0 `1743056394.010142 1743056100.0 `1743056404.009165 1743056100.0 `1743056414.010136 1743056100.0 `1743056424.010136 1743056100.0 `1743056434.010135 1743056100.0 `1743056444.010134 1743056100.0 `1743056454.010132 1743056100.0 `1743056464.010154 1743056100.0 `1743056494.010142 1743056100.0 `1743056504.01014 1743056100.0 `1743056514.010133 1743056100.0 `1743056524.01014 1743056100.0 `1743056534.010139 1743056100.0 `1743056545.010135 1743056100.0 `1743056564.010139 1743056100.0 `1743056584.010169 1743056100.0 `1743056594.010152 1743056100.0 `1743056604.010134 1743056100.0 `1743056615.010139 1743056100.0 `1743056624.009125 1743056100.0 `1743056664.010136 1743056100.0 `1743056674.010134 1743056100.0 `1743056685.010136 1743056100.0 `1743056694.00913 1743056100.0 `1743056704.010157 1743056100.0 `1743056714.010137 1743056100.0 `1743056724.010135 1743056100.0 `1743056734.010197 1743056100.0 `1743056744.01014 1743056100.0 `1743056755.010136 1743056100.0 `1743056764.009127 1743056100.0 `1743056774.010156 1743056100.0 `1743056804.010135 1743056100.0 `1743056814.010135 1743056100.0 `1743056825.010151 1743056100.0 `1743056834.009126 1743056100.0 `1743056844.010135 1743056100.0 `1743056854.010147 1743056100.0 `1743056864.010139 1743056100.0 `1743056884.010142 1743056100.0 `1743056894.010136 1743056100.0 `1743056905.010135 1743056100.0 `1743056914.009123 1743056100.0 `1743056924.010134 1743056100.0 `1743056934.010136 1743056100.0 `1743056944.010153 1743056100.0 `1743056964.010133 1743056100.0 `1743056975.010133 1743056100.0 `1743056984.009123 1743056100.0 `1743056994.010135 1743056100.0 `1743057004.010153 1743057000.0 `1743057014.010136 1743057000.0 `1743057024.010135 1743057000.0 `1743057034.010134 1743057000.0 `1743057045.010135 1743057000.0 `1743057054.009124 1743057000.0 `1743057064.010134 1743057000.0 `1743057074.010134 1743057000.0 `1743057084.010142 1743057000.0 `1743057114.010136 1743057000.0 `1743057125.010171 1743057000.0 `1743057134.009126 1743057000.0 `1743057144.010136 1743057000.0 `1743057154.01015 1743057000.0 `1743057164.010141 1743057000.0 `1743057174.010137 1743057000.0 `1743057185.010173 1743057000.0 `1743057195.010138 1743057000.0 `1743057204.009126 1743057000.0 `1743057214.010137 1743057000.0 `1743057224.010137 1743057000.0 `1743057254.010137 1743057000.0 `1743057265.010133 1743057000.0 `1743057274.009126 1743057000.0 `1743057284.010134 1743057000.0 `1743057294.010136 1743057000.0 `1743057304.010163 1743057000.0 `1743057314.010137 1743057000.0 `1743057324.010134 1743057000.0 `1743057335.010135 1743057000.0 `1743057344.009128 1743057000.0 `1743057354.01014 1743057000.0 `1743057364.010167 1743057000.0 `1743057374.010138 1743057000.0 `1743057414.009126 1743057000.0 `1743057424.010153 1743057000.0 `1743057434.010137 1743057000.0 `1743057444.010137 1743057000.0 `1743057454.010143 1743057000.0 `1743057464.010139 1743057000.0 `1743057475.010135 1743057000.0 `1743057484.009145 1743057000.0 `1743057494.010139 1743057000.0 `1743057514.010133 1743057000.0 `1743057524.010136 1743057000.0 `1743057534.010139 1743057000.0 `1743057545.010153 1743057000.0 `1743057555.010134 1743057000.0 `1743057564.009124 1743057000.0 `1743057574.010135 1743057000.0 `1743057584.010136 1743057000.0 `1743057594.010137 1743057000.0 `1743057604.010143 1743057000.0 `1743057625.010136 1743057000.0 `1743057634.009123 1743057000.0 `1743057644.010137 1743057000.0 `1743057664.010145 1743057000.0 `1743057674.010145 1743057000.0 `1743057684.010139 1743057000.0 `1743057695.010141 1743057000.0 `1743057704.00913 1743057000.0 `1743057714.010137 1743057000.0 `1743057744.010133 1743057000.0 `1743057754.010146 1743057000.0 `1743057765.010136 1743057000.0 `1743057774.009126 1743057000.0 `1743057784.010154 1743057000.0 `1743057794.010135 1743057000.0 `1743057804.010135 1743057000.0 `1743057814.010134 1743057000.0 `1743057824.010133 1743057000.0 `1743057854.009122 1743057000.0 `1743057864.010131 1743057000.0 `1743057874.010133 1743057000.0 `1743057884.010136 1743057000.0 `1743057894.010136 1743057000.0 `1743057904.010155 1743057900.0 `1743057915.010136 1743057900.0 `1743057924.009124 1743057900.0 `1743057934.010135 1743057900.0 `1743057944.010138 1743057900.0 `1743057954.010139 1743057900.0 `1743057994.009126 1743057900.0 `1743058004.010139 1743057900.0 `1743058014.010164 1743057900.0 `1743058024.01015 1743057900.0 `1743058034.010138 1743057900.0 `1743058044.010139 1743057900.0 `1743058055.010139 1743057900.0 `1743058064.009127 1743057900.0 `1743058074.010136 1743057900.0 `1743058114.010133 1743057900.0 `1743058124.010135 1743057900.0 `1743058135.010137 1743057900.0 `1743058144.009148 1743057900.0 `1743058154.010134 1743057900.0 `1743058164.010134 1743057900.0 `1743058174.010139 1743057900.0 `1743058184.010139 1743057900.0 `1743058214.009122 1743057900.0 `1743058224.010133 1743057900.0 `1743058234.010135 1743057900.0 `1743058244.010134 1743057900.0 `1743058254.010139 1743057900.0 `1743058264.010157 1743057900.0 `1743058275.010135 1743057900.0 `1743058284.009124 1743057900.0 `1743058294.010135 1743057900.0 `1743058304.010137 1743057900.0 `1743058314.010135 1743057900.0 `1743058324.010153 1743057900.0 `1743058334.010132 1743057900.0 `1743058364.009123 1743057900.0 `1743058374.010133 1743057900.0 `1743058384.010134 1743057900.0 `1743058394.010133 1743057900.0 `1743058404.010142 1743057900.0 `1743058414.010148 1743057900.0 `1743058425.010139 1743057900.0 `1743058434.009127 1743057900.0 `1743058444.010167 1743057900.0 `1743058474.010133 1743057900.0 `1743058484.010133 1743057900.0 `1743058495.01014 1743057900.0 `1743058504.009156 1743057900.0 `1743058514.010138 1743057900.0 `1743058524.010138 1743057900.0 `1743058534.01014 1743057900.0 `1743058544.010138 1743057900.0 `1743058554.010139 1743057900.0 `1743058565.010139 1743057900.0 `1743058574.009129 1743057900.0 `1743058584.010136 1743057900.0 `1743058624.010138 1743057900.0 `1743058635.010135 1743057900.0 `1743058645.010134 1743057900.0 `1743058654.00913 1743057900.0 `1743058664.01014 1743057900.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, 511, 512, 513, 514], [515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.021308183670043945 ***** 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': '27032025', 'map_nb_amount': {0: 1, 1: 9, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 119.99994087219238, 'nb_balles_papier': 0.00011, 'begin_time_port': 'image_27032025_05_57_54_010193m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00011 We reject this portfolio because of the condition_save_data : 2025-03-27 05:57:54.010193 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '27032025', 'map_nb_amount': {0: 2, 1: 43, 2: 22, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 849.9989910125732, 'nb_balles_papier': 0.0006700000000000011, 'begin_time_port': 'image_27032025_06_00_43_10135.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0006700000000000011 We reject this portfolio because of the condition_save_data : 2025-03-27 06:00:43.010135 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': '27032025', 'map_nb_amount': {0: 0, 1: 36, 2: 8, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.999981880188, 'nb_balles_papier': 0.0004400000000000005, 'begin_time_port': 'image_27032025_06_15_03_010154m0.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.0004400000000000005 We reject this portfolio because of the condition_save_data : 2025-03-27 06:15:03.010154 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '27032025', 'map_nb_amount': {0: 5, 1: 45, 2: 14, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999830722809, 'nb_balles_papier': 0.000640000000000001, 'begin_time_port': 'image_27032025_06_30_04_10154.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.000640000000000001 We reject this portfolio because of the condition_save_data : 2025-03-27 06:30:04.010154 result_one_balle_Type_JRM:{'day': '27032025', 'map_nb_amount': {0: 4, 1: 48, 2: 23, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 891.0009968280792, 'nb_balles_papier': 0.0007500000000000013, 'begin_time_port': 'image_27032025_06_45_03_009138m0.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.0007500000000000013 We reject this portfolio because of the condition_save_data : 2025-03-27 06:45:03.009138 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '27032025', 'map_nb_amount': {0: 2, 1: 44, 2: 34, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999990463257, 'nb_balles_papier': 0.0008000000000000014, 'begin_time_port': 'image_27032025_07_00_04_010136m0.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.0008000000000000014 We reject this portfolio because of the condition_save_data : 2025-03-27 07:00:04.010136 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': '27032025', 'map_nb_amount': {0: 0, 1: 23, 2: 14, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9999868869781, 'nb_balles_papier': 0.00038000000000000035, 'begin_time_port': 'image_27032025_07_15_05_10148.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00038000000000000035 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': '27032025', 'map_nb_amount': {0: 3, 1: 25, 2: 21, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999828338623, 'nb_balles_papier': 0.0004900000000000006, 'begin_time_port': 'image_27032025_07_30_04_010153m0.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.0004900000000000006 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': '27032025', 'map_nb_amount': {0: 1, 1: 33, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 759.9999849796295, 'nb_balles_papier': 0.0004000000000000004, 'begin_time_port': 'image_27032025_07_45_04_010155m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004000000000000004 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 3 Still a lot to verify ! Still a lot to verify ! We need to add photos : {1347776008, 1347775976, 1347775949, 1347775923, 1347776085, 1347775606, 1347775641, 1347775674, 1347776030} Still a lot to verify ! Qualite : 0.036527675339555414 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`=21774467 AND mptpi.`type`=3726 To do Qualite : 0.035564772286100964 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`=21775253 AND mptpi.`type`=3726 To do Qualite : 0.04281450366174637 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`=21776066 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 1.134096622467041 # DISPLAY ALL COLLECTED DATA : {'27032025': {'nb_upload': 577, 'nb_taggue_class': 1648, 'nb_taggue_densite': 1648}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1347776085, 1347776030, 1347776008, 1347775976, 1347775949, 1347775923, 1347775674, 1347775641, 1347775606, 1347775417, 1347775413, 1347775410, 1347775406, 1347775403, 1347775400, 1347775355, 1347775351, 1347775349, 1347775347, 1347775306, 1347775301, 1347775297, 1347775292, 1347775288, 1347775284, 1347775087, 1347775084, 1347775080, 1347775078, 1347774992, 1347774983, 1347774968, 1347774952, 1347774900, 1347774883, 1347774689, 1347774682, 1347774678, 1347774673, 1347774670, 1347774597, 1347774577, 1347774548, 1347774494, 1347774377, 1347774166, 1347774135, 1347774088, 1347774020, 1347774009, 1347773997, 1347773944, 1347773935, 1347773931, 1347773802, 1347773774, 1347773757, 1347773728, 1347773718, 1347773707, 1347773699, 1347773695, 1347773691, 1347773636, 1347773633, 1347773629, 1347773624, 1347773622, 1347773578, 1347773570, 1347773565, 1347773558, 1347773553, 1347773517, 1347773515, 1347773511, 1347773509, 1347773478, 1347773473, 1347773468, 1347773465, 1347773461, 1347773458, 1347773429, 1347773425, 1347773421, 1347773419, 1347773287, 1347773256, 1347773225, 1347773125, 1347773038, 1347773034, 1347772977, 1347772966, 1347772961, 1347772957, 1347772955, 1347772794, 1347772789] Looping around the photos to save general results len do output : 1 /21758531Didn'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, '2696391') ('4876', '21758531', '1347776085', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347776030', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347776008', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775976', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775949', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775923', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775674', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775641', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775606', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775417', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775413', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775410', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775406', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775403', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775400', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775355', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775351', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775349', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775347', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775306', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775301', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775297', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775292', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775288', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775284', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775087', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775084', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775080', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347775078', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774992', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774983', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774968', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774952', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774900', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774883', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774689', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774682', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774678', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774673', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774670', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774597', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774577', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774548', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774494', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774377', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774166', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774135', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774088', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774020', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347774009', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773997', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773944', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773935', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773931', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773802', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773774', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773757', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773728', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773718', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773707', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773699', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773695', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773691', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773636', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773633', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773629', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773624', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773622', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773578', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773570', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773565', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773558', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773553', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773517', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773515', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773511', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773509', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773478', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773473', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773468', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773465', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773461', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773458', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773429', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773425', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773421', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773419', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773287', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773256', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773225', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773125', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773038', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347773034', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347772977', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347772966', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347772961', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347772957', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347772955', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347772794', None, None, None, None, None, '2696391') ('4876', None, None, None, None, None, None, None, '2696391') ('4876', '21758531', '1347772789', None, None, None, None, None, '2696391') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.026955366134643555 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.586761713027954 time spend to save output : 0.02788996696472168 total time spend for step 1 : 1.6146516799926758 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.83user 0.63system 0:05.01elapsed 49%CPU (0avgtext+0avgdata 103608maxresident)k 0inputs+128outputs (1major+49575minor)pagefaults 0swaps