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 : 2864014 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 list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2622036'] with mtr_portfolio_ids : ['20899997'] and first list_photo_ids : [] new path : /proc/2864014/ 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.24458718299865723 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Feb 28 04:10: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', 179), ('01', 91), ('02', 259), ('03', 272), ('04', 37)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 755} 28022025 20899997 Nombre de photos uploadées : 536 / 23040 (2%) 28022025 20899997 Nombre de photos taguées (types de déchets): 755 / 536 (140%) 28022025 20899997 Nombre de photos taguées (volume) : 755 / 536 (140%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 0.00018548965454101562 ????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.047470808029174805 elapsed_time : insert_dashboard_record_day_entry 0.17339468002319336 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 elapsed_time : list_photo_by_hashtags 0.024013996124267578 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03160262107849121 ***** BEGIN SPLIT TIME ***** True 1740700800.0 `1740704994.01014 1740704400.0 `1740705003.009128 1740704400.0 `1740705013.010138 1740704400.0 `1740705023.010135 1740704400.0 `1740705034.010134 1740704400.0 `1740705044.010142 1740704400.0 `1740705054.010139 1740704400.0 `1740705064.010145 1740704400.0 `1740705074.010134 1740704400.0 `1740705103.010138 1740704400.0 `1740705114.01014 1740704400.0 `1740705124.010162 1740704400.0 `1740705134.010133 1740704400.0 `1740705144.010135 1740704400.0 `1740705153.009136 1740704400.0 `1740705163.010139 1740704400.0 `1740705173.010138 1740704400.0 `1740705184.010154 1740704400.0 `1740705194.010137 1740704400.0 `1740705204.010133 1740704400.0 `1740705243.010143 1740704400.0 `1740705254.010141 1740704400.0 `1740705264.010134 1740704400.0 `1740705274.010145 1740704400.0 `1740705284.010137 1740704400.0 `1740705303.010158 1740705300.0 `1740705313.010138 1740705300.0 `1740705324.010138 1740705300.0 `1740705344.010138 1740705300.0 `1740705354.010139 1740705300.0 `1740705363.009147 1740705300.0 `1740705373.01014 1740705300.0 `1740705394.010135 1740705300.0 `1740705404.010135 1740705300.0 `1740705433.009124 1740705300.0 `1740705443.010133 1740705300.0 `1740705453.010135 1740705300.0 `1740705463.010135 1740705300.0 `1740705474.010202 1740705300.0 `1740705484.010161 1740705300.0 `1740705494.010142 1740705300.0 `1740705503.009125 1740705300.0 `1740705523.010138 1740705300.0 `1740705534.010141 1740705300.0 `1740705544.010157 1740705300.0 `1740705554.010141 1740705300.0 `1740705564.010136 1740705300.0 `1740705604.010143 1740705300.0 `1740705613.009839 1740705300.0 `1740705623.010134 1740705300.0 `1740705634.010141 1740705300.0 `1740705644.010143 1740705300.0 `1740705654.010136 1740705300.0 `1740705664.010172 1740705300.0 `1740705673.009125 1740705300.0 `1740705683.01014 1740705300.0 `1740705693.010137 1740705300.0 `1740705704.010139 1740705300.0 `1740705714.010136 1740705300.0 `1740705753.010137 1740705300.0 `1740705763.010133 1740705300.0 `1740705774.010136 1740705300.0 `1740705784.010153 1740705300.0 `1740705794.010135 1740705300.0 `1740705804.010141 1740705300.0 `1740705813.009137 1740705300.0 `1740705823.010145 1740705300.0 `1740705833.010136 1740705300.0 `1740705844.010149 1740705300.0 `1740705854.01014 1740705300.0 `1740705864.010135 1740705300.0 `1740705883.009125 1740705300.0 `1740705893.010143 1740705300.0 `1740705924.010135 1740705300.0 `1740705934.010134 1740705300.0 `1740705954.010138 1740705300.0 `1740705963.009154 1740705300.0 `1740705973.010139 1740705300.0 `1740705983.010134 1740705300.0 `1740705994.010142 1740705300.0 `1740706004.01014 1740705300.0 `1740706014.010135 1740705300.0 `1740706024.010144 1740705300.0 `1740706033.009125 1740705300.0 `1740706043.010142 1740705300.0 `1740706053.010136 1740705300.0 `1740706064.010139 1740705300.0 `1740706103.009124 1740705300.0 `1740706113.010134 1740705300.0 `1740706123.010135 1740705300.0 `1740706134.010142 1740705300.0 `1740706144.010146 1740705300.0 `1740706154.010135 1740705300.0 `1740706164.010136 1740705300.0 `1740706173.009133 1740705300.0 `1740706183.010138 1740705300.0 `1740706193.010135 1740705300.0 `1740706234.010134 1740706200.0 `1740706244.010133 1740706200.0 `1740706253.009127 1740706200.0 `1740706263.010173 1740706200.0 `1740706284.010144 1740706200.0 `1740706294.010143 1740706200.0 `1740706304.010141 1740706200.0 `1740706313.009125 1740706200.0 `1740706323.010141 1740706200.0 `1740706333.010137 1740706200.0 `1740706343.010136 1740706200.0 `1740706354.010137 1740706200.0 `1740706364.010137 1740706200.0 `1740706384.01016 1740706200.0 `1740706393.009126 1740706200.0 `1740706434.010144 1740706200.0 `1740706444.010139 1740706200.0 `1740706454.010144 1740706200.0 `1740706463.009132 1740706200.0 `1740706473.01015 1740706200.0 `1740706483.010147 1740706200.0 `1740706494.010143 1740706200.0 `1740706504.01016 1740706200.0 `1740706514.010137 1740706200.0 `1740706524.010139 1740706200.0 `1740706533.009127 1740706200.0 `1740706553.010136 1740706200.0 `1740706564.010149 1740706200.0 `1740706574.010141 1740706200.0 `1740706584.010135 1740706200.0 `1740706623.010156 1740706200.0 `1740706634.010141 1740706200.0 `1740706644.010142 1740706200.0 `1740706654.010142 1740706200.0 `1740706664.010142 1740706200.0 `1740706683.01014 1740706200.0 `1740706693.010139 1740706200.0 `1740706704.010136 1740706200.0 `1740706714.010136 1740706200.0 `1740706724.010136 1740706200.0 `1740706734.010138 1740706200.0 `1740706743.009128 1740706200.0 `1740706784.010137 1740706200.0 `1740706913.010138 1740706200.0 `1740706924.010145 1740706200.0 `1740706934.010139 1740706200.0 `1740706963.009124 1740706200.0 `1740706973.010135 1740706200.0 `1740706983.010153 1740706200.0 `1740707004.010142 1740706200.0 `1740707014.010137 1740706200.0 `1740707024.010137 1740706200.0 `1740707033.009129 1740706200.0 `1740707043.010163 1740706200.0 `1740707053.010146 1740706200.0 `1740707064.010142 1740706200.0 `1740707074.010141 1740706200.0 `1740707084.010146 1740706200.0 `1740707094.010143 1740706200.0 `1740707123.010138 1740707100.0 `1740707134.010135 1740707100.0 `1740707193.010142 1740707100.0 `1740707204.010139 1740707100.0 `1740707214.010136 1740707100.0 `1740707224.01017 1740707100.0 `1740707234.010139 1740707100.0 `1740707243.009126 1740707100.0 `1740707253.010145 1740707100.0 `1740707263.01014 1740707100.0 `1740707274.010138 1740707100.0 `1740707284.010146 1740707100.0 `1740707304.010135 1740707100.0 `1740707313.009123 1740707100.0 `1740707323.010136 1740707100.0 `1740707333.010145 1740707100.0 `1740707344.010141 1740707100.0 `1740707354.010131 1740707100.0 `1740707374.010133 1740707100.0 `1740707384.010135 1740707100.0 `1740707393.009125 1740707100.0 `1740707413.010138 1740707100.0 `1740707424.010134 1740707100.0 `1740707434.010135 1740707100.0 `1740707444.010136 1740707100.0 `1740707454.010142 1740707100.0 `1740707463.00914 1740707100.0 `1740707473.010137 1740707100.0 `1740707483.010137 1740707100.0 `1740707494.010134 1740707100.0 `1740707504.010136 1740707100.0 `1740707514.010136 1740707100.0 `1740707533.009127 1740707100.0 `1740707543.010134 1740707100.0 `1740707553.010134 1740707100.0 `1740707563.010135 1740707100.0 `1740707574.010141 1740707100.0 `1740707584.010149 1740707100.0 `1740707594.010134 1740707100.0 `1740707604.010134 1740707100.0 `1740707613.009125 1740707100.0 `1740707633.01014 1740707100.0 `1740707644.010154 1740707100.0 `1740707683.009127 1740707100.0 `1740707693.01014 1740707100.0 `1740707703.010151 1740707100.0 `1740707714.010139 1740707100.0 `1740707724.010139 1740707100.0 `1740707734.010146 1740707100.0 `1740707744.010141 1740707100.0 `1740707753.009126 1740707100.0 `1740707763.010149 1740707100.0 `1740707773.010161 1740707100.0 `1740707784.010133 1740707100.0 `1740707794.010138 1740707100.0 `1740707804.010139 1740707100.0 `1740707814.010143 1740707100.0 `1740707843.010135 1740707100.0 `1740707854.010132 1740707100.0 `1740707864.010134 1740707100.0 `1740707874.010135 1740707100.0 `1740707884.010167 1740707100.0 `1740707893.009126 1740707100.0 `1740707903.010138 1740707100.0 `1740707913.01014 1740707100.0 `1740707924.010141 1740707100.0 `1740707934.010136 1740707100.0 `1740707953.010016 1740707100.0 `1740707963.010201 1740707100.0 `1740707973.010136 1740707100.0 `1740707983.010133 1740707100.0 `1740708014.010133 1740708000.0 `1740708023.009124 1740708000.0 `1740708033.010135 1740708000.0 `1740708043.010137 1740708000.0 `1740708053.010137 1740708000.0 `1740708063.010142 1740708000.0 `1740708073.010138 1740708000.0 `1740708084.010136 1740708000.0 `1740708094.010136 1740708000.0 `1740708103.009126 1740708000.0 `1740708113.010137 1740708000.0 `1740708123.010161 1740708000.0 `1740708133.010142 1740708000.0 `1740708143.010138 1740708000.0 `1740708154.010136 1740708000.0 `1740708173.009126 1740708000.0 `1740708183.01015 1740708000.0 `1740708193.010137 1740708000.0 `1740708203.010137 1740708000.0 `1740708213.010136 1740708000.0 `1740708224.010136 1740708000.0 `1740708234.010136 1740708000.0 `1740708243.009127 1740708000.0 `1740708253.010141 1740708000.0 `1740708263.010134 1740708000.0 `1740708273.010134 1740708000.0 `1740708283.010135 1740708000.0 `1740708293.010136 1740708000.0 `1740708304.010158 1740708000.0 `1740708313.009129 1740708000.0 `1740708323.010132 1740708000.0 `1740708343.010133 1740708000.0 `1740708353.010136 1740708000.0 `1740708363.01014 1740708000.0 `1740708374.010152 1740708000.0 `1740708384.010135 1740708000.0 `1740708393.009123 1740708000.0 `1740708403.010138 1740708000.0 `1740708413.010136 1740708000.0 `1740708423.010138 1740708000.0 `1740708433.010136 1740708000.0 `1740708444.010137 1740708000.0 `1740708454.010135 1740708000.0 `1740708483.010136 1740708000.0 `1740708493.01014 1740708000.0 `1740708503.010135 1740708000.0 `1740708513.010135 1740708000.0 `1740708524.010146 1740708000.0 `1740708533.009125 1740708000.0 `1740708543.010157 1740708000.0 `1740708553.010138 1740708000.0 `1740708563.010144 1740708000.0 `1740708594.010136 1740708000.0 `1740708603.009138 1740708000.0 `1740708613.010152 1740708000.0 `1740708623.010137 1740708000.0 `1740708633.010137 1740708000.0 `1740708643.010136 1740708000.0 `1740708664.01015 1740708000.0 `1740708674.010142 1740708000.0 `1740708683.009153 1740708000.0 `1740708693.010135 1740708000.0 `1740708703.010137 1740708000.0 `1740708713.010142 1740708000.0 `1740708723.010139 1740708000.0 `1740708734.010179 1740708000.0 `1740708743.009309 1740708000.0 `1740708773.010135 1740708000.0 `1740708783.010134 1740708000.0 `1740708794.010134 1740708000.0 `1740708804.010135 1740708000.0 `1740708813.009139 1740708000.0 `1740708823.010139 1740708000.0 `1740708833.010136 1740708000.0 `1740708843.010153 1740708000.0 `1740708853.010165 1740708000.0 `1740708864.010135 1740708000.0 `1740708873.009125 1740708000.0 `1740708883.010136 1740708000.0 `1740708903.010158 1740708900.0 `1740708913.010137 1740708900.0 `1740708923.010134 1740708900.0 `1740708934.010135 1740708900.0 `1740708944.010138 1740708900.0 `1740708953.009126 1740708900.0 `1740708963.010136 1740708900.0 `1740708973.010139 1740708900.0 `1740708983.010135 1740708900.0 `1740708993.010142 1740708900.0 `1740709004.010135 1740708900.0 `1740709033.010139 1740708900.0 `1740709043.010134 1740708900.0 `1740709053.010134 1740708900.0 `1740709063.010137 1740708900.0 `1740709073.01014 1740708900.0 `1740709084.010145 1740708900.0 `1740709093.009135 1740708900.0 `1740709103.010135 1740708900.0 `1740709113.010136 1740708900.0 `1740709123.010138 1740708900.0 `1740709133.010138 1740708900.0 `1740709154.010136 1740708900.0 `1740709164.010133 1740708900.0 `1740709173.009122 1740708900.0 `1740709183.010135 1740708900.0 `1740709193.010144 1740708900.0 `1740709203.010152 1740708900.0 `1740709213.010141 1740708900.0 `1740709224.010136 1740708900.0 `1740709253.010137 1740708900.0 `1740709263.010153 1740708900.0 `1740709273.01014 1740708900.0 `1740709293.010135 1740708900.0 `1740709304.010137 1740708900.0 `1740709313.009127 1740708900.0 `1740709323.010142 1740708900.0 `1740709333.01014 1740708900.0 `1740709343.010139 1740708900.0 `1740709353.010136 1740708900.0 `1740709363.010135 1740708900.0 `1740709374.010137 1740708900.0 `1740709383.009121 1740708900.0 `1740709413.010133 1740708900.0 `1740709423.010134 1740708900.0 `1740709433.010136 1740708900.0 `1740709444.010163 1740708900.0 `1740709454.01014 1740708900.0 `1740709463.009124 1740708900.0 `1740709473.010137 1740708900.0 `1740709483.01014 1740708900.0 `1740709493.010137 1740708900.0 `1740709503.010149 1740708900.0 `1740709514.010141 1740708900.0 `1740709533.009125 1740708900.0 `1740709543.010136 1740708900.0 `1740709573.010133 1740708900.0 `1740709583.010135 1740708900.0 `1740709594.010144 1740708900.0 `1740709603.009132 1740708900.0 `1740709613.010139 1740708900.0 `1740709623.010158 1740708900.0 `1740709633.010137 1740708900.0 `1740709643.010137 1740708900.0 `1740709664.010139 1740708900.0 `1740709673.009132 1740708900.0 `1740709683.010152 1740708900.0 `1740709693.010143 1740708900.0 `1740709703.010137 1740708900.0 `1740709713.010133 1740708900.0 `1740709744.010147 1740708900.0 `1740709753.009124 1740708900.0 `1740709944.010136 1740709800.0 `1740709973.010135 1740709800.0 `1740709983.01015 1740709800.0 `1740709993.010138 1740709800.0 `1740710003.010136 1740709800.0 `1740710014.010142 1740709800.0 `1740710023.009445 1740709800.0 `1740710033.010136 1740709800.0 `1740710043.010161 1740709800.0 `1740710064.010134 1740709800.0 `1740710074.010137 1740709800.0 `1740710083.009128 1740709800.0 `1740710093.010139 1740709800.0 `1740710103.010163 1740709800.0 `1740710134.010137 1740709800.0 `1740710303.009124 1740709800.0 `1740710313.010136 1740709800.0 `1740710323.010138 1740709800.0 `1740710333.01014 1740709800.0 `1740710343.010135 1740709800.0 `1740710354.010135 1740709800.0 `1740710364.010134 1740709800.0 `1740710373.009131 1740709800.0 `1740710383.010142 1740709800.0 `1740710393.010137 1740709800.0 `1740710403.010152 1740709800.0 `1740710413.01014 1740709800.0 `1740710443.009129 1740709800.0 `1740710453.010136 1740709800.0 `1740710463.010155 1740709800.0 `1740710473.01014 1740709800.0 `1740710483.010143 1740709800.0 `1740710493.010143 1740709800.0 `1740710504.010147 1740709800.0 `1740710523.010146 1740709800.0 `1740710533.010138 1740709800.0 `1740710543.010134 1740709800.0 `1740710553.010171 1740709800.0 `1740710563.010134 1740709800.0 `1740710574.010134 1740709800.0 `1740710603.010133 1740709800.0 `1740710613.010133 1740709800.0 `1740710623.010134 1740709800.0 `1740710633.010134 1740709800.0 `1740710644.010141 1740709800.0 `1740710663.009128 1740709800.0 `1740710683.010141 1740709800.0 `1740710693.010139 1740709800.0 `1740710703.010148 1740710700.0 `1740710724.010142 1740710700.0 `1740710733.009134 1740710700.0 `1740710763.010145 1740710700.0 `1740710773.010146 1740710700.0 `1740710784.010138 1740710700.0 `1740710794.010144 1740710700.0 `1740710803.00913 1740710700.0 `1740710813.010134 1740710700.0 `1740710823.01015 1740710700.0 `1740710833.010139 1740710700.0 `1740710843.010143 1740710700.0 `1740710854.010135 1740710700.0 `1740710864.010133 1740710700.0 `1740710883.010147 1740710700.0 `1740710893.010139 1740710700.0 `1740710903.010135 1740710700.0 `1740710913.010136 1740710700.0 `1740710923.010137 1740710700.0 `1740710934.010138 1740710700.0 `1740710943.009133 1740710700.0 `1740710953.01014 1740710700.0 `1740710963.010138 1740710700.0 `1740710973.010139 1740710700.0 `1740710993.010138 1740710700.0 `1740711004.010157 1740710700.0 `1740711033.010132 1740710700.0 `1740711043.010135 1740710700.0 `1740711053.010137 1740710700.0 `1740711063.010161 1740710700.0 `1740711074.010138 1740710700.0 `1740711083.009151 1740710700.0 `1740711093.010136 1740710700.0 `1740711103.010138 1740710700.0 `1740711113.010137 1740710700.0 `1740711123.010138 1740710700.0 `1740711133.010144 1740710700.0 `1740711144.010137 1740710700.0 `1740711154.010138 1740710700.0 `1740711193.010138 1740710700.0 `1740711203.010138 1740710700.0 `1740711214.010149 1740710700.0 `1740711224.01015 1740710700.0 `1740711233.00913 1740710700.0 `1740711243.010138 1740710700.0 `1740711253.010143 1740710700.0 `1740711263.010139 1740710700.0 `1740711273.010137 1740710700.0 `1740711284.01014 1740710700.0 `1740711294.010139 1740710700.0 `1740711303.00914 1740710700.0 `1740711333.010137 1740710700.0 `1740711343.010138 1740710700.0 `1740711354.01014 1740710700.0 `1740711364.01015 1740710700.0 `1740711373.009154 1740710700.0 `1740711383.010139 1740710700.0 `1740711393.010135 1740710700.0 `1740711403.010138 1740710700.0 `1740711413.010135 1740710700.0 `1740711424.01015 1740710700.0 `1740711434.010139 1740710700.0 `1740711443.00913 1740710700.0 `1740711453.010135 1740710700.0 `1740711463.010138 1740710700.0 `1740711473.010137 1740710700.0 `1740711513.009123 1740710700.0 `1740711533.010133 1740710700.0 `1740711553.010018 1740710700.0 `1740711563.010145 1740710700.0 `1740711573.010136 1740710700.0 `1740711583.010137 1740710700.0 `1740711593.01014 1740710700.0 `1740711603.010137 1740711600.0 `1740711624.010139 1740711600.0 `1740711643.010137 1740711600.0 `1740711673.010139 1740711600.0 `1740711684.010137 1740711600.0 `1740711694.010146 1740711600.0 `1740711703.009134 1740711600.0 `1740711713.010137 1740711600.0 `1740711733.010139 1740711600.0 `1740711754.010136 1740711600.0 `1740711764.010138 1740711600.0 `1740711773.009128 1740711600.0 `1740711793.010142 1740711600.0 `1740711803.010144 1740711600.0 `1740711843.009126 1740711600.0 `1740711853.010143 1740711600.0 `1740711863.010137 1740711600.0 `1740711873.010145 1740711600.0 `1740711883.010143 1740711600.0 `1740711904.010158 1740711600.0 `1740711923.010135 1740711600.0 `1740711933.010135 1740711600.0 `1740711943.010139 1740711600.0 `1740711953.010137 1740711600.0 `1740711964.01015 1740711600.0 `1740711974.010137 1740711600.0 `1740711983.009124 1740711600.0 `1740711993.010135 1740711600.0 `1740712003.010134 1740711600.0 `1740712033.010135 1740711600.0 `1740712044.010133 1740711600.0 `1740712063.009128 1740711600.0 `1740712083.010156 1740711600.0 `1740712093.010139 1740711600.0 `1740712114.010138 1740711600.0 `1740712124.010142 1740711600.0 `1740712163.010141 1740711600.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.021437644958496094 ***** 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': '28022025', 'map_nb_amount': {0: 5, 1: 18, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 289.99999713897705, 'nb_balles_papier': 0.00025, 'begin_time_port': 'image_28022025_02_09_54_010140m0.jpg 9e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00025 We reject this portfolio because of the condition_save_data : 2025-02-28 02:09:54.010140 result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 6, 1: 64, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999768733978, 'nb_balles_papier': 0.0007200000000000012, 'begin_time_port': 'image_28022025_02_15_03_010158m0.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.0007200000000000012 We reject this portfolio because of the condition_save_data : 2025-02-28 02:15:03.010158 ERROR missing amount info result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 7, 1: 50, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 860.000009059906, 'nb_balles_papier': 0.0005800000000000009, 'begin_time_port': 'image_28022025_02_30_34_010134m0.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.0005800000000000009 We reject this portfolio because of the condition_save_data : 2025-02-28 02:30:34.010134 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 12, 1: 46, 2: 11, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 859.9999949932098, 'nb_balles_papier': 0.0006900000000000012, 'begin_time_port': 'image_28022025_02_45_23_010138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0006900000000000012 We reject this portfolio because of the condition_save_data : 2025-02-28 02:45:23.010138 result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 14, 1: 62, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.000002861023, 'nb_balles_papier': 0.0007900000000000014, 'begin_time_port': 'image_28022025_03_00_14_010133m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0007900000000000014 We reject this portfolio because of the condition_save_data : 2025-02-28 03:00:14.010133 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 9, 1: 53, 2: 4, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 849.9989659786224, 'nb_balles_papier': 0.0006700000000000011, 'begin_time_port': 'image_28022025_03_15_03_010158m0.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.0006700000000000011 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '28022025', 'map_nb_amount': {0: 6, 1: 28, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 749.0000030994415, 'nb_balles_papier': 0.00034000000000000024, 'begin_time_port': 'image_28022025_03_32_24_010136m0.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.00034000000000000024 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '28022025', 'map_nb_amount': {0: 7, 1: 35, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999918937683, 'nb_balles_papier': 0.0004400000000000005, 'begin_time_port': 'image_28022025_03_45_03_10148.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004400000000000005 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '28022025', 'map_nb_amount': {0: 1, 1: 10, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 560.0000038146973, 'nb_balles_papier': 0.00011, 'begin_time_port': 'image_28022025_04_00_03_10137.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00011 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 : {1340058661, 1340058605, 1340058674, 1340058579, 1340058588, 1340058526} Still a lot to verify ! Qualite : 0.10289746261654546 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`=20906134 AND mptpi.`type`=3726 To do Qualite : 0.11183913044676853 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`=20907055 AND mptpi.`type`=3726 To do Qualite : 0.11721529475197166 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`=20907421 AND mptpi.`type`=3726 To do Qualite : 0.11227729038993868 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`=20908156 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 2.378201484680176 # DISPLAY ALL COLLECTED DATA : {'28022025': {'nb_upload': 536, 'nb_taggue_class': 755, 'nb_taggue_densite': 755}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340058674, 1340058661, 1340058605, 1340058588, 1340058579, 1340058526, 1340058181, 1340058179, 1340058177, 1340057717, 1340057626, 1340057462, 1340057326, 1340057233, 1340057049, 1340057029, 1340057025, 1340057023, 1340057021, 1340057001, 1340056998, 1340056994, 1340056992, 1340056990, 1340056960, 1340056943, 1340056892, 1340056887, 1340056885, 1340056883, 1340056846, 1340056841, 1340056837, 1340056835, 1340056833, 1340056600, 1340056598, 1340056548, 1340056409, 1340056406, 1340056401, 1340056397, 1340056395, 1340055912, 1340055901, 1340055883, 1340055879, 1340055871, 1340055818, 1340055699, 1340055691, 1340055656, 1340055649, 1340055644, 1340055635, 1340055634, 1340055621, 1340055388, 1340055386, 1340055370, 1340055226, 1340055132, 1340055127, 1340055125, 1340055123, 1340055122, 1340055121, 1340055067, 1340055005, 1340055003, 1340055002, 1340055001, 1340054774, 1340054765, 1340054759, 1340054757, 1340054739, 1340054726, 1340054723, 1340054672, 1340054663, 1340054661, 1340054640, 1340054639, 1340054637, 1340054636, 1340054613, 1340054609, 1340054601, 1340054536, 1340054503, 1340054312, 1340054280, 1340054220, 1340054217, 1340054213, 1340054130, 1340053284, 1340053278, 1340053275] Looping around the photos to save general results len do output : 1 /20899997Didn'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, '2622036') ('4876', '20899997', '1340058674', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340058661', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340058605', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340058588', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340058579', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340058526', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340058181', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340058179', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340058177', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340057717', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340057626', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340057462', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340057326', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340057233', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340057049', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340057029', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340057025', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340057023', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340057021', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340057001', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056998', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056994', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056992', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056990', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056960', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056943', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056892', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056887', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056885', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056883', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056846', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056841', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056837', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056835', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056833', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056600', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056598', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056548', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056409', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056406', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056401', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056397', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340056395', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055912', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055901', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055883', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055879', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055871', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055818', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055699', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055691', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055656', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055649', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055644', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055635', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055634', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055621', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055388', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055386', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055370', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055226', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055132', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055127', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055125', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055123', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055122', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055121', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055067', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055005', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055003', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055002', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340055001', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054774', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054765', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054759', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054757', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054739', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054726', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054723', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054672', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054663', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054661', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054640', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054639', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054637', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054636', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054613', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054609', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054601', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054536', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054503', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054312', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054280', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054220', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054217', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054213', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340054130', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340053284', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340053278', None, None, None, None, None, '2622036') ('4876', None, None, None, None, None, None, None, '2622036') ('4876', '20899997', '1340053275', None, None, None, None, None, '2622036') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.0276186466217041 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.815744161605835 time spend to save output : 0.028407812118530273 total time spend for step 1 : 2.8441519737243652 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.45user 0.68system 0:07.22elapsed 29%CPU (0avgtext+0avgdata 102740maxresident)k 0inputs+136outputs (0major+49297minor)pagefaults 0swaps