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 : 2393770 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 : 1473>1000 please execute split_portfolio.py -i 20860610 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2619038'] with mtr_portfolio_ids : ['20860610'] and first list_photo_ids : [] new path : /proc/2393770/ 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.02646183967590332 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Feb 27 06:56:27 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', 283), ('01', 115), ('02', 261), ('03', 214), ('04', 56), ('05', 266), ('06', 278)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1370} 27022025 20860610 Nombre de photos uploadées : 545 / 23040 (2%) 27022025 20860610 Nombre de photos taguées (types de déchets): 1370 / 545 (251%) 27022025 20860610 Nombre de photos taguées (volume) : 1370 / 545 (251%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0006399154663085938 ????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.05926680564880371 elapsed_time : insert_dashboard_record_day_entry 0.02802896499633789 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 elapsed_time : list_photo_by_hashtags 0.020921945571899414 photos_removed : len 0 elapsed_time : load_duplicate_info 0.0369718074798584 ***** BEGIN SPLIT TIME ***** True 1740614400.0 `1740625794.010135 1740625200.0 `1740628874.009125 1740628800.0 `1740628884.01014 1740628800.0 `1740628935.010135 1740628800.0 `1740629074.010142 1740628800.0 `1740629174.010135 1740628800.0 `1740629184.010138 1740628800.0 `1740629305.010134 1740628800.0 `1740629314.009132 1740628800.0 `1740629375.010152 1740628800.0 `1740629404.010155 1740628800.0 `1740629414.010137 1740628800.0 `1740629434.010145 1740628800.0 `1740629445.010142 1740628800.0 `1740629454.009132 1740628800.0 `1740629464.010167 1740628800.0 `1740629474.010136 1740628800.0 `1740629484.010135 1740628800.0 `1740629494.010136 1740628800.0 `1740629504.010137 1740628800.0 `1740629515.010141 1740628800.0 `1740629524.009151 1740628800.0 `1740629544.010135 1740628800.0 `1740629554.010133 1740628800.0 `1740629564.010135 1740628800.0 `1740629574.010138 1740628800.0 `1740629585.010152 1740628800.0 `1740629594.009128 1740628800.0 `1740629604.010148 1740628800.0 `1740629614.010137 1740628800.0 `1740629624.01014 1740628800.0 `1740629634.010134 1740628800.0 `1740629644.010156 1740628800.0 `1740629655.010132 1740628800.0 `1740629664.009123 1740628800.0 `1740629674.010136 1740628800.0 `1740629684.010137 1740628800.0 `1740629694.01014 1740628800.0 `1740629704.010151 1740629700.0 `1740629714.010136 1740629700.0 `1740629724.010135 1740629700.0 `1740629735.010136 1740629700.0 `1740629754.010139 1740629700.0 `1740629764.010148 1740629700.0 `1740629774.010137 1740629700.0 `1740629784.010136 1740629700.0 `1740629794.010135 1740629700.0 `1740629834.010141 1740629700.0 `1740629854.010136 1740629700.0 `1740629864.010137 1740629700.0 `1740629875.010135 1740629700.0 `1740629884.009143 1740629700.0 `1740629894.010135 1740629700.0 `1740629904.010135 1740629700.0 `1740629914.01014 1740629700.0 `1740629924.010136 1740629700.0 `1740629934.010138 1740629700.0 `1740629945.010141 1740629700.0 `1740629954.009125 1740629700.0 `1740629964.010141 1740629700.0 `1740629974.010136 1740629700.0 `1740629984.010134 1740629700.0 `1740630014.010135 1740629700.0 `1740630025.010133 1740629700.0 `1740630034.009124 1740629700.0 `1740630044.010137 1740629700.0 `1740630054.010159 1740629700.0 `1740630064.010218 1740629700.0 `1740630074.010135 1740629700.0 `1740630084.010133 1740629700.0 `1740630094.009124 1740629700.0 `1740630114.010139 1740629700.0 `1740630124.010142 1740629700.0 `1740630134.010134 1740629700.0 `1740630144.010138 1740629700.0 `1740630154.010138 1740629700.0 `1740630165.010139 1740629700.0 `1740630174.00913 1740629700.0 `1740630184.010137 1740629700.0 `1740630194.010136 1740629700.0 `1740630224.010133 1740629700.0 `1740630235.010136 1740629700.0 `1740630244.009127 1740629700.0 `1740630254.010142 1740629700.0 `1740630264.010138 1740629700.0 `1740630274.01014 1740629700.0 `1740630284.010142 1740629700.0 `1740630294.010137 1740629700.0 `1740630314.009123 1740629700.0 `1740630324.010134 1740629700.0 `1740630334.010134 1740629700.0 `1740630344.010138 1740629700.0 `1740630354.010138 1740629700.0 `1740630364.010157 1740629700.0 `1740630374.010139 1740629700.0 `1740630384.009126 1740629700.0 `1740630414.010143 1740629700.0 `1740630424.010147 1740629700.0 `1740630434.010136 1740629700.0 `1740630444.010135 1740629700.0 `1740630455.010147 1740629700.0 `1740630464.009126 1740629700.0 `1740630474.010137 1740629700.0 `1740630484.010143 1740629700.0 `1740630494.010134 1740629700.0 `1740630504.010137 1740629700.0 `1740630514.010133 1740629700.0 `1740630534.009127 1740629700.0 `1740630544.01015 1740629700.0 `1740630554.010135 1740629700.0 `1740630564.010145 1740629700.0 `1740630574.010135 1740629700.0 `1740630584.010139 1740629700.0 `1740630595.010138 1740629700.0 `1740630604.009125 1740630600.0 `1740630624.010133 1740630600.0 `1740630634.010133 1740630600.0 `1740630644.010135 1740630600.0 `1740630654.01014 1740630600.0 `1740630665.010154 1740630600.0 `1740630674.009127 1740630600.0 `1740630684.010135 1740630600.0 `1740630694.010135 1740630600.0 `1740630704.010137 1740630600.0 `1740630714.010135 1740630600.0 `1740630734.010134 1740630600.0 `1740630744.009125 1740630600.0 `1740630754.010137 1740630600.0 `1740630764.010138 1740630600.0 `1740630774.010144 1740630600.0 `1740630784.010161 1740630600.0 `1740630794.010135 1740630600.0 `1740630804.010135 1740630600.0 `1740630814.009125 1740630600.0 `1740630824.010137 1740630600.0 `1740630834.010134 1740630600.0 `1740630854.010136 1740630600.0 `1740630864.010135 1740630600.0 `1740630874.010137 1740630600.0 `1740630885.010136 1740630600.0 `1740630894.009128 1740630600.0 `1740630904.010139 1740630600.0 `1740630914.010136 1740630600.0 `1740630924.010135 1740630600.0 `1740630955.010134 1740630600.0 `1740630964.009141 1740630600.0 `1740630974.010144 1740630600.0 `1740630984.010136 1740630600.0 `1740630994.010135 1740630600.0 `1740631004.010138 1740630600.0 `1740631014.010137 1740630600.0 `1740631044.010139 1740630600.0 `1740631054.010134 1740630600.0 `1740631064.010134 1740630600.0 `1740631074.01014 1740630600.0 `1740631084.01015 1740630600.0 `1740631094.010137 1740630600.0 `1740631104.009125 1740630600.0 `1740631114.010144 1740630600.0 `1740631124.010136 1740630600.0 `1740631134.010135 1740630600.0 `1740631164.010134 1740630600.0 `1740631175.010135 1740630600.0 `1740631184.009126 1740630600.0 `1740631194.010144 1740630600.0 `1740631204.010164 1740630600.0 `1740631214.010135 1740630600.0 `1740631224.010135 1740630600.0 `1740631234.010133 1740630600.0 `1740631254.009124 1740630600.0 `1740631264.010151 1740630600.0 `1740631274.010136 1740630600.0 `1740631284.010142 1740630600.0 `1740631294.010136 1740630600.0 `1740631304.010138 1740630600.0 `1740631315.010138 1740630600.0 `1740631334.010137 1740630600.0 `1740631344.010133 1740630600.0 `1740631354.010135 1740630600.0 `1740631364.010137 1740630600.0 `1740631374.010136 1740630600.0 `1740631385.010165 1740630600.0 `1740631394.009129 1740630600.0 `1740631404.010142 1740630600.0 `1740631424.010138 1740630600.0 `1740631434.010136 1740630600.0 `1740631444.010149 1740630600.0 `1740631454.010139 1740630600.0 `1740631464.009128 1740630600.0 `1740631474.010135 1740630600.0 `1740631484.010135 1740630600.0 `1740631514.010136 1740631500.0 `1740631524.010135 1740631500.0 `1740631535.010138 1740631500.0 `1740631544.009126 1740631500.0 `1740631554.010136 1740631500.0 `1740631564.010147 1740631500.0 `1740631574.010135 1740631500.0 `1740631584.010135 1740631500.0 `1740631594.010137 1740631500.0 `1740631624.010156 1740631500.0 `1740631634.010134 1740631500.0 `1740631644.010134 1740631500.0 `1740631654.010142 1740631500.0 `1740631664.01014 1740631500.0 `1740631675.010137 1740631500.0 `1740631684.009142 1740631500.0 `1740631694.010136 1740631500.0 `1740631724.010134 1740631500.0 `1740631734.010133 1740631500.0 `1740631745.010166 1740631500.0 `1740631754.009128 1740631500.0 `1740631764.010163 1740631500.0 `1740631774.010147 1740631500.0 `1740631784.010142 1740631500.0 `1740631794.010139 1740631500.0 `1740631815.010134 1740631500.0 `1740631824.009123 1740631500.0 `1740631834.010133 1740631500.0 `1740631844.010137 1740631500.0 `1740631854.010138 1740631500.0 `1740631864.010157 1740631500.0 `1740631874.010135 1740631500.0 `1740631884.010133 1740631500.0 `1740631904.009125 1740631500.0 `1740631914.010134 1740631500.0 `1740631924.010152 1740631500.0 `1740631934.010147 1740631500.0 `1740631944.010139 1740631500.0 `1740631954.010136 1740631500.0 `1740631965.010138 1740631500.0 `1740631974.009144 1740631500.0 `1740631984.010154 1740631500.0 `1740631994.010135 1740631500.0 `1740632014.010133 1740631500.0 `1740632024.010134 1740631500.0 `1740632035.010137 1740631500.0 `1740632044.00913 1740631500.0 `1740632054.010139 1740631500.0 `1740632064.010144 1740631500.0 `1740632074.010133 1740631500.0 `1740632084.010135 1740631500.0 `1740632094.010137 1740631500.0 `1740632124.010139 1740631500.0 `1740632134.010134 1740631500.0 `1740632144.010137 1740631500.0 `1740632154.010133 1740631500.0 `1740632164.010139 1740631500.0 `1740632174.010142 1740631500.0 `1740632184.009123 1740631500.0 `1740632194.010135 1740631500.0 `1740632214.010136 1740631500.0 `1740632224.010147 1740631500.0 `1740632234.010136 1740631500.0 `1740632244.010138 1740631500.0 `1740632255.010138 1740631500.0 `1740632264.009127 1740631500.0 `1740632274.010137 1740631500.0 `1740632294.010138 1740631500.0 `1740632304.010134 1740631500.0 `1740632314.010133 1740631500.0 `1740632325.010135 1740631500.0 `1740632334.009127 1740631500.0 `1740632353.010033 1740631500.0 `1740632363.010145 1740631500.0 `1740632373.010135 1740631500.0 `1740632393.010134 1740631500.0 `1740632403.010142 1740632400.0 `1740632414.010134 1740632400.0 `1740632424.010135 1740632400.0 `1740632433.009125 1740632400.0 `1740632443.010138 1740632400.0 `1740632453.010136 1740632400.0 `1740632463.010148 1740632400.0 `1740632473.010136 1740632400.0 `1740632494.010136 1740632400.0 `1740632503.009126 1740632400.0 `1740632513.010132 1740632400.0 `1740632523.010149 1740632400.0 `1740632533.010139 1740632400.0 `1740632543.010135 1740632400.0 `1740632554.010168 1740632400.0 `1740632564.010139 1740632400.0 `1740632593.010137 1740632400.0 `1740632603.010138 1740632400.0 `1740632613.010135 1740632400.0 `1740632624.010139 1740632400.0 `1740632634.010139 1740632400.0 `1740632643.009131 1740632400.0 `1740632653.010154 1740632400.0 `1740632663.010135 1740632400.0 `1740632673.010135 1740632400.0 `1740632683.010136 1740632400.0 `1740632704.010149 1740632400.0 `1740632713.009126 1740632400.0 `1740632723.010133 1740632400.0 `1740632733.010136 1740632400.0 `1740632743.010136 1740632400.0 `1740632753.010138 1740632400.0 `1740632763.010146 1740632400.0 `1740632774.010138 1740632400.0 `1740632784.010132 1740632400.0 `1740632803.010136 1740632400.0 `1740632813.010137 1740632400.0 `1740632823.010147 1740632400.0 `1740632833.010135 1740632400.0 `1740632844.010134 1740632400.0 `1740632854.010136 1740632400.0 `1740632863.009128 1740632400.0 `1740632893.010142 1740632400.0 `1740632903.010134 1740632400.0 `1740632914.010137 1740632400.0 `1740632924.010139 1740632400.0 `1740632933.009151 1740632400.0 `1740632943.01016 1740632400.0 `1740632953.010141 1740632400.0 `1740632963.010135 1740632400.0 `1740632973.010133 1740632400.0 `1740632994.010136 1740632400.0 `1740633003.009129 1740632400.0 `1740633013.010142 1740632400.0 `1740633023.010136 1740632400.0 `1740633033.010142 1740632400.0 `1740633043.010141 1740632400.0 `1740633053.010143 1740632400.0 `1740633064.010137 1740632400.0 `1740633083.010134 1740632400.0 `1740633093.010138 1740632400.0 `1740633103.010143 1740632400.0 `1740633113.009922 1740632400.0 `1740633123.01014 1740632400.0 `1740633134.010139 1740632400.0 `1740633144.010137 1740632400.0 `1740633153.009126 1740632400.0 `1740633163.010135 1740632400.0 `1740633173.010136 1740632400.0 `1740633193.010133 1740632400.0 `1740633204.010134 1740632400.0 `1740633214.010135 1740632400.0 `1740633223.009127 1740632400.0 `1740633233.010136 1740632400.0 `1740633243.010149 1740632400.0 `1740633253.010137 1740632400.0 `1740633284.010138 1740632400.0 `1740633294.010136 1740632400.0 `1740633303.009129 1740633300.0 `1740633313.01014 1740633300.0 `1740633323.010208 1740633300.0 `1740633333.010144 1740633300.0 `1740633344.010142 1740633300.0 `1740633354.010139 1740633300.0 `1740633363.009138 1740633300.0 `1740633373.010141 1740633300.0 `1740633403.010133 1740633300.0 `1740633413.01014 1740633300.0 `1740633424.01016 1740633300.0 `1740633433.009128 1740633300.0 `1740633443.010134 1740633300.0 `1740633453.010138 1740633300.0 `1740633463.010143 1740633300.0 `1740633473.010137 1740633300.0 `1740633494.01014 1740633300.0 `1740633503.009123 1740633300.0 `1740633513.010134 1740633300.0 `1740633523.010136 1740633300.0 `1740633533.01014 1740633300.0 `1740633543.01015 1740633300.0 `1740633553.010135 1740633300.0 `1740633564.010135 1740633300.0 `1740633593.010137 1740633300.0 `1740633603.010136 1740633300.0 `1740633613.010139 1740633300.0 `1740633623.010134 1740633300.0 `1740633634.010142 1740633300.0 `1740633644.01014 1740633300.0 `1740633653.009129 1740633300.0 `1740633663.010155 1740633300.0 `1740633693.010135 1740633300.0 `1740633704.010136 1740633300.0 `1740633714.010138 1740633300.0 `1740633723.009128 1740633300.0 `1740633733.01014 1740633300.0 `1740633743.010136 1740633300.0 `1740633753.010137 1740633300.0 `1740633763.010137 1740633300.0 `1740633773.010135 1740633300.0 `1740633803.00913 1740633300.0 `1740633813.010133 1740633300.0 `1740633823.010135 1740633300.0 `1740633833.010135 1740633300.0 `1740633843.010152 1740633300.0 `1740633854.010139 1740633300.0 `1740633864.010136 1740633300.0 `1740633873.009126 1740633300.0 `1740633883.010144 1740633300.0 `1740633893.010135 1740633300.0 `1740633913.010136 1740633300.0 `1740633924.010138 1740633300.0 `1740633934.010135 1740633300.0 `1740633943.009126 1740633300.0 `1740633953.010135 1740633300.0 `1740633963.010139 1740633300.0 `1740633973.010161 1740633300.0 `1740633983.010136 1740633300.0 `1740633993.010135 1740633300.0 `1740634004.010135 1740633300.0 `1740634023.010148 1740633300.0 `1740634033.010137 1740633300.0 `1740634043.01014 1740633300.0 `1740634053.010137 1740633300.0 `1740634063.010138 1740633300.0 `1740634074.010139 1740633300.0 `1740634084.010144 1740633300.0 `1740634093.009128 1740633300.0 `1740634123.010133 1740633300.0 `1740634133.010136 1740633300.0 `1740634144.010136 1740633300.0 `1740634154.010138 1740633300.0 `1740634163.009151 1740633300.0 `1740634173.01014 1740633300.0 `1740634183.010142 1740633300.0 `1740634193.010138 1740633300.0 `1740634203.010138 1740634200.0 `1740634224.010132 1740634200.0 `1740634233.009122 1740634200.0 `1740634243.010135 1740634200.0 `1740634253.010136 1740634200.0 `1740634263.010157 1740634200.0 `1740634273.010145 1740634200.0 `1740634284.010142 1740634200.0 `1740634294.010133 1740634200.0 `1740634313.010135 1740634200.0 `1740634323.010151 1740634200.0 `1740634333.010139 1740634200.0 `1740634343.010135 1740634200.0 `1740634353.010136 1740634200.0 `1740634364.010137 1740634200.0 `1740634374.010136 1740634200.0 `1740634383.009126 1740634200.0 `1740634413.010133 1740634200.0 `1740634423.010134 1740634200.0 `1740634434.010143 1740634200.0 `1740634444.010137 1740634200.0 `1740634453.009127 1740634200.0 `1740634463.010137 1740634200.0 `1740634504.010148 1740634200.0 `1740634514.010137 1740634200.0 `1740634533.010137 1740634200.0 `1740634543.010149 1740634200.0 `1740634553.010138 1740634200.0 `1740634563.010149 1740634200.0 `1740634574.010137 1740634200.0 `1740634584.010138 1740634200.0 `1740634603.010137 1740634200.0 `1740634613.010134 1740634200.0 `1740634623.01015 1740634200.0 `1740634633.010142 1740634200.0 `1740634643.010142 1740634200.0 `1740634654.010138 1740634200.0 `1740634663.009127 1740634200.0 `1740634673.010137 1740634200.0 `1740634683.010134 1740634200.0 `1740634713.010133 1740634200.0 `1740634724.010135 1740634200.0 `1740634734.010137 1740634200.0 `1740634743.009128 1740634200.0 `1740634753.010139 1740634200.0 `1740634763.010134 1740634200.0 `1740634773.010138 1740634200.0 `1740634794.010135 1740634200.0 `1740634804.010147 1740634200.0 `1740634813.00913 1740634200.0 `1740634823.010146 1740634200.0 `1740634833.010138 1740634200.0 `1740634843.010138 1740634200.0 `1740634853.010138 1740634200.0 `1740634883.009152 1740634200.0 `1740634893.010133 1740634200.0 `1740634903.010135 1740634200.0 `1740634913.010137 1740634200.0 `1740634923.010137 1740634200.0 `1740634934.010135 1740634200.0 `1740634944.010135 1740634200.0 `1740634953.009134 1740634200.0 `1740634983.010162 1740634200.0 `1740634993.010136 1740634200.0 `1740635003.01014 1740634200.0 `1740635014.010135 1740634200.0 `1740635023.009129 1740634200.0 `1740635033.010143 1740634200.0 `1740635043.010135 1740634200.0 `1740635053.010136 1740634200.0 `1740635063.010134 1740634200.0 `1740635084.010133 1740634200.0 `1740635094.010144 1740634200.0 `1740635103.00913 1740635100.0 `1740635113.010142 1740635100.0 `1740635123.010141 1740635100.0 `1740635133.010139 1740635100.0 `1740635143.010139 1740635100.0 `1740635154.01014 1740635100.0 `1740635183.010137 1740635100.0 `1740635193.010138 1740635100.0 `1740635203.010138 1740635100.0 `1740635213.010144 1740635100.0 `1740635224.010154 1740635100.0 `1740635234.01014 1740635100.0 `1740635243.009132 1740635100.0 `1740635253.010136 1740635100.0 `1740635263.010138 1740635100.0 `1740635294.010144 1740635100.0 `1740635304.010136 1740635100.0 `1740635313.009127 1740635100.0 `1740635323.01014 1740635100.0 `1740635333.010137 1740635100.0 `1740635343.010136 1740635100.0 `1740635353.010175 1740635100.0 `1740635364.010134 1740635100.0 `1740635373.009299 1740635100.0 `1740635383.010135 1740635100.0 `1740635393.010138 1740635100.0 `1740635413.010139 1740635100.0 `1740635423.010133 1740635100.0 `1740635434.010134 1740635100.0 `1740635443.009128 1740635100.0 `1740635453.010139 1740635100.0 `1740635463.01016 1740635100.0 `1740635473.010137 1740635100.0 `1740635483.01014 1740635100.0 `1740635493.010136 1740635100.0 `1740635504.010138 1740635100.0 `1740635514.010139 1740635100.0 `1740635543.010135 1740635100.0 `1740635553.010134 1740635100.0 `1740635563.010135 1740635100.0 `1740635574.010138 1740635100.0 `1740635584.010135 1740635100.0 `1740635593.009124 1740635100.0 `1740635603.010135 1740635100.0 `1740635613.01014 1740635100.0 `1740635623.010144 1740635100.0 `1740635654.010138 1740635100.0 `1740635663.009124 1740635100.0 `1740635673.010136 1740635100.0 `1740635683.010137 1740635100.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.021234750747680664 ***** 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'] ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '27022025', 'map_nb_amount': {0: 4, 1: 27, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 820.0010149478912, 'nb_balles_papier': 0.00034000000000000024, 'begin_time_port': 'image_27022025_05_01_14_009125m0.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 We reject this portfolio because of the condition_save_data : 2025-02-27 05:01:14.009125 result_one_balle_Type_JRM:{'day': '27022025', 'map_nb_amount': {0: 8, 1: 64, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.9999871253967, 'nb_balles_papier': 0.0007600000000000013, 'begin_time_port': 'image_27022025_05_15_04_010151m0.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-27 05:15:04.010151 result_one_balle_Type_JRM:{'day': '27022025', 'map_nb_amount': {0: 9, 1: 64, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.0010099411011, 'nb_balles_papier': 0.0007700000000000014, 'begin_time_port': 'image_27022025_05_30_04_009125m0.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.0007700000000000014 We reject this portfolio because of the condition_save_data : 2025-02-27 05:30:04.009125 result_one_balle_Type_JRM:{'day': '27022025', 'map_nb_amount': {0: 9, 1: 57, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 878.9999980926514, 'nb_balles_papier': 0.0007600000000000013, 'begin_time_port': 'image_27022025_05_45_14_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.0007600000000000013 We reject this portfolio because of the condition_save_data : 2025-02-27 05:45:14.010136 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': '27022025', 'map_nb_amount': {0: 11, 1: 57, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.999993801117, 'nb_balles_papier': 0.0007300000000000013, 'begin_time_port': 'image_27022025_06_00_03_010142m0.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.0007300000000000013 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '27022025', 'map_nb_amount': {0: 11, 1: 44, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.0010089874268, 'nb_balles_papier': 0.0005600000000000008, 'begin_time_port': 'image_27022025_06_15_03_009129m0.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.0005600000000000008 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '27022025', 'map_nb_amount': {0: 5, 1: 42, 2: 5, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 891.0000059604645, 'nb_balles_papier': 0.0005300000000000007, 'begin_time_port': 'image_27022025_06_30_03_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.0005300000000000007 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '27022025', 'map_nb_amount': {0: 4, 1: 8, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 580.0010070800781, 'nb_balles_papier': 0.00014000000000000001, 'begin_time_port': 'image_27022025_06_45_03_9130.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00014000000000000001 We have rejected 1 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 : {1339868609, 1339868557, 1339868560, 1339868562, 1339868598, 1339868568, 1339868601, 1339868604, 1339868573, 1339868607} Still a lot to verify ! Qualite : 0.09926909806053924 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`=20872052 AND mptpi.`type`=3726 To do Qualite : 0.09852777283076722 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`=20872521 AND mptpi.`type`=3726 To do Qualite : 0.1023900146996363 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`=20872924 AND mptpi.`type`=3726 To do Qualite : 0.09532002500810124 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`=20873480 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 1.0169329643249512 # DISPLAY ALL COLLECTED DATA : {'27022025': {'nb_upload': 545, 'nb_taggue_class': 1370, 'nb_taggue_densite': 1370}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339868609, 1339868607, 1339868604, 1339868601, 1339868598, 1339868573, 1339868568, 1339868562, 1339868560, 1339868557, 1339868541, 1339868538, 1339868536, 1339868533, 1339868455, 1339868446, 1339868439, 1339868436, 1339868433, 1339868430, 1339868394, 1339868392, 1339868383, 1339868380, 1339868377, 1339868347, 1339868345, 1339868342, 1339868339, 1339868267, 1339868257, 1339868242, 1339868240, 1339868229, 1339868222, 1339868203, 1339868171, 1339868169, 1339868165, 1339868159, 1339868156, 1339868043, 1339868041, 1339867971, 1339867955, 1339867699, 1339867570, 1339867568, 1339867566, 1339867553, 1339867545, 1339867529, 1339867528, 1339867526, 1339867524, 1339867519, 1339867505, 1339867503, 1339867501, 1339867499, 1339867496, 1339867493, 1339867480, 1339867477, 1339867476, 1339867474, 1339867456, 1339867454, 1339867452, 1339867447, 1339867416, 1339867415, 1339867413, 1339867410, 1339867407, 1339867403, 1339867375, 1339867374, 1339867371, 1339867368, 1339867365, 1339867348, 1339867345, 1339867342, 1339867339, 1339867253, 1339867250, 1339867185, 1339867042, 1339867026, 1339867023, 1339866987, 1339866880, 1339866878, 1339866875, 1339866873, 1339866592, 1339866591, 1339866588, 1339866587] Looping around the photos to save general results len do output : 1 /20860610Didn'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, '2619038') ('4876', '20860610', '1339868609', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868607', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868604', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868601', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868598', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868573', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868568', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868562', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868560', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868557', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868541', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868538', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868536', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868533', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868455', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868446', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868439', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868436', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868433', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868430', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868394', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868392', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868383', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868380', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868377', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868347', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868345', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868342', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868339', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868267', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868257', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868242', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868240', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868229', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868222', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868203', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868171', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868169', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868165', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868159', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868156', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868043', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339868041', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867971', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867955', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867699', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867570', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867568', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867566', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867553', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867545', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867529', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867528', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867526', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867524', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867519', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867505', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867503', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867501', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867499', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867496', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867493', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867480', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867477', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867476', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867474', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867456', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867454', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867452', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867447', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867416', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867415', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867413', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867410', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867407', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867403', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867375', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867374', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867371', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867368', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867365', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867348', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867345', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867342', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867339', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867253', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867250', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867185', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867042', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867026', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339867023', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339866987', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339866880', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339866878', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339866875', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339866873', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339866592', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339866591', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339866588', None, None, None, None, None, '2619038') ('4876', None, None, None, None, None, None, None, '2619038') ('4876', '20860610', '1339866587', None, None, None, None, None, '2619038') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.038481950759887695 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3651528358459473 time spend to save output : 0.03924298286437988 total time spend for step 1 : 1.4043958187103271 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.28user 0.59system 0:04.41elapsed 42%CPU (0avgtext+0avgdata 104016maxresident)k 200inputs+128outputs (22major+49570minor)pagefaults 0swaps