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 : 1641963 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 : 1737>1000 please execute split_portfolio.py -i 20698945 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2603469'] with mtr_portfolio_ids : ['20698945'] and first list_photo_ids : [] new path : /proc/1641963/ 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.03514504432678223 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Feb 21 07:56: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', 255), ('01', 139), ('02', 274), ('03', 240), ('04', 16), ('05', 261), ('06', 305), ('07', 247)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1544} 21022025 20698945 Nombre de photos uploadées : 572 / 23040 (2%) 21022025 20698945 Nombre de photos taguées (types de déchets): 1544 / 572 (269%) 21022025 20698945 Nombre de photos taguées (volume) : 1544 / 572 (269%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0006663799285888672 ???????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.055536508560180664 elapsed_time : insert_dashboard_record_day_entry 0.03155875205993652 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 elapsed_time : list_photo_by_hashtags 0.03206658363342285 photos_removed : len 0 elapsed_time : load_duplicate_info 0.05021023750305176 ***** BEGIN SPLIT TIME ***** True 1740096000.0 `1740113753.010142 1740113100.0 `1740113774.010137 1740113100.0 `1740113784.010135 1740113100.0 `1740113794.010147 1740113100.0 `1740113804.010138 1740113100.0 `1740113814.010137 1740113100.0 `1740113823.009146 1740113100.0 `1740113834.010138 1740113100.0 `1740113844.010145 1740113100.0 `1740113854.010135 1740113100.0 `1740113884.010139 1740113100.0 `1740113893.009122 1740113100.0 `1740113904.010134 1740113100.0 `1740113914.010134 1740113100.0 `1740113924.010135 1740113100.0 `1740113934.010138 1740113100.0 `1740113954.010995 1740113100.0 `1740113964.009128 1740113100.0 `1740113974.010132 1740113100.0 `1740113994.010133 1740113100.0 `1740114004.010132 1740114000.0 `1740114014.010135 1740114000.0 `1740114024.010138 1740114000.0 `1740114034.009169 1740114000.0 `1740114044.010136 1740114000.0 `1740114054.010134 1740114000.0 `1740114064.010143 1740114000.0 `1740114074.010137 1740114000.0 `1740114084.010134 1740114000.0 `1740114103.009127 1740114000.0 `1740114114.010134 1740114000.0 `1740114124.010149 1740114000.0 `1740114134.010135 1740114000.0 `1740114144.010134 1740114000.0 `1740114154.010134 1740114000.0 `1740114164.010135 1740114000.0 `1740114173.009128 1740114000.0 `1740114184.010148 1740114000.0 `1740114214.010134 1740114000.0 `1740114224.010133 1740114000.0 `1740114234.010138 1740114000.0 `1740114244.010157 1740114000.0 `1740114254.009126 1740114000.0 `1740114264.010135 1740114000.0 `1740114274.010136 1740114000.0 `1740114284.010138 1740114000.0 `1740114294.010138 1740114000.0 `1740114304.010154 1740114000.0 `1740114334.010135 1740114000.0 `1740114344.010134 1740114000.0 `1740114354.010137 1740114000.0 `1740114364.010153 1740114000.0 `1740114374.010167 1740114000.0 `1740114384.010137 1740114000.0 `1740114393.009125 1740114000.0 `1740114404.010137 1740114000.0 `1740114414.010141 1740114000.0 `1740114434.010138 1740114000.0 `1740114444.01014 1740114000.0 `1740114454.010167 1740114000.0 `1740114463.009129 1740114000.0 `1740114474.010138 1740114000.0 `1740114484.010144 1740114000.0 `1740114494.010153 1740114000.0 `1740114514.010135 1740114000.0 `1740114533.009128 1740114000.0 `1740114544.010151 1740114000.0 `1740114564.010134 1740114000.0 `1740114574.01014 1740114000.0 `1740114594.010138 1740114000.0 `1740114603.00915 1740114000.0 `1740114614.010135 1740114000.0 `1740114644.010135 1740114000.0 `1740114654.010135 1740114000.0 `1740114664.010155 1740114000.0 `1740114674.010135 1740114000.0 `1740114684.009124 1740114000.0 `1740114694.010134 1740114000.0 `1740114704.010136 1740114000.0 `1740114714.01014 1740114000.0 `1740114724.010137 1740114000.0 `1740114744.010133 1740114000.0 `1740114753.009123 1740114000.0 `1740114764.010134 1740114000.0 `1740114774.010139 1740114000.0 `1740114784.010152 1740114000.0 `1740114794.010136 1740114000.0 `1740114804.010136 1740114000.0 `1740114814.010143 1740114000.0 `1740114834.010138 1740114000.0 `1740114844.01015 1740114000.0 `1740114854.010138 1740114000.0 `1740114864.010134 1740114000.0 `1740114874.010135 1740114000.0 `1740114884.010136 1740114000.0 `1740114894.010138 1740114000.0 `1740114924.01014 1740114900.0 `1740114934.010136 1740114900.0 `1740114944.010136 1740114900.0 `1740114954.010138 1740114900.0 `1740114964.010162 1740114900.0 `1740114974.009123 1740114900.0 `1740114984.010134 1740114900.0 `1740115004.010136 1740114900.0 `1740115014.010134 1740114900.0 `1740115024.010135 1740114900.0 `1740115034.010135 1740114900.0 `1740115043.009124 1740114900.0 `1740115054.010135 1740114900.0 `1740115064.010137 1740114900.0 `1740115084.010151 1740114900.0 `1740115094.010134 1740114900.0 `1740115104.010135 1740114900.0 `1740115113.009127 1740114900.0 `1740115124.010139 1740114900.0 `1740115134.01014 1740114900.0 `1740115144.010152 1740114900.0 `1740115154.010134 1740114900.0 `1740115164.010134 1740114900.0 `1740115204.010151 1740114900.0 `1740115214.010141 1740114900.0 `1740115224.010138 1740114900.0 `1740115234.010137 1740114900.0 `1740115244.01014 1740114900.0 `1740115254.010133 1740114900.0 `1740115263.009139 1740114900.0 `1740115274.010138 1740114900.0 `1740115284.01014 1740114900.0 `1740115294.010133 1740114900.0 `1740115314.010134 1740114900.0 `1740115324.010144 1740114900.0 `1740115333.009126 1740114900.0 `1740115344.010134 1740114900.0 `1740115354.010134 1740114900.0 `1740115364.010134 1740114900.0 `1740115374.010147 1740114900.0 `1740115384.010147 1740114900.0 `1740115394.010139 1740114900.0 `1740115404.010134 1740114900.0 `1740115434.010135 1740114900.0 `1740115444.010138 1740114900.0 `1740115454.010137 1740114900.0 `1740115464.010136 1740114900.0 `1740115474.010135 1740114900.0 `1740115483.009131 1740114900.0 `1740115494.010137 1740114900.0 `1740115504.010153 1740114900.0 `1740115514.010136 1740114900.0 `1740115524.010141 1740114900.0 `1740115534.010137 1740114900.0 `1740115544.010137 1740114900.0 `1740115553.009124 1740114900.0 `1740115584.010134 1740114900.0 `1740115594.010134 1740114900.0 `1740115604.010134 1740114900.0 `1740115614.010135 1740114900.0 `1740115623.009151 1740114900.0 `1740115634.010136 1740114900.0 `1740115644.010141 1740114900.0 `1740115654.010134 1740114900.0 `1740115664.010137 1740114900.0 `1740115674.010139 1740114900.0 `1740115694.010136 1740114900.0 `1740115704.009122 1740114900.0 `1740115714.010134 1740114900.0 `1740115724.010135 1740114900.0 `1740115734.010138 1740114900.0 `1740115744.010152 1740114900.0 `1740115754.010134 1740114900.0 `1740115764.010137 1740114900.0 `1740115784.010134 1740114900.0 `1740115794.010133 1740114900.0 `1740115804.010151 1740115800.0 `1740115814.010139 1740115800.0 `1740115824.010136 1740115800.0 `1740115834.010136 1740115800.0 `1740115843.009125 1740115800.0 `1740115854.010137 1740115800.0 `1740115864.010162 1740115800.0 `1740115894.010133 1740115800.0 `1740115904.010137 1740115800.0 `1740115914.010146 1740115800.0 `1740115924.009137 1740115800.0 `1740115934.01014 1740115800.0 `1740115944.010135 1740115800.0 `1740115954.010134 1740115800.0 `1740115964.010137 1740115800.0 `1740115974.010136 1740115800.0 `1740115993.009126 1740115800.0 `1740116004.01014 1740115800.0 `1740116014.01014 1740115800.0 `1740116024.010135 1740115800.0 `1740116034.010134 1740115800.0 `1740116044.010161 1740115800.0 `1740116054.010139 1740115800.0 `1740116063.009126 1740115800.0 `1740116084.010139 1740115800.0 `1740116094.01014 1740115800.0 `1740116104.010154 1740115800.0 `1740116114.010135 1740115800.0 `1740116124.010139 1740115800.0 `1740116133.009127 1740115800.0 `1740116144.010136 1740115800.0 `1740116164.010154 1740115800.0 `1740116174.010139 1740115800.0 `1740116184.010137 1740115800.0 `1740116194.010135 1740115800.0 `1740116203.009128 1740115800.0 `1740116214.010134 1740115800.0 `1740116224.010156 1740115800.0 `1740116234.010139 1740115800.0 `1740116264.010136 1740115800.0 `1740116274.010137 1740115800.0 `1740116284.009133 1740115800.0 `1740116294.010139 1740115800.0 `1740116304.010134 1740115800.0 `1740116314.010135 1740115800.0 `1740116324.010136 1740115800.0 `1740116353.009124 1740115800.0 `1740116364.010139 1740115800.0 `1740116374.010135 1740115800.0 `1740116384.010137 1740115800.0 `1740116394.010135 1740115800.0 `1740116404.010158 1740115800.0 `1740116414.010135 1740115800.0 `1740116423.009123 1740115800.0 `1740116434.010135 1740115800.0 `1740116444.010134 1740115800.0 `1740116464.010161 1740115800.0 `1740116474.010134 1740115800.0 `1740116484.010133 1740115800.0 `1740116494.010135 1740115800.0 `1740116504.009126 1740115800.0 `1740116514.010135 1740115800.0 `1740116524.010137 1740115800.0 `1740116534.010137 1740115800.0 `1740116544.010134 1740115800.0 `1740116554.010136 1740115800.0 `1740116564.010136 1740115800.0 `1740116584.010155 1740115800.0 `1740116594.010137 1740115800.0 `1740116604.01014 1740115800.0 `1740116614.010135 1740115800.0 `1740116624.010136 1740115800.0 `1740116634.010138 1740115800.0 `1740116643.009146 1740115800.0 `1740116654.010142 1740115800.0 `1740116664.010136 1740115800.0 `1740116694.010136 1740115800.0 `1740116704.010138 1740116700.0 `1740116713.009126 1740116700.0 `1740116724.010137 1740116700.0 `1740116734.010138 1740116700.0 `1740116744.010139 1740116700.0 `1740116754.010139 1740116700.0 `1740116764.010152 1740116700.0 `1740116774.010139 1740116700.0 `1740116804.010133 1740116700.0 `1740116814.010134 1740116700.0 `1740116824.010153 1740116700.0 `1740116834.010136 1740116700.0 `1740116844.010135 1740116700.0 `1740116854.010134 1740116700.0 `1740116863.009127 1740116700.0 `1740116874.010139 1740116700.0 `1740116904.010133 1740116700.0 `1740116914.010136 1740116700.0 `1740116924.010145 1740116700.0 `1740116933.009125 1740116700.0 `1740116944.010152 1740116700.0 `1740116954.010135 1740116700.0 `1740116964.010142 1740116700.0 `1740116974.010136 1740116700.0 `1740117003.009141 1740116700.0 `1740117014.010137 1740116700.0 `1740117024.010138 1740116700.0 `1740117034.010137 1740116700.0 `1740117044.01014 1740116700.0 `1740117054.010139 1740116700.0 `1740117064.010151 1740116700.0 `1740117074.010135 1740116700.0 `1740117084.009125 1740116700.0 `1740117104.010133 1740116700.0 `1740117114.010135 1740116700.0 `1740117124.010151 1740116700.0 `1740117134.010141 1740116700.0 `1740117144.010136 1740116700.0 `1740117153.009127 1740116700.0 `1740117164.010138 1740116700.0 `1740117174.010137 1740116700.0 `1740117184.010156 1740116700.0 `1740117194.010136 1740116700.0 `1740117223.009123 1740116700.0 `1740117234.010136 1740116700.0 `1740117244.010155 1740116700.0 `1740117254.010135 1740116700.0 `1740117264.010135 1740116700.0 `1740117274.010137 1740116700.0 `1740117284.010139 1740116700.0 `1740117293.00913 1740116700.0 `1740117304.010144 1740116700.0 `1740117314.010135 1740116700.0 `1740117334.010146 1740116700.0 `1740117344.010135 1740116700.0 `1740117354.010136 1740116700.0 `1740117364.010155 1740116700.0 `1740117374.00913 1740116700.0 `1740117384.010134 1740116700.0 `1740117394.010134 1740116700.0 `1740117404.010136 1740116700.0 `1740117434.010135 1740116700.0 `1740117443.009122 1740116700.0 `1740117454.010135 1740116700.0 `1740117464.010137 1740116700.0 `1740117474.010138 1740116700.0 `1740117484.010146 1740116700.0 `1740117494.010133 1740116700.0 `1740117504.010135 1740116700.0 `1740117513.009124 1740116700.0 `1740117524.010136 1740116700.0 `1740117554.010001 1740116700.0 `1740117564.010168 1740116700.0 `1740117574.010135 1740116700.0 `1740117584.010137 1740116700.0 `1740117594.010136 1740116700.0 `1740117604.010133 1740117600.0 `1740117615.010136 1740117600.0 `1740117625.01014 1740117600.0 `1740117634.009124 1740117600.0 `1740117644.010146 1740117600.0 `1740117754.010138 1740117600.0 `1740117765.010136 1740117600.0 `1740117784.010134 1740117600.0 `1740117794.010133 1740117600.0 `1740117804.010134 1740117600.0 `1740117864.010137 1740117600.0 `1740117874.010139 1740117600.0 `1740117884.010143 1740117600.0 `1740117894.010137 1740117600.0 `1740117905.010159 1740117600.0 `1740117915.010135 1740117600.0 `1740117944.010136 1740117600.0 `1740117954.010138 1740117600.0 `1740117964.010139 1740117600.0 `1740117985.010138 1740117600.0 `1740117994.009126 1740117600.0 `1740118004.01014 1740117600.0 `1740118014.010136 1740117600.0 `1740118024.010141 1740117600.0 `1740118034.010135 1740117600.0 `1740118044.010133 1740117600.0 `1740118074.009122 1740117600.0 `1740118084.010143 1740117600.0 `1740118094.010135 1740117600.0 `1740118104.0103 1740117600.0 `1740118115.010135 1740117600.0 `1740118125.010139 1740117600.0 `1740118134.009129 1740117600.0 `1740118144.010154 1740117600.0 `1740118154.010138 1740117600.0 `1740118164.010135 1740117600.0 `1740118174.010133 1740117600.0 `1740118185.010135 1740117600.0 `1740118214.010136 1740117600.0 `1740118224.010133 1740117600.0 `1740118234.010134 1740117600.0 `1740118244.010136 1740117600.0 `1740118254.010135 1740117600.0 `1740118265.010166 1740117600.0 `1740118274.00913 1740117600.0 `1740118284.010142 1740117600.0 `1740118304.010137 1740117600.0 `1740118314.010146 1740117600.0 `1740118324.01014 1740117600.0 `1740118335.010138 1740117600.0 `1740118344.009126 1740117600.0 `1740118354.010136 1740117600.0 `1740118364.010136 1740117600.0 `1740118374.010139 1740117600.0 `1740118384.010151 1740117600.0 `1740118394.010135 1740117600.0 `1740118415.010134 1740117600.0 `1740118424.009125 1740117600.0 `1740118434.010136 1740117600.0 `1740118444.010145 1740117600.0 `1740118454.010138 1740117600.0 `1740118464.010134 1740117600.0 `1740118475.010133 1740117600.0 `1740118485.010135 1740117600.0 `1740118494.009125 1740117600.0 `1740118534.010135 1740118500.0 `1740118544.010136 1740118500.0 `1740118555.01014 1740118500.0 `1740118564.009128 1740118500.0 `1740118574.010133 1740118500.0 `1740118584.010134 1740118500.0 `1740118654.010145 1740118500.0 `1740118664.010138 1740118500.0 `1740118674.010135 1740118500.0 `1740118684.010151 1740118500.0 `1740118695.010135 1740118500.0 `1740118705.010133 1740118500.0 `1740118714.009133 1740118500.0 `1740118724.010137 1740118500.0 `1740118734.01014 1740118500.0 `1740118744.010152 1740118500.0 `1740118754.010134 1740118500.0 `1740118765.010134 1740118500.0 `1740118775.010133 1740118500.0 `1740118804.010159 1740118500.0 `1740118814.010137 1740118500.0 `1740118824.010134 1740118500.0 `1740118834.010137 1740118500.0 `1740118845.010136 1740118500.0 `1740118854.009124 1740118500.0 `1740118864.010149 1740118500.0 `1740118874.010136 1740118500.0 `1740118904.010133 1740118500.0 `1740118915.010141 1740118500.0 `1740118925.010145 1740118500.0 `1740118934.009125 1740118500.0 `1740118944.010136 1740118500.0 `1740118954.010136 1740118500.0 `1740118964.010136 1740118500.0 `1740118985.010148 1740118500.0 `1740118995.010136 1740118500.0 `1740119004.009123 1740118500.0 `1740119014.010136 1740118500.0 `1740119024.010138 1740118500.0 `1740119034.010138 1740118500.0 `1740119044.010139 1740118500.0 `1740119054.010134 1740118500.0 `1740119065.010134 1740118500.0 `1740119094.010134 1740118500.0 `1740119104.010149 1740118500.0 `1740119114.010137 1740118500.0 `1740119124.010136 1740118500.0 `1740119135.010137 1740118500.0 `1740119145.010137 1740118500.0 `1740119154.009128 1740118500.0 `1740119164.01014 1740118500.0 `1740119174.010136 1740118500.0 `1740119194.010133 1740118500.0 `1740119204.010133 1740118500.0 `1740119215.010135 1740118500.0 `1740119224.009145 1740118500.0 `1740119234.01014 1740118500.0 `1740119244.010139 1740118500.0 `1740119254.010133 1740118500.0 `1740119264.010134 1740118500.0 `1740119274.010135 1740118500.0 `1740119294.009123 1740118500.0 `1740119304.010135 1740118500.0 `1740119314.010133 1740118500.0 `1740119324.010136 1740118500.0 `1740119334.010142 1740118500.0 `1740119344.010142 1740118500.0 `1740119355.010145 1740118500.0 `1740119365.010135 1740118500.0 `1740119374.009125 1740118500.0 `1740119384.010139 1740118500.0 `1740119394.010137 1740118500.0 `1740119425.010133 1740119400.0 `1740119435.010132 1740119400.0 `1740119444.009125 1740119400.0 `1740119454.010136 1740119400.0 `1740119464.010146 1740119400.0 `1740119474.010136 1740119400.0 `1740119484.010134 1740119400.0 `1740119494.010135 1740119400.0 `1740119505.010136 1740119400.0 `1740119514.009125 1740119400.0 `1740119534.010141 1740119400.0 `1740119554.010134 1740119400.0 `1740119564.010137 1740119400.0 `1740119575.010137 1740119400.0 `1740119585.01016 1740119400.0 `1740119594.009125 1740119400.0 `1740119604.010141 1740119400.0 `1740119614.010144 1740119400.0 `1740119624.010142 1740119400.0 `1740119634.010139 1740119400.0 `1740119645.010143 1740119400.0 `1740119664.009128 1740119400.0 `1740119674.010138 1740119400.0 `1740119684.010141 1740119400.0 `1740119694.010144 1740119400.0 `1740119704.010142 1740119400.0 `1740119715.010141 1740119400.0 `1740119725.010137 1740119400.0 `1740119734.009127 1740119400.0 `1740119744.010137 1740119400.0 `1740119754.010139 1740119400.0 `1740119784.010132 1740119400.0 `1740119795.010133 1740119400.0 `1740119804.009124 1740119400.0 `1740119814.010138 1740119400.0 `1740119824.010179 1740119400.0 `1740119834.010149 1740119400.0 `1740119844.010135 1740119400.0 `1740119854.010134 1740119400.0 `1740119884.01014 1740119400.0 `1740119894.010136 1740119400.0 `1740119904.010134 1740119400.0 `1740119914.010133 1740119400.0 `1740119924.010136 1740119400.0 `1740119935.010136 1740119400.0 `1740119945.010153 1740119400.0 `1740119954.009125 1740119400.0 `1740119974.010133 1740119400.0 `1740119984.010132 1740119400.0 `1740119994.010138 1740119400.0 `1740120005.010151 1740119400.0 `1740120015.010135 1740119400.0 `1740120024.009124 1740119400.0 `1740120034.010134 1740119400.0 `1740120044.010136 1740119400.0 `1740120074.010133 1740119400.0 `1740120085.010132 1740119400.0 `1740120094.009123 1740119400.0 `1740120104.010136 1740119400.0 `1740120114.010135 1740119400.0 `1740120124.010159 1740119400.0 `1740120134.010142 1740119400.0 `1740120144.010134 1740119400.0 `1740120155.010134 1740119400.0 `1740120194.010135 1740119400.0 `1740120204.010133 1740119400.0 `1740120214.010134 1740119400.0 `1740120225.010136 1740119400.0 `1740120235.010137 1740119400.0 `1740120244.009141 1740119400.0 `1740120254.010144 1740119400.0 `1740120264.010141 1740119400.0 `1740120274.010141 1740119400.0 `1740120284.010142 1740119400.0 `1740120295.010145 1740119400.0 `1740120334.010136 1740120300.0 `1740120344.010138 1740120300.0 `1740120354.010139 1740120300.0 `1740120375.010134 1740120300.0 `1740120384.009126 1740120300.0 `1740120404.010137 1740120300.0 `1740120414.010137 1740120300.0 `1740120424.010146 1740120300.0 `1740120454.009125 1740120300.0 `1740120474.010137 1740120300.0 `1740120494.010139 1740120300.0 `1740120504.010134 1740120300.0 `1740120515.010137 1740120300.0 `1740120524.009126 1740120300.0 `1740120564.010132 1740120300.0 `1740120574.010138 1740120300.0 `1740120585.010137 1740120300.0 `1740120595.010138 1740120300.0 `1740120614.010136 1740120300.0 `1740120624.010137 1740120300.0 `1740120634.01014 1740120300.0 `1740120644.010139 1740120300.0 `1740120655.010135 1740120300.0 `1740120665.010141 1740120300.0 `1740120674.009125 1740120300.0 `1740120684.010141 1740120300.0 `1740120714.010135 1740120300.0 `1740120735.010135 1740120300.0 `1740120744.009123 1740120300.0 `1740120754.010134 1740120300.0 `1740120794.010134 1740120300.0 `1740120805.010135 1740120300.0 `1740120834.010137 1740120300.0 `1740120844.01014 1740120300.0 `1740120894.009128 1740120300.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.043483734130859375 ***** 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': '21022025', 'map_nb_amount': {0: 3, 1: 12, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 240.999990940094, 'nb_balles_papier': 0.0002, 'begin_time_port': 'image_21022025_05_55_53_010142m0.jpg 0.00011 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0002 We reject this portfolio because of the condition_save_data : 2025-02-21 05:55:53.010142 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': '21022025', 'map_nb_amount': {0: 8, 1: 46, 2: 17, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.0000059604645, 'nb_balles_papier': 0.0007100000000000012, 'begin_time_port': 'image_21022025_06_00_04_010132m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0007100000000000012 We reject this portfolio because of the condition_save_data : 2025-02-21 06:00:04.010132 result_one_balle_Type_JRM:{'day': '21022025', 'map_nb_amount': {0: 5, 1: 53, 2: 18, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999930858612, 'nb_balles_papier': 0.0007600000000000013, 'begin_time_port': 'image_21022025_06_15_24_010140m0.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.0007600000000000013 We reject this portfolio because of the condition_save_data : 2025-02-21 06:15:24.010140 result_one_balle_Type_JRM:{'day': '21022025', 'map_nb_amount': {0: 6, 1: 41, 2: 30, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999849796295, 'nb_balles_papier': 0.0007700000000000014, 'begin_time_port': 'image_21022025_06_30_04_010151m0.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.0007700000000000014 We reject this portfolio because of the condition_save_data : 2025-02-21 06:30:04.010151 result_one_balle_Type_JRM:{'day': '21022025', 'map_nb_amount': {0: 11, 1: 33, 2: 32, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999978542328, 'nb_balles_papier': 0.0007600000000000013, 'begin_time_port': 'image_21022025_06_45_04_010138m0.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.0007600000000000013 We reject this portfolio because of the condition_save_data : 2025-02-21 06:45:04.010138 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '21022025', 'map_nb_amount': {0: 10, 1: 30, 2: 13, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9989919662476, 'nb_balles_papier': 0.0005400000000000008, 'begin_time_port': 'image_21022025_07_00_04_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.0005400000000000008 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '21022025', 'map_nb_amount': {0: 6, 1: 20, 2: 12, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 860.0000021457672, 'nb_balles_papier': 0.00038000000000000035, 'begin_time_port': 'image_21022025_07_15_34_010135m0.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.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 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': '21022025', 'map_nb_amount': {0: 5, 1: 34, 2: 2, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 870.000011920929, 'nb_balles_papier': 0.00042000000000000045, 'begin_time_port': 'image_21022025_07_30_25_10133.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00042000000000000045 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '21022025', 'map_nb_amount': {0: 1, 1: 12, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 559.9989922046661, 'nb_balles_papier': 0.00018, 'begin_time_port': 'image_21022025_07_45_34_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.00018 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 : {1338768748, 1338768751, 1338768882, 1338768755, 1338768826, 1338768829} Still a lot to verify ! Qualite : 0.05231467903742512 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`=20714111 AND mptpi.`type`=3726 To do Qualite : 0.06664248658853894 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`=20714749 AND mptpi.`type`=3726 To do Qualite : 0.05038056496734515 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`=20715400 AND mptpi.`type`=3726 To do Qualite : 0.05599572533069895 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`=20716211 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.9988908767700195 # DISPLAY ALL COLLECTED DATA : {'21022025': {'nb_upload': 572, 'nb_taggue_class': 1544, 'nb_taggue_densite': 1544}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1338768882, 1338768829, 1338768826, 1338768755, 1338768751, 1338768748, 1338768730, 1338768727, 1338768722, 1338768681, 1338768678, 1338768673, 1338768666, 1338768642, 1338768639, 1338768636, 1338768631, 1338768627, 1338768602, 1338768598, 1338768594, 1338768591, 1338768356, 1338768353, 1338768349, 1338768345, 1338768039, 1338768036, 1338768034, 1338767999, 1338767989, 1338767985, 1338767981, 1338767938, 1338767934, 1338767931, 1338767857, 1338767853, 1338767844, 1338767825, 1338767822, 1338767813, 1338767706, 1338767704, 1338767702, 1338767701, 1338767699, 1338767643, 1338767634, 1338767579, 1338767492, 1338767444, 1338767442, 1338767433, 1338767432, 1338767431, 1338767380, 1338767375, 1338767359, 1338767348, 1338767309, 1338767215, 1338767212, 1338767207, 1338767204, 1338767194, 1338767162, 1338767159, 1338767157, 1338767150, 1338767136, 1338767133, 1338767108, 1338767102, 1338767099, 1338767097, 1338767073, 1338767070, 1338767063, 1338767054, 1338766978, 1338766970, 1338766964, 1338766961, 1338766948, 1338766942, 1338766922, 1338766918, 1338766910, 1338766901, 1338766894, 1338766876, 1338766865, 1338766855, 1338766852, 1338766849, 1338766845, 1338766805, 1338766800, 1338766797] Looping around the photos to save general results len do output : 1 /20698945Didn'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, '2603469') ('4876', '20698945', '1338768882', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768829', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768826', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768755', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768751', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768748', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768730', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768727', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768722', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768681', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768678', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768673', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768666', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768642', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768639', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768636', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768631', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768627', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768602', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768598', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768594', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768591', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768356', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768353', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768349', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768345', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768039', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768036', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338768034', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767999', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767989', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767985', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767981', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767938', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767934', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767931', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767857', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767853', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767844', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767825', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767822', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767813', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767706', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767704', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767702', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767701', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767699', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767643', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767634', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767579', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767492', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767444', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767442', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767433', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767432', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767431', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767380', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767375', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767359', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767348', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767309', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767215', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767212', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767207', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767204', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767194', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767162', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767159', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767157', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767150', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767136', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767133', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767108', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767102', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767099', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767097', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767073', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767070', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767063', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338767054', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766978', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766970', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766964', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766961', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766948', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766942', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766922', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766918', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766910', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766901', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766894', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766876', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766865', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766855', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766852', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766849', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766845', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766805', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766800', None, None, None, None, None, '2603469') ('4876', None, None, None, None, None, None, None, '2603469') ('4876', '20698945', '1338766797', None, None, None, None, None, '2603469') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.028374433517456055 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4542338848114014 time spend to save output : 0.029162168502807617 total time spend for step 1 : 1.483396053314209 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.33user 0.96system 0:04.88elapsed 46%CPU (0avgtext+0avgdata 104688maxresident)k 0inputs+136outputs (0major+49582minor)pagefaults 0swaps