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 : 2740481 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 : 1886>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 : ['2619291'] with mtr_portfolio_ids : ['20860610'] and first list_photo_ids : [] new path : /proc/2740481/ 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.025353193283081055 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 08:24:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 283), ('01', 115), ('02', 261), ('03', 214), ('04', 56), ('05', 266), ('06', 304), ('07', 287), ('08', 100)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1754} 27022025 20860610 Nombre de photos uploadées : 573 / 23040 (2%) 27022025 20860610 Nombre de photos taguées (types de déchets): 1754 / 573 (306%) 27022025 20860610 Nombre de photos taguées (volume) : 1754 / 573 (306%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0004436969757080078 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0672607421875 elapsed_time : insert_dashboard_record_day_entry 0.023218154907226562 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 elapsed_time : list_photo_by_hashtags 0.01826167106628418 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03170275688171387 ***** BEGIN SPLIT TIME ***** True 1740614400.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 `1740639293.010141 1740638700.0 `1740639324.010142 1740638700.0 `1740639334.010136 1740638700.0 `1740639344.010139 1740638700.0 `1740639353.009137 1740638700.0 `1740639363.010167 1740638700.0 `1740639374.010143 1740638700.0 `1740639384.010138 1740638700.0 `1740639394.010137 1740638700.0 `1740639404.010137 1740638700.0 `1740639423.009139 1740638700.0 `1740639433.010138 1740638700.0 `1740639444.010141 1740638700.0 `1740639454.010143 1740638700.0 `1740639464.010137 1740638700.0 `1740639474.010138 1740638700.0 `1740639484.010139 1740638700.0 `1740639493.009124 1740638700.0 `1740639534.010136 1740638700.0 `1740639555.011006 1740638700.0 `1740639564.00913 1740638700.0 `1740639574.010137 1740638700.0 `1740639584.010141 1740638700.0 `1740639594.010135 1740638700.0 `1740639604.01014 1740639600.0 `1740639624.010142 1740639600.0 `1740639634.009104 1740639600.0 `1740639644.010136 1740639600.0 `1740639654.010135 1740639600.0 `1740639664.010145 1740639600.0 `1740639674.010135 1740639600.0 `1740639684.010138 1740639600.0 `1740639694.010136 1740639600.0 `1740639704.009132 1740639600.0 `1740639714.010136 1740639600.0 `1740639724.010163 1740639600.0 `1740639754.010135 1740639600.0 `1740639764.010135 1740639600.0 `1740639774.009127 1740639600.0 `1740639784.010141 1740639600.0 `1740639794.010137 1740639600.0 `1740639804.010135 1740639600.0 `1740639814.010147 1740639600.0 `1740639824.010136 1740639600.0 `1740639834.010136 1740639600.0 `1740639845.010168 1740639600.0 `1740639854.009127 1740639600.0 `1740639884.010136 1740639600.0 `1740639894.010134 1740639600.0 `1740639904.010139 1740639600.0 `1740639914.010137 1740639600.0 `1740639924.009125 1740639600.0 `1740639934.010141 1740639600.0 `1740639944.010147 1740639600.0 `1740639954.01014 1740639600.0 `1740639964.010157 1740639600.0 `1740639974.010136 1740639600.0 `1740639984.010152 1740639600.0 `1740640014.010143 1740639600.0 `1740640024.010135 1740639600.0 `1740640034.010136 1740639600.0 `1740640044.010135 1740639600.0 `1740640054.010141 1740639600.0 `1740640064.009128 1740639600.0 `1740640074.010139 1740639600.0 `1740640104.010133 1740639600.0 `1740640114.010133 1740639600.0 `1740640124.010134 1740639600.0 `1740640135.010141 1740639600.0 `1740640144.009127 1740639600.0 `1740640154.010146 1740639600.0 `1740640164.010135 1740639600.0 `1740640174.010145 1740639600.0 `1740640184.010142 1740639600.0 `1740640214.009126 1740639600.0 `1740640224.010135 1740639600.0 `1740640234.010137 1740639600.0 `1740640244.010141 1740639600.0 `1740640254.010141 1740639600.0 `1740640264.010154 1740639600.0 `1740640274.010139 1740639600.0 `1740640284.009132 1740639600.0 `1740640294.010134 1740639600.0 `1740640314.010136 1740639600.0 `1740640324.010145 1740639600.0 `1740640334.010138 1740639600.0 `1740640344.010133 1740639600.0 `1740640354.009126 1740639600.0 `1740640364.010137 1740639600.0 `1740640374.010136 1740639600.0 `1740640384.010139 1740639600.0 `1740640414.010133 1740639600.0 `1740640425.010133 1740639600.0 `1740640434.009126 1740639600.0 `1740640444.010156 1740639600.0 `1740640454.010135 1740639600.0 `1740640464.010133 1740639600.0 `1740640474.010134 1740639600.0 `1740640484.010135 1740639600.0 `1740640494.010136 1740639600.0 `1740640514.010133 1740640500.0 `1740640524.01014 1740640500.0 `1740640534.010133 1740640500.0 `1740640544.010134 1740640500.0 `1740640554.010142 1740640500.0 `1740640564.010158 1740640500.0 `1740640574.009127 1740640500.0 `1740640594.010135 1740640500.0 `1740640604.010136 1740640500.0 `1740640614.010135 1740640500.0 `1740640624.01016 1740640500.0 `1740640634.010139 1740640500.0 `1740640644.009126 1740640500.0 `1740640654.010135 1740640500.0 `1740640664.010137 1740640500.0 `1740640674.010137 1740640500.0 `1740640704.010134 1740640500.0 `1740640714.009154 1740640500.0 `1740640724.010133 1740640500.0 `1740640754.010136 1740640500.0 `1740640764.010133 1740640500.0 `1740640804.010142 1740640500.0 `1740640874.010139 1740640500.0 `1740640944.010133 1740640500.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.02107715606689453 ***** 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 ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 19, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 420.0000030994415, 'nb_balles_papier': 0.00025, 'begin_time_port': 'image_27022025_06_22_53_010135m0.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 06:22:53.010135 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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 We reject this portfolio because of the condition_save_data : 2025-02-27 07:00:04.010143 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '27022025', 'map_nb_amount': {0: 7, 1: 40, 2: 11, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.0010099411011, 'nb_balles_papier': 0.0005800000000000009, 'begin_time_port': 'image_27022025_07_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.0005800000000000009 We reject this portfolio because of the condition_save_data : 2025-02-27 07: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 result_one_balle_Type_JRM:{'day': '27022025', 'map_nb_amount': {0: 13, 1: 45, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.999979019165, 'nb_balles_papier': 0.0006500000000000011, '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.0006500000000000011 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 9, 1: 32, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 870.9999990463257, 'nb_balles_papier': 0.0004400000000000005, 'begin_time_port': 'image_27022025_07_45_23_10136.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004400000000000005 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '27022025', 'map_nb_amount': {0: 6, 1: 39, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999959468842, 'nb_balles_papier': 0.0005000000000000007, 'begin_time_port': 'image_27022025_08_00_04_010140m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005000000000000007 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 1, 1: 7, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 430.0, 'nb_balles_papier': 8e-05, 'begin_time_port': 'image_27022025_08_15_14_10133.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 8e-05 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 : {1339877285, 1339877221, 1339877127, 1339877289, 1339877132, 1339877183} Still a lot to verify ! 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.1102986305129075 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`=20876110 AND mptpi.`type`=3726 To do Qualite : 0.11002349381329819 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`=20876573 AND mptpi.`type`=3726 To do Qualite : 0.14425520580538223 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`=20877267 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.6730430126190186 # DISPLAY ALL COLLECTED DATA : {'27022025': {'nb_upload': 573, 'nb_taggue_class': 1754, 'nb_taggue_densite': 1754}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339877289, 1339877285, 1339877221, 1339877183, 1339877132, 1339877127, 1339877095, 1339877091, 1339877082, 1339877012, 1339877003, 1339877000, 1339876995, 1339876989, 1339876982, 1339876889, 1339876885, 1339876859, 1339876849, 1339876775, 1339876575, 1339876571, 1339876567, 1339876563, 1339876560, 1339876532, 1339876530, 1339876527, 1339876515, 1339876503, 1339876497, 1339876448, 1339876438, 1339876433, 1339876430, 1339876416, 1339876414, 1339876411, 1339876398, 1339876389, 1339876384, 1339876353, 1339876351, 1339876349, 1339876346, 1339876315, 1339876288, 1339876286, 1339876282, 1339876271, 1339876262, 1339876224, 1339876222, 1339876220, 1339876218, 1339876214, 1339876172, 1339876169, 1339876164, 1339876155, 1339876087, 1339876086, 1339876084, 1339876081, 1339876078, 1339876076, 1339876040, 1339876031, 1339876022, 1339876015, 1339875980, 1339875979, 1339875977, 1339875975, 1339875972, 1339875964, 1339875912, 1339875909, 1339875905, 1339875901, 1339875859, 1339875856, 1339875853, 1339875839, 1339875827, 1339875822, 1339875798, 1339875794, 1339875790, 1339875788, 1339875635, 1339875632, 1339875630, 1339875445, 1339875310, 1339875301, 1339875274, 1339875273, 1339875269, 1339875267] 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, '2619291') ('4876', '20860610', '1339877289', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339877285', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339877221', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339877183', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339877132', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339877127', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339877095', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339877091', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339877082', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339877012', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339877003', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339877000', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876995', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876989', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876982', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876889', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876885', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876859', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876849', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876775', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876575', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876571', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876567', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876563', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876560', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876532', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876530', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876527', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876515', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876503', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876497', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876448', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876438', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876433', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876430', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876416', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876414', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876411', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876398', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876389', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876384', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876353', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876351', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876349', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876346', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876315', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876288', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876286', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876282', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876271', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876262', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876224', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876222', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876220', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876218', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876214', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876172', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876169', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876164', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876155', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876087', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876086', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876084', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876081', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876078', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876076', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876040', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876031', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876022', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339876015', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875980', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875979', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875977', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875975', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875972', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875964', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875912', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875909', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875905', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875901', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875859', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875856', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875853', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875839', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875827', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875822', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875798', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875794', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875790', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875788', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875635', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875632', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875630', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875445', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875310', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875301', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875274', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875273', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875269', None, None, None, None, None, '2619291') ('4876', None, None, None, None, None, None, None, '2619291') ('4876', '20860610', '1339875267', None, None, None, None, None, '2619291') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.024465322494506836 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0370643138885498 time spend to save output : 0.025228023529052734 total time spend for step 1 : 1.0622923374176025 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.50user 0.54system 0:03.31elapsed 61%CPU (0avgtext+0avgdata 103216maxresident)k 3144inputs+136outputs (25major+49664minor)pagefaults 0swaps