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 : 1501997 load datou : 4876 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2729001'] with mtr_portfolio_ids : ['22109363'] and first list_photo_ids : [] new path : /proc/1501997/ 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.02237248420715332 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Apr 17 04:06: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', 259), ('01', 136), ('02', 264), ('03', 279), ('04', 17)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 778} 17042025 22109363 Nombre de photos uploadées : 537 / 23040 (2%) 17042025 22109363 Nombre de photos taguées (types de déchets): 778 / 537 (144%) 17042025 22109363 Nombre de photos taguées (volume) : 778 / 537 (144%) elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 0.00033593177795410156 ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.05905580520629883 elapsed_time : insert_dashboard_record_day_entry 0.02856922149658203 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 Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None 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.01144862174987793 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03419804573059082 ***** BEGIN SPLIT TIME ***** 1744848000.0 `1744848354.010139 1744848000.0 `1744848374.010136 1744848000.0 `1744848384.010137 1744848000.0 `1744848403.010136 1744848000.0 `1744848413.010138 1744848000.0 `1744848444.010209 1744848000.0 `1744848454.010139 1744848000.0 `1744848463.009124 1744848000.0 `1744848494.010137 1744848000.0 `1744848504.010132 1744848000.0 `1744848514.010139 1744848000.0 `1744848524.01014 1744848000.0 `1744848533.009127 1744848000.0 `1744848543.010146 1744848000.0 `1744848553.010139 1744848000.0 `1744848574.010135 1744848000.0 `1744848584.010136 1744848000.0 `1744848594.010136 1744848000.0 `1744848603.009139 1744848000.0 `1744848613.010141 1744848000.0 `1744848623.010132 1744848000.0 `1744848654.010133 1744848000.0 `1744848664.01015 1744848000.0 `1744848673.009126 1744848000.0 `1744848683.010142 1744848000.0 `1744848693.010142 1744848000.0 `1744848704.010144 1744848000.0 `1744848714.010136 1744848000.0 `1744848724.010145 1744848000.0 `1744848734.010136 1744848000.0 `1744848744.010135 1744848000.0 `1744848753.009124 1744848000.0 `1744848763.010135 1744848000.0 `1744848773.010136 1744848000.0 `1744848784.010144 1744848000.0 `1744848794.010133 1744848000.0 `1744848833.010137 1744848000.0 `1744848843.010151 1744848000.0 `1744848854.010145 1744848000.0 `1744848874.010141 1744848000.0 `1744848893.009127 1744848000.0 `1744848903.010158 1744848900.0 `1744848913.010139 1744848900.0 `1744848924.010141 1744848900.0 `1744848934.01014 1744848900.0 `1744848944.010142 1744848900.0 `1744848963.009141 1744848900.0 `1744848973.010139 1744848900.0 `1744848983.010133 1744848900.0 `1744849014.010136 1744848900.0 `1744849024.010138 1744848900.0 `1744849034.010132 1744848900.0 `1744849043.009125 1744848900.0 `1744849053.010138 1744848900.0 `1744849063.010142 1744848900.0 `1744849074.010136 1744848900.0 `1744849084.010154 1744848900.0 `1744849094.010135 1744848900.0 `1744849104.010134 1744848900.0 `1744849113.009124 1744848900.0 `1744849123.010139 1744848900.0 `1744849133.010136 1744848900.0 `1744849174.010135 1744848900.0 `1744849183.009125 1744848900.0 `1744849193.010138 1744848900.0 `1744849203.010158 1744848900.0 `1744849214.010142 1744848900.0 `1744849224.010138 1744848900.0 `1744849234.010143 1744848900.0 `1744849244.01014 1744848900.0 `1744849253.009132 1744848900.0 `1744849263.010155 1744848900.0 `1744849273.010139 1744848900.0 `1744849284.010141 1744848900.0 `1744849294.010136 1744848900.0 `1744849304.010135 1744848900.0 `1744849343.010134 1744848900.0 `1744849354.010133 1744848900.0 `1744849364.010136 1744848900.0 `1744849374.01014 1744848900.0 `1744849384.010138 1744848900.0 `1744849394.010135 1744848900.0 `1744849403.009125 1744848900.0 `1744849413.010135 1744848900.0 `1744849423.010141 1744848900.0 `1744849434.010136 1744848900.0 `1744849444.010154 1744848900.0 `1744849483.010136 1744848900.0 `1744849493.01014 1744848900.0 `1744849504.010138 1744848900.0 `1744849514.01014 1744848900.0 `1744849524.010139 1744848900.0 `1744849534.01014 1744848900.0 `1744849543.009128 1744848900.0 `1744849553.010137 1744848900.0 `1744849563.010151 1744848900.0 `1744849574.010138 1744848900.0 `1744849584.010135 1744848900.0 `1744849594.010135 1744848900.0 `1744849633.010138 1744848900.0 `1744849644.010139 1744848900.0 `1744849654.01014 1744848900.0 `1744849664.010142 1744848900.0 `1744849674.01014 1744848900.0 `1744849684.010141 1744848900.0 `1744849693.009127 1744848900.0 `1744849703.010137 1744848900.0 `1744849713.010135 1744848900.0 `1744849724.010137 1744848900.0 `1744849734.010136 1744848900.0 `1744849744.010141 1744848900.0 `1744849754.010136 1744848900.0 `1744849763.009124 1744848900.0 `1744849773.010133 1744848900.0 `1744849804.010154 1744849800.0 `1744849814.010138 1744849800.0 `1744849824.010137 1744849800.0 `1744849833.009127 1744849800.0 `1744849843.010137 1744849800.0 `1744849853.01014 1744849800.0 `1744849864.01015 1744849800.0 `1744849894.010136 1744849800.0 `1744849903.009125 1744849800.0 `1744849913.010136 1744849800.0 `1744849923.010157 1744849800.0 `1744849944.010136 1744849800.0 `1744849954.010142 1744849800.0 `1744849964.010143 1744849800.0 `1744849974.010139 1744849800.0 `1744849983.00913 1744849800.0 `1744849993.010137 1744849800.0 `1744850034.010136 1744849800.0 `1744850043.009134 1744849800.0 `1744850053.01014 1744849800.0 `1744850063.010136 1744849800.0 `1744850074.010145 1744849800.0 `1744850084.010143 1744849800.0 `1744850094.010145 1744849800.0 `1744850104.010142 1744849800.0 `1744850113.009131 1744849800.0 `1744850123.010145 1744849800.0 `1744850133.010143 1744849800.0 `1744850154.010138 1744849800.0 `1744850164.010155 1744849800.0 `1744850174.010144 1744849800.0 `1744850183.009127 1744849800.0 `1744850193.010137 1744849800.0 `1744850203.01014 1744849800.0 `1744850244.010134 1744849800.0 `1744850254.010133 1744849800.0 `1744850263.009124 1744849800.0 `1744850273.010136 1744849800.0 `1744850283.01015 1744849800.0 `1744850294.010138 1744849800.0 `1744850304.010138 1744849800.0 `1744850314.010141 1744849800.0 `1744850324.010141 1744849800.0 `1744850343.01016 1744849800.0 `1744850353.01014 1744849800.0 `1744850364.010142 1744849800.0 `1744850384.010138 1744849800.0 `1744850394.010138 1744849800.0 `1744850403.009127 1744849800.0 `1744850423.010134 1744849800.0 `1744850434.010135 1744849800.0 `1744850444.010136 1744849800.0 `1744850473.009124 1744849800.0 `1744850483.010135 1744849800.0 `1744850504.010142 1744849800.0 `1744850514.010135 1744849800.0 `1744850524.010155 1744849800.0 `1744850534.010136 1744849800.0 `1744850544.010134 1744849800.0 `1744850584.010161 1744849800.0 `1744850594.010138 1744849800.0 `1744850604.010135 1744849800.0 `1744850614.010134 1744849800.0 `1744850623.009124 1744849800.0 `1744850633.01014 1744849800.0 `1744850643.010149 1744849800.0 `1744850654.010142 1744849800.0 `1744850664.010139 1744849800.0 `1744850674.010137 1744849800.0 `1744850684.010139 1744849800.0 `1744850724.010145 1744850700.0 `1744850734.010143 1744850700.0 `1744850754.010138 1744850700.0 `1744850763.009153 1744850700.0 `1744850773.010141 1744850700.0 `1744850804.01014 1744850700.0 `1744850824.010152 1744850700.0 `1744850833.009125 1744850700.0 `1744850843.01014 1744850700.0 `1744850853.010138 1744850700.0 `1744850864.010137 1744850700.0 `1744850874.010136 1744850700.0 `1744850884.010143 1744850700.0 `1744850894.010136 1744850700.0 `1744850903.009125 1744850700.0 `1744850934.010135 1744850700.0 `1744850944.010134 1744850700.0 `1744850954.010134 1744850700.0 `1744850974.010138 1744850700.0 `1744850983.009135 1744850700.0 `1744850993.010133 1744850700.0 `1744851003.010148 1744850700.0 `1744851014.010143 1744850700.0 `1744851024.010134 1744850700.0 `1744851034.010137 1744850700.0 `1744851044.010138 1744850700.0 `1744851063.010148 1744850700.0 `1744851073.010139 1744850700.0 `1744851084.010142 1744850700.0 `1744851094.010136 1744850700.0 `1744851133.010138 1744850700.0 `1744851143.010134 1744850700.0 `1744851154.010141 1744850700.0 `1744851164.010142 1744850700.0 `1744851174.010137 1744850700.0 `1744851184.010156 1744850700.0 `1744851193.009127 1744850700.0 `1744851203.010141 1744850700.0 `1744851213.010136 1744850700.0 `1744851224.01014 1744850700.0 `1744851244.010195 1744850700.0 `1744851254.010136 1744850700.0 `1744851263.009127 1744850700.0 `1744851273.010139 1744850700.0 `1744851284.010271 1744850700.0 `1744851314.01014 1744850700.0 `1744851323.00913 1744850700.0 `1744851333.010138 1744850700.0 `1744851343.01014 1744850700.0 `1744851354.010141 1744850700.0 `1744851364.010144 1744850700.0 `1744851483.010142 1744850700.0 `1744851553.010211 1744850700.0 `1744851563.010149 1744850700.0 `1744851573.010169 1744850700.0 `1744851583.010135 1744850700.0 `1744851594.010135 1744850700.0 `1744851613.009133 1744851600.0 `1744851623.010136 1744851600.0 `1744851633.010135 1744851600.0 `1744851643.010136 1744851600.0 `1744851683.009123 1744851600.0 `1744851693.010146 1744851600.0 `1744851703.010144 1744851600.0 `1744851713.010136 1744851600.0 `1744851723.010147 1744851600.0 `1744851734.010142 1744851600.0 `1744851744.010136 1744851600.0 `1744851753.00913 1744851600.0 `1744851763.010144 1744851600.0 `1744851773.010138 1744851600.0 `1744851783.010159 1744851600.0 `1744851793.010139 1744851600.0 `1744851804.010153 1744851600.0 `1744851843.010136 1744851600.0 `1744851853.010133 1744851600.0 `1744851863.010136 1744851600.0 `1744851873.010134 1744851600.0 `1744851884.010141 1744851600.0 `1744851894.010136 1744851600.0 `1744851903.009138 1744851600.0 `1744851913.010145 1744851600.0 `1744851923.010133 1744851600.0 `1744851933.010133 1744851600.0 `1744851943.010136 1744851600.0 `1744851954.010135 1744851600.0 `1744851964.010138 1744851600.0 `1744851973.009126 1744851600.0 `1744852013.010135 1744851600.0 `1744852023.01014 1744851600.0 `1744852034.010134 1744851600.0 `1744852043.009132 1744851600.0 `1744852063.010142 1744851600.0 `1744852073.010136 1744851600.0 `1744852083.010149 1744851600.0 `1744852104.010135 1744851600.0 `1744852123.00913 1744851600.0 `1744852133.010136 1744851600.0 `1744852174.010139 1744851600.0 `1744852184.010138 1744851600.0 `1744852193.009126 1744851600.0 `1744852203.010143 1744851600.0 `1744852213.010143 1744851600.0 `1744852223.010137 1744851600.0 `1744852233.010143 1744851600.0 `1744852244.010139 1744851600.0 `1744852254.010136 1744851600.0 `1744852263.009138 1744851600.0 `1744852273.010142 1744851600.0 `1744852303.010139 1744851600.0 `1744852314.010135 1744851600.0 `1744852324.010147 1744851600.0 `1744852333.009131 1744851600.0 `1744852343.010133 1744851600.0 `1744852373.010136 1744851600.0 `1744852383.010144 1744851600.0 `1744852394.010134 1744851600.0 `1744852404.010133 1744851600.0 `1744852423.010136 1744851600.0 `1744852433.010136 1744851600.0 `1744852443.010166 1744851600.0 `1744852453.010141 1744851600.0 `1744852464.010134 1744851600.0 `1744852474.010134 1744851600.0 `1744852483.009126 1744851600.0 `1744852493.010136 1744851600.0 `1744852513.01014 1744852500.0 `1744852523.010139 1744852500.0 `1744852534.010136 1744852500.0 `1744852544.010136 1744852500.0 `1744852573.01014 1744852500.0 `1744852583.010132 1744852500.0 `1744852593.010139 1744852500.0 `1744852604.010139 1744852500.0 `1744852614.010135 1744852500.0 `1744852623.009126 1744852500.0 `1744852633.01014 1744852500.0 `1744852643.010135 1744852500.0 `1744852653.010133 1744852500.0 `1744852663.010137 1744852500.0 `1744852673.010136 1744852500.0 `1744852684.010148 1744852500.0 `1744852693.009129 1744852500.0 `1744852703.010135 1744852500.0 `1744852713.010136 1744852500.0 `1744852723.010136 1744852500.0 `1744852733.010144 1744852500.0 `1744852743.01015 1744852500.0 `1744852754.010137 1744852500.0 `1744852764.010142 1744852500.0 `1744852783.010132 1744852500.0 `1744852793.010133 1744852500.0 `1744852803.010132 1744852500.0 `1744852813.010141 1744852500.0 `1744852824.010134 1744852500.0 `1744852834.010135 1744852500.0 `1744852843.009126 1744852500.0 `1744852853.010137 1744852500.0 `1744852863.010152 1744852500.0 `1744852873.01014 1744852500.0 `1744852883.010148 1744852500.0 `1744852904.010137 1744852500.0 `1744852913.009128 1744852500.0 `1744852923.010139 1744852500.0 `1744852933.010137 1744852500.0 `1744852963.010136 1744852500.0 `1744852974.010136 1744852500.0 `1744852983.009138 1744852500.0 `1744852993.010139 1744852500.0 `1744853003.010136 1744852500.0 `1744853013.01014 1744852500.0 `1744853023.010143 1744852500.0 `1744853033.010137 1744852500.0 `1744853044.010153 1744852500.0 `1744853054.010137 1744852500.0 `1744853063.009125 1744852500.0 `1744853073.010137 1744852500.0 `1744853083.010139 1744852500.0 `1744853093.010135 1744852500.0 `1744853133.009123 1744852500.0 `1744853143.010134 1744852500.0 `1744853153.010144 1744852500.0 `1744853173.010141 1744852500.0 `1744853184.010136 1744852500.0 `1744853194.010138 1744852500.0 `1744853203.009127 1744852500.0 `1744853213.010137 1744852500.0 `1744853223.010145 1744852500.0 `1744853233.010135 1744852500.0 `1744853243.010141 1744852500.0 `1744853264.010134 1744852500.0 `1744853283.01014 1744852500.0 `1744853293.010142 1744852500.0 `1744853334.010135 1744852500.0 `1744853343.009137 1744852500.0 `1744853353.010139 1744852500.0 `1744853363.010141 1744852500.0 `1744853373.01014 1744852500.0 `1744853383.01014 1744852500.0 `1744853393.010135 1744852500.0 `1744853404.010138 1744853400.0 `1744853413.009129 1744853400.0 `1744853423.010135 1744853400.0 `1744853433.010135 1744853400.0 `1744853443.010134 1744853400.0 `1744853484.010138 1744853400.0 `1744853503.010134 1744853400.0 `1744853513.010135 1744853400.0 `1744853523.010135 1744853400.0 `1744853533.01014 1744853400.0 `1744853544.010133 1744853400.0 `1744853554.010138 1744853400.0 `1744853563.009126 1744853400.0 `1744853573.010135 1744853400.0 `1744853583.010139 1744853400.0 `1744853593.010138 1744853400.0 `1744853643.00914 1744853400.0 `1744853663.010137 1744853400.0 `1744853673.010139 1744853400.0 `1744853683.010142 1744853400.0 `1744853704.010157 1744853400.0 `1744853723.010146 1744853400.0 `1744853743.010138 1744853400.0 `1744853753.010139 1744853400.0 `1744853764.010142 1744853400.0 `1744853803.010139 1744853400.0 `1744853813.010135 1744853400.0 `1744853823.010166 1744853400.0 `1744853834.010134 1744853400.0 `1744853844.010135 1744853400.0 `1744853853.009135 1744853400.0 `1744853863.010148 1744853400.0 `1744853873.010136 1744853400.0 `1744853893.010138 1744853400.0 `1744853904.010135 1744853400.0 `1744853914.010139 1744853400.0 `1744853923.009131 1744853400.0 `1744853933.010138 1744853400.0 `1744853943.01015 1744853400.0 `1744853953.010136 1744853400.0 `1744853984.010135 1744853400.0 `1744853993.009123 1744853400.0 `1744854003.010136 1744853400.0 `1744854013.010155 1744853400.0 `1744854023.010134 1744853400.0 `1744854033.010135 1744853400.0 `1744854043.010136 1744853400.0 `1744854054.010137 1744853400.0 `1744854063.009143 1744853400.0 `1744854073.01014 1744853400.0 `1744854093.010136 1744853400.0 `1744854103.010137 1744853400.0 `1744854113.010144 1744853400.0 `1744854153.010137 1744853400.0 `1744854163.010137 1744853400.0 `1744854183.010148 1744853400.0 `1744854204.010144 1744853400.0 `1744854213.009133 1744853400.0 `1744854223.01014 1744853400.0 `1744854243.01014 1744853400.0 `1744854253.01014 1744853400.0 `1744854264.010136 1744853400.0 `1744854274.010139 1744853400.0 `1744854283.009132 1744853400.0 `1744854293.010144 1744853400.0 `1744854303.01017 1744854300.0 `1744854313.010145 1744854300.0 `1744854344.010138 1744854300.0 `1744854353.009124 1744854300.0 `1744854363.010142 1744854300.0 `1744854373.010141 1744854300.0 `1744854383.010137 1744854300.0 `1744854393.010144 1744854300.0 `1744854404.010143 1744854300.0 `1744854413.009961 1744854300.0 `1744854424.010143 1744854300.0 `1744854433.009139 1744854300.0 `1744854443.010134 1744854300.0 `1744854453.010134 1744854300.0 `1744854463.010136 1744854300.0 `1744854504.010133 1744854300.0 `1744854523.010142 1744854300.0 `1744854533.010134 1744854300.0 `1744854543.010134 1744854300.0 `1744854553.010137 1744854300.0 `1744854564.010141 1744854300.0 `1744854574.010142 1744854300.0 `1744854583.009128 1744854300.0 `1744854593.010137 1744854300.0 `1744854603.010139 1744854300.0 `1744854613.01014 1744854300.0 `1744854623.010134 1744854300.0 `1744854633.010134 1744854300.0 `1744854644.010138 1744854300.0 `1744854663.010163 1744854300.0 `1744854673.010138 1744854300.0 `1744854714.010134 1744854300.0 `1744854724.01014 1744854300.0 `1744854733.009124 1744854300.0 `1744854743.010134 1744854300.0 `1744854753.01015 1744854300.0 `1744854763.010141 1744854300.0 `1744854773.010135 1744854300.0 `1744854784.010157 1744854300.0 `1744854794.010135 1744854300.0 `1744854803.009123 1744854300.0 `1744854813.01014 1744854300.0 `1744854823.010142 1744854300.0 `1744854833.010137 1744854300.0 `1744854843.010151 1744854300.0 `1744854854.010143 1744854300.0 `1744854864.010135 1744854300.0 `1744854873.009125 1744854300.0 `1744854913.010143 1744854300.0 `1744854924.010148 1744854300.0 `1744854934.010147 1744854300.0 `1744854943.009131 1744854300.0 `1744854963.010151 1744854300.0 `1744854973.01014 1744854300.0 `1744854983.010137 1744854300.0 `1744854994.010147 1744854300.0 `1744855004.010138 1744854300.0 `1744855013.009126 1744854300.0 `1744855033.01014 1744854300.0 `1744855043.010142 1744854300.0 `1744855053.010134 1744854300.0 `1744855064.010139 1744854300.0 `1744855074.010137 1744854300.0 `1744855083.009125 1744854300.0 `1744855093.010138 1744854300.0 `1744855103.010133 1744854300.0 `1744855113.010131 1744854300.0 `1744855153.010003 1744854300.0 `1744855163.010144 1744854300.0 `1744855173.010134 1744854300.0 `1744855184.010135 1744854300.0 `1744855204.010148 1744855200.0 `1744855224.010137 1744855200.0 `1744855233.009125 1744855200.0 `1744855243.010135 1744855200.0 `1744855264.010162 1744855200.0 `1744855274.010135 1744855200.0 `1744855284.010135 1744855200.0 `1744855294.010145 1744855200.0 `1744855303.00913 1744855200.0 `1744855344.010133 1744855200.0 `1744855354.010138 1744855200.0 `1744855373.009126 1744855200.0 `1744855383.010149 1744855200.0 `1744855394.010142 1744855200.0 `1744855414.010142 1744855200.0 `1744855434.010137 1744855200.0 `1744855453.010153 1744855200.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.021511316299438477 ***** 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': '17042025', 'map_nb_amount': {0: 10, 1: 25, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 538.9989879131317, 'nb_balles_papier': 0.0004100000000000004, 'begin_time_port': 'image_17042025_02_05_54_010139m0.jpg 9e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004100000000000004 We reject this portfolio because of the condition_save_data : 2025-04-17 02:05:54.010139 result_one_balle_Type_JRM:{'day': '17042025', 'map_nb_amount': {0: 7, 1: 46, 2: 20, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999749660492, 'nb_balles_papier': 0.0007300000000000013, 'begin_time_port': 'image_17042025_02_15_03_010158m0.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.0007300000000000013 We reject this portfolio because of the condition_save_data : 2025-04-17 02:15:03.010158 result_one_balle_Type_JRM:{'day': '17042025', 'map_nb_amount': {0: 4, 1: 53, 2: 13, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999849796295, 'nb_balles_papier': 0.0007000000000000012, 'begin_time_port': 'image_17042025_02_30_04_010154m0.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.0007000000000000012 We reject this portfolio because of the condition_save_data : 2025-04-17 02:30:04.010154 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '17042025', 'map_nb_amount': {0: 5, 1: 46, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999899864197, 'nb_balles_papier': 0.0005500000000000008, 'begin_time_port': 'image_17042025_02_45_24_010145m0.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.0005500000000000008 We reject this portfolio because of the condition_save_data : 2025-04-17 02:45:24.010145 ERROR missing amount info 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': '17042025', 'map_nb_amount': {0: 9, 1: 49, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.0010027885437, 'nb_balles_papier': 0.000620000000000001, 'begin_time_port': 'image_17042025_03_00_13_009133m0.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.000620000000000001 We reject this portfolio because of the condition_save_data : 2025-04-17 03:00:13.009133 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '17042025', 'map_nb_amount': {0: 5, 1: 45, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999949932098, 'nb_balles_papier': 0.0005000000000000007, 'begin_time_port': 'image_17042025_03_15_13_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 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '17042025', 'map_nb_amount': {0: 0, 1: 11, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.0000059604645, 'nb_balles_papier': 0.00011, 'begin_time_port': 'image_17042025_03_30_04_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.00011 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '17042025', 'map_nb_amount': {0: 2, 1: 4, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.9999649524689, 'nb_balles_papier': 9e-05, 'begin_time_port': 'image_17042025_03_45_03_10170.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 9e-05 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '17042025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 249.00000500679016, 'nb_balles_papier': 0, 'begin_time_port': 'image_17042025_04_00_04_10148.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 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 : {1350612576, 1350612579} Still a lot to verify ! Qualite : 0.05235913765625362 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`=22116457 AND mptpi.`type`=3726 To do Qualite : 0.05708401968125456 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`=22117034 AND mptpi.`type`=3726 To do Qualite : 0.054411472772569316 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`=22117347 AND mptpi.`type`=3726 To do Qualite : 0.05716298921816227 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`=22117600 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.5357794761657715 # DISPLAY ALL COLLECTED DATA : {'17042025': {'nb_upload': 537, 'nb_taggue_class': 778, 'nb_taggue_densite': 778}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350612579, 1350612576, 1350612335, 1350612316, 1350612284, 1350612268, 1350612133, 1350612110, 1350612087, 1350611741, 1350611725, 1350611699, 1350611675, 1350611650, 1350611321, 1350611297, 1350611269, 1350611245, 1350611106, 1350611105, 1350611101, 1350611097, 1350611073, 1350611045, 1350611035, 1350611004, 1350610500, 1350610476, 1350610451, 1350610433, 1350610431, 1350610388, 1350610385, 1350610381, 1350610370, 1350610360, 1350610349, 1350610304, 1350610301, 1350610298, 1350610295, 1350610249, 1350610243, 1350610240, 1350610237, 1350610188, 1350610185, 1350610181, 1350610174, 1350610170, 1350610163, 1350610122, 1350610118, 1350610115, 1350610107, 1350610105, 1350610098, 1350610048, 1350610042, 1350610034, 1350609987, 1350609983, 1350609979, 1350609977, 1350609973, 1350609927, 1350609923, 1350609919, 1350609911, 1350609901, 1350609895, 1350609842, 1350609839, 1350609837, 1350609788, 1350609782, 1350609774, 1350609769, 1350609758, 1350609719, 1350609716, 1350609713, 1350609711, 1350609709, 1350609706, 1350609665, 1350609656, 1350609650, 1350609639, 1350609594, 1350609590, 1350609585, 1350609582, 1350609576, 1350609572, 1350609518, 1350609516, 1350609515, 1350609505, 1350609340] Looping around the photos to save general results len do output : 1 /22109363Didn'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, '2729001') ('4876', '22109363', '1350612579', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350612576', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350612335', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350612316', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350612284', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350612268', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350612133', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350612110', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350612087', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611741', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611725', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611699', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611675', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611650', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611321', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611297', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611269', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611245', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611106', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611105', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611101', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611097', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611073', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611045', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611035', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350611004', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610500', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610476', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610451', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610433', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610431', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610388', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610385', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610381', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610370', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610360', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610349', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610304', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610301', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610298', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610295', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610249', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610243', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610240', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610237', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610188', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610185', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610181', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610174', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610170', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610163', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610122', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610118', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610115', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610107', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610105', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610098', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610048', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610042', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350610034', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609987', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609983', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609979', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609977', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609973', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609927', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609923', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609919', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609911', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609901', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609895', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609842', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609839', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609837', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609788', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609782', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609774', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609769', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609758', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609719', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609716', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609713', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609711', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609709', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609706', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609665', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609656', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609650', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609639', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609594', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609590', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609585', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609582', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609576', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609572', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609518', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609516', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609515', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609505', None, None, None, None, None, '2729001') ('4876', None, None, None, None, None, None, None, '2729001') ('4876', '22109363', '1350609340', None, None, None, None, None, '2729001') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02782440185546875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8436746597290039 time spend to save output : 0.02874302864074707 total time spend for step 1 : 0.872417688369751 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.42user 0.83system 0:03.51elapsed 64%CPU (0avgtext+0avgdata 102540maxresident)k 1232inputs+128outputs (19major+59477minor)pagefaults 0swaps