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 : 2612931 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 : 1762>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 : ['2619200'] with mtr_portfolio_ids : ['20860610'] and first list_photo_ids : [] new path : /proc/2612931/ 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.031171560287475586 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 07: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', 304), ('07', 263)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1623} 27022025 20860610 Nombre de photos uploadées : 592 / 23040 (2%) 27022025 20860610 Nombre de photos taguées (types de déchets): 1623 / 592 (274%) 27022025 20860610 Nombre de photos taguées (volume) : 1623 / 592 (274%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0005686283111572266 ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.050127267837524414 elapsed_time : insert_dashboard_record_day_entry 0.025979280471801758 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.021385669708251953 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03760409355163574 ***** BEGIN SPLIT TIME ***** True 1740614400.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 `1740635693.01014 1740635100.0 `1740635703.010152 1740635100.0 `1740635714.010143 1740635100.0 `1740635724.010145 1740635100.0 `1740635743.010139 1740635100.0 `1740635753.010137 1740635100.0 `1740635763.010145 1740635100.0 `1740635773.010141 1740635100.0 `1740635783.01014 1740635100.0 `1740635794.010138 1740635100.0 `1740635803.009128 1740635100.0 `1740635813.010135 1740635100.0 `1740635823.010151 1740635100.0 `1740635833.010139 1740635100.0 `1740635843.010141 1740635100.0 `1740635874.010135 1740635100.0 `1740635883.009125 1740635100.0 `1740635893.01014 1740635100.0 `1740635903.010139 1740635100.0 `1740635913.010145 1740635100.0 `1740635923.010141 1740635100.0 `1740635934.010135 1740635100.0 `1740635954.011004 1740635100.0 `1740635973.010136 1740635100.0 `1740635984.010134 1740635100.0 `1740635994.010137 1740635100.0 `1740636004.010143 1740636000.0 `1740636014.010139 1740636000.0 `1740636024.010138 1740636000.0 `1740636033.009127 1740636000.0 `1740636043.010135 1740636000.0 `1740636053.010136 1740636000.0 `1740636064.010141 1740636000.0 `1740636084.010139 1740636000.0 `1740636094.010135 1740636000.0 `1740636103.009125 1740636000.0 `1740636113.010137 1740636000.0 `1740636123.010144 1740636000.0 `1740636134.010139 1740636000.0 `1740636144.010135 1740636000.0 `1740636154.010136 1740636000.0 `1740636164.010138 1740636000.0 `1740636173.009129 1740636000.0 `1740636183.010145 1740636000.0 `1740636193.010138 1740636000.0 `1740636224.010136 1740636000.0 `1740636234.010136 1740636000.0 `1740636244.010156 1740636000.0 `1740636253.009131 1740636000.0 `1740636263.010134 1740636000.0 `1740636273.010135 1740636000.0 `1740636284.010137 1740636000.0 `1740636294.010137 1740636000.0 `1740636304.010166 1740636000.0 `1740636333.010134 1740636000.0 `1740636343.010133 1740636000.0 `1740636354.010148 1740636000.0 `1740636364.010142 1740636000.0 `1740636374.010136 1740636000.0 `1740636384.010135 1740636000.0 `1740636393.009131 1740636000.0 `1740636403.01014 1740636000.0 `1740636413.010137 1740636000.0 `1740636434.010135 1740636000.0 `1740636444.010139 1740636000.0 `1740636454.010133 1740636000.0 `1740636464.010138 1740636000.0 `1740636473.009126 1740636000.0 `1740636483.010145 1740636000.0 `1740636494.010141 1740636000.0 `1740636504.010135 1740636000.0 `1740636514.010137 1740636000.0 `1740636524.01014 1740636000.0 `1740636534.010141 1740636000.0 `1740636543.009142 1740636000.0 `1740636574.010133 1740636000.0 `1740636584.010133 1740636000.0 `1740636594.010133 1740636000.0 `1740636604.010137 1740636000.0 `1740636623.010136 1740636000.0 `1740636633.010135 1740636000.0 `1740636644.010136 1740636000.0 `1740636654.010136 1740636000.0 `1740636664.010138 1740636000.0 `1740636674.010137 1740636000.0 `1740636683.009128 1740636000.0 `1740636693.010137 1740636000.0 `1740636703.010137 1740636000.0 `1740636744.010132 1740636000.0 `1740636754.010134 1740636000.0 `1740636763.009123 1740636000.0 `1740636773.010134 1740636000.0 `1740636783.01015 1740636000.0 `1740636794.010133 1740636000.0 `1740636804.010135 1740636000.0 `1740636814.010138 1740636000.0 `1740636824.010137 1740636000.0 `1740636833.009125 1740636000.0 `1740636843.01014 1740636000.0 `1740636853.010139 1740636000.0 `1740636864.010134 1740636000.0 `1740636884.010134 1740636000.0 `1740636894.010133 1740636000.0 `1740636903.009129 1740636900.0 `1740636913.010138 1740636900.0 `1740636923.010141 1740636900.0 `1740636934.010134 1740636900.0 `1740636964.010151 1740636900.0 `1740636974.010136 1740636900.0 `1740636983.009127 1740636900.0 `1740636993.010137 1740636900.0 `1740637003.010137 1740636900.0 `1740637014.010137 1740636900.0 `1740637034.010138 1740636900.0 `1740637044.010135 1740636900.0 `1740637053.009125 1740636900.0 `1740637063.010135 1740636900.0 `1740637073.010136 1740636900.0 `1740637084.010169 1740636900.0 `1740637094.010145 1740636900.0 `1740637104.010133 1740636900.0 `1740637133.010134 1740636900.0 `1740637143.01014 1740636900.0 `1740637154.010138 1740636900.0 `1740637164.010137 1740636900.0 `1740637174.010138 1740636900.0 `1740637184.010138 1740636900.0 `1740637194.010135 1740636900.0 `1740637203.009148 1740636900.0 `1740637213.01014 1740636900.0 `1740637244.010168 1740636900.0 `1740637254.010134 1740636900.0 `1740637264.010153 1740636900.0 `1740637273.009127 1740636900.0 `1740637283.010145 1740636900.0 `1740637294.010135 1740636900.0 `1740637304.010135 1740636900.0 `1740637314.010135 1740636900.0 `1740637324.010143 1740636900.0 `1740637353.010139 1740636900.0 `1740637363.010135 1740636900.0 `1740637374.010136 1740636900.0 `1740637384.010143 1740636900.0 `1740637394.010137 1740636900.0 `1740637404.010135 1740636900.0 `1740637413.009128 1740636900.0 `1740637423.010133 1740636900.0 `1740637444.01015 1740636900.0 `1740637454.010137 1740636900.0 `1740637464.010135 1740636900.0 `1740637474.010135 1740636900.0 `1740637484.010135 1740636900.0 `1740637493.009126 1740636900.0 `1740637503.010151 1740636900.0 `1740637514.010136 1740636900.0 `1740637524.010136 1740636900.0 `1740637563.009141 1740636900.0 `1740637573.010138 1740636900.0 `1740637643.010139 1740636900.0 `1740637703.009127 1740636900.0 `1740637773.009129 1740636900.0 `1740637783.010146 1740636900.0 `1740637793.010139 1740636900.0 `1740637804.01016 1740637800.0 `1740637814.010141 1740637800.0 `1740637824.010135 1740637800.0 `1740637834.010142 1740637800.0 `1740637843.009133 1740637800.0 `1740637853.01014 1740637800.0 `1740637863.010151 1740637800.0 `1740637904.010135 1740637800.0 `1740637913.009125 1740637800.0 `1740637923.01014 1740637800.0 `1740637933.010138 1740637800.0 `1740637944.010136 1740637800.0 `1740637954.010138 1740637800.0 `1740637964.010143 1740637800.0 `1740637974.010135 1740637800.0 `1740637983.009152 1740637800.0 `1740638003.010143 1740637800.0 `1740638014.010136 1740637800.0 `1740638024.010139 1740637800.0 `1740638034.010146 1740637800.0 `1740638044.010161 1740637800.0 `1740638053.009131 1740637800.0 `1740638094.010136 1740637800.0 `1740638104.010151 1740637800.0 `1740638114.010139 1740637800.0 `1740638124.010136 1740637800.0 `1740638133.009136 1740637800.0 `1740638143.010143 1740637800.0 `1740638154.010141 1740637800.0 `1740638164.010148 1740637800.0 `1740638174.010142 1740637800.0 `1740638184.010137 1740637800.0 `1740638194.010138 1740637800.0 `1740638203.00913 1740637800.0 `1740638213.010139 1740637800.0 `1740638223.010147 1740637800.0 `1740638254.010138 1740637800.0 `1740638264.010137 1740637800.0 `1740638273.009129 1740637800.0 `1740638283.010136 1740637800.0 `1740638293.010139 1740637800.0 `1740638304.010136 1740637800.0 `1740638314.010139 1740637800.0 `1740638343.009141 1740637800.0 `1740638353.010192 1740637800.0 `1740638363.010136 1740637800.0 `1740638374.010135 1740637800.0 `1740638384.010142 1740637800.0 `1740638394.010136 1740637800.0 `1740638404.010149 1740637800.0 `1740638413.009126 1740637800.0 `1740638423.010136 1740637800.0 `1740638433.010136 1740637800.0 `1740638444.010135 1740637800.0 `1740638464.010148 1740637800.0 `1740638474.010137 1740637800.0 `1740638483.009124 1740637800.0 `1740638493.010134 1740637800.0 `1740638503.010135 1740637800.0 `1740638514.010135 1740637800.0 `1740638524.010153 1740637800.0 `1740638534.010137 1740637800.0 `1740638544.010135 1740637800.0 `1740638554.010135 1740637800.0 `1740638563.009131 1740637800.0 `1740638584.010156 1740637800.0 `1740638594.010137 1740637800.0 `1740638604.010138 1740637800.0 `1740638614.010135 1740637800.0 `1740638624.010139 1740637800.0 `1740638633.009127 1740637800.0 `1740638643.010162 1740637800.0 `1740638653.01014 1740637800.0 `1740638664.010137 1740637800.0 `1740638674.010135 1740637800.0 `1740638684.010137 1740637800.0 `1740638694.010139 1740637800.0 `1740638723.010136 1740638700.0 `1740638734.01014 1740638700.0 `1740638744.01014 1740638700.0 `1740638754.010167 1740638700.0 `1740638764.010159 1740638700.0 `1740638773.009131 1740638700.0 `1740638783.010137 1740638700.0 `1740638793.010142 1740638700.0 `1740638804.010144 1740638700.0 `1740638814.010138 1740638700.0 `1740638824.010153 1740638700.0 `1740638853.010133 1740638700.0 `1740638863.010134 1740638700.0 `1740638874.010138 1740638700.0 `1740638884.010154 1740638700.0 `1740638894.010138 1740638700.0 `1740638904.010138 1740638700.0 `1740638913.009128 1740638700.0 `1740638923.010139 1740638700.0 `1740638933.010139 1740638700.0 `1740638944.010148 1740638700.0 `1740638954.010134 1740638700.0 `1740638984.010134 1740638700.0 `1740638993.009124 1740638700.0 `1740639003.010142 1740638700.0 `1740639014.010141 1740638700.0 `1740639024.010136 1740638700.0 `1740639034.010138 1740638700.0 `1740639044.010137 1740638700.0 `1740639054.010137 1740638700.0 `1740639063.009142 1740638700.0 `1740639073.010142 1740638700.0 `1740639084.010164 1740638700.0 `1740639094.010136 1740638700.0 `1740639104.010136 1740638700.0 `1740639133.009129 1740638700.0 `1740639143.010134 1740638700.0 `1740639153.010135 1740638700.0 `1740639164.010141 1740638700.0 `1740639174.010136 1740638700.0 `1740639184.010152 1740638700.0 `1740639194.010138 1740638700.0 `1740639203.009124 1740638700.0 `1740639234.010135 1740638700.0 `1740639244.010153 1740638700.0 `1740639254.01014 1740638700.0 `1740639264.010136 1740638700.0 `1740639273.009131 1740638700.0 `1740639283.010142 1740638700.0 list printed: [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102], [103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179], [180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252], [253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328], [329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405], [406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465], [466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542], [543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.023493528366088867 ***** 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': '27022025', 'map_nb_amount': {0: 2, 1: 18, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 298.9999969005585, 'nb_balles_papier': 0.00025, 'begin_time_port': 'image_27022025_05_54_54_010137m0.jpg 6e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00025 We reject this portfolio because of the condition_save_data : 2025-02-27 05:54:54.010137 result_one_balle_Type_JRM:{'day': '27022025', 'map_nb_amount': {0: 11, 1: 62, 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.0007800000000000014, '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.0007800000000000014 We reject this portfolio because of the condition_save_data : 2025-02-27 06:00:03.010142 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 12, 1: 50, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.0010089874268, 'nb_balles_papier': 0.0006500000000000011, '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.0006500000000000011 We reject this portfolio because of the condition_save_data : 2025-02-27 06:15:03.009129 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 6, 1: 47, 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.0005900000000000009, '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.0005900000000000009 We reject this portfolio because of the condition_save_data : 2025-02-27 06:30:03.010138 result_one_balle_Type_JRM:{'day': '27022025', 'map_nb_amount': {0: 12, 1: 54, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 891.0010070800781, 'nb_balles_papier': 0.0007600000000000013, 'begin_time_port': 'image_27022025_06_45_03_009130m0.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.0007600000000000013 We reject this portfolio because of the condition_save_data : 2025-02-27 06:45:03.009130 result_one_balle_Type_JRM:{'day': '27022025', 'map_nb_amount': {0: 15, 1: 55, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999899864197, 'nb_balles_papier': 0.0007700000000000014, 'begin_time_port': 'image_27022025_07_00_04_010143m0.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 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 16, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.0010099411011, 'nb_balles_papier': 0.0002900000000000001, 'begin_time_port': 'image_27022025_07_15_03_9129.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0002900000000000001 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 32, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.999979019165, 'nb_balles_papier': 0.0004700000000000006, 'begin_time_port': 'image_27022025_07_30_04_010160m0.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.0004700000000000006 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 3, 1: 14, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 560.000006198883, 'nb_balles_papier': 0.00018, 'begin_time_port': 'image_27022025_07_45_23_10136.jpg'} 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 : {1339873889, 1339873987, 1339873894, 1339873994, 1339873998, 1339874001, 1339873878, 1339873976, 1339873883, 1339873981} Still a lot to verify ! Qualite : 0.09069099582568817 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`=20874077 AND mptpi.`type`=3726 To do Qualite : 0.11975329892649954 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`=20874395 AND mptpi.`type`=3726 To do Qualite : 0.10110839908340845 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`=20875364 AND mptpi.`type`=3726 To do Qualite : 0.11157549848232272 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`=20876110 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.7059919834136963 # DISPLAY ALL COLLECTED DATA : {'27022025': {'nb_upload': 592, 'nb_taggue_class': 1623, 'nb_taggue_densite': 1623}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339874001, 1339873998, 1339873994, 1339873987, 1339873981, 1339873976, 1339873894, 1339873889, 1339873883, 1339873878, 1339873854, 1339873851, 1339873842, 1339873837, 1339873828, 1339873784, 1339873779, 1339873769, 1339873761, 1339873757, 1339873734, 1339873732, 1339873728, 1339873723, 1339873716, 1339873708, 1339873669, 1339873661, 1339873658, 1339873650, 1339873494, 1339873492, 1339873489, 1339873484, 1339873479, 1339873439, 1339873404, 1339873398, 1339873392, 1339873387, 1339873239, 1339873190, 1339873185, 1339873179, 1339873173, 1339873112, 1339872802, 1339872796, 1339872790, 1339872785, 1339872733, 1339872731, 1339872728, 1339872722, 1339872717, 1339872713, 1339872678, 1339872669, 1339872665, 1339872658, 1339872652, 1339872646, 1339872619, 1339872612, 1339872603, 1339872597, 1339872591, 1339872526, 1339872522, 1339872515, 1339872510, 1339872504, 1339872499, 1339872481, 1339872477, 1339872469, 1339872458, 1339872450, 1339872413, 1339872412, 1339872411, 1339872407, 1339872401, 1339872387, 1339872373, 1339872368, 1339872358, 1339872350, 1339872321, 1339872311, 1339872306, 1339872302, 1339872286, 1339872283, 1339872279, 1339872275, 1339872265, 1339872255, 1339872173, 1339872170] 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, '2619200') ('4876', '20860610', '1339874001', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873998', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873994', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873987', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873981', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873976', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873894', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873889', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873883', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873878', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873854', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873851', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873842', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873837', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873828', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873784', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873779', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873769', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873761', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873757', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873734', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873732', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873728', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873723', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873716', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873708', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873669', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873661', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873658', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873650', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873494', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873492', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873489', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873484', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873479', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873439', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873404', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873398', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873392', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873387', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873239', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873190', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873185', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873179', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873173', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339873112', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872802', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872796', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872790', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872785', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872733', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872731', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872728', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872722', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872717', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872713', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872678', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872669', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872665', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872658', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872652', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872646', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872619', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872612', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872603', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872597', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872591', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872526', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872522', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872515', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872510', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872504', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872499', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872481', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872477', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872469', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872458', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872450', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872413', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872412', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872411', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872407', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872401', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872387', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872373', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872368', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872358', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872350', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872321', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872311', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872306', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872302', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872286', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872283', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872279', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872275', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872265', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872255', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872173', None, None, None, None, None, '2619200') ('4876', None, None, None, None, None, None, None, '2619200') ('4876', '20860610', '1339872170', None, None, None, None, None, '2619200') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.025327444076538086 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0660438537597656 time spend to save output : 0.02666473388671875 total time spend for step 1 : 1.0927085876464844 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.36user 0.36system 0:04.46elapsed 38%CPU (0avgtext+0avgdata 103892maxresident)k 1312inputs+128outputs (0major+49627minor)pagefaults 0swaps