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 : 3883182 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 : ['2725108'] with mtr_portfolio_ids : ['22055303'] and first list_photo_ids : [] new path : /proc/3883182/ 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.0243070125579834 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Wed Apr 16 08:38:26 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', 9), ('01', 10), ('02', 14), ('03', 11), ('04', 8), ('05', 240), ('06', 183), ('07', 285), ('08', 163)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 833, 2: 1} 16042025 22055303 Nombre de photos uploadées : 553 / 23040 (2%) 16042025 22055303 Nombre de photos taguées (types de déchets): 834 / 553 (150%) 16042025 22055303 Nombre de photos taguées (volume) : 834 / 553 (150%) elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 0.0003559589385986328 ???????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.07268548011779785 elapsed_time : insert_dashboard_record_day_entry 0.02547430992126465 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 elapsed_time : list_photo_by_hashtags 0.019392967224121094 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03894782066345215 ***** BEGIN SPLIT TIME ***** 1744761600.0 `1744778234.010138 1744777800.0 `1744778363.009127 1744777800.0 `1744778374.010139 1744777800.0 `1744778404.01015 1744777800.0 `1744778414.010143 1744777800.0 `1744778424.010136 1744777800.0 `1744778434.010136 1744777800.0 `1744778443.009127 1744777800.0 `1744778454.010138 1744777800.0 `1744778464.01016 1744777800.0 `1744778474.010139 1744777800.0 `1744778494.010137 1744777800.0 `1744778503.009129 1744777800.0 `1744778514.010147 1744777800.0 `1744778524.010152 1744777800.0 `1744778534.010138 1744777800.0 `1744778544.010135 1744777800.0 `1744778573.009125 1744777800.0 `1744778584.010154 1744777800.0 `1744778594.010137 1744777800.0 `1744778604.010136 1744777800.0 `1744778614.010135 1744777800.0 `1744778624.010138 1744777800.0 `1744778634.010139 1744777800.0 `1744778644.010153 1744777800.0 `1744778653.009145 1744777800.0 `1744778664.010135 1744777800.0 `1744778674.010135 1744777800.0 `1744778704.010152 1744778700.0 `1744778714.010134 1744778700.0 `1744778723.009125 1744778700.0 `1744778734.010137 1744778700.0 `1744778744.010138 1744778700.0 `1744778754.010138 1744778700.0 `1744778764.010146 1744778700.0 `1744778774.010134 1744778700.0 `1744778793.009123 1744778700.0 `1744778804.010136 1744778700.0 `1744778814.010138 1744778700.0 `1744778824.010152 1744778700.0 `1744778834.010136 1744778700.0 `1744778844.010134 1744778700.0 `1744778854.010135 1744778700.0 `1744778863.009127 1744778700.0 `1744778874.010141 1744778700.0 `1744778904.010135 1744778700.0 `1744778914.010135 1744778700.0 `1744778924.010139 1744778700.0 `1744778934.010143 1744778700.0 `1744778944.009156 1744778700.0 `1744778954.010141 1744778700.0 `1744778964.010136 1744778700.0 `1744778974.01014 1744778700.0 `1744778984.010142 1744778700.0 `1744779014.010138 1744778700.0 `1744779024.010134 1744778700.0 `1744779034.010136 1744778700.0 `1744779044.010139 1744778700.0 `1744779054.010136 1744778700.0 `1744779064.010154 1744778700.0 `1744779074.010136 1744778700.0 `1744779083.009125 1744778700.0 `1744779094.010137 1744778700.0 `1744779124.010145 1744778700.0 `1744779134.010137 1744778700.0 `1744779144.010136 1744778700.0 `1744779153.009128 1744778700.0 `1744779164.010137 1744778700.0 `1744779174.010136 1744778700.0 `1744779184.010138 1744778700.0 `1744779194.010135 1744778700.0 `1744779204.010133 1744778700.0 `1744779234.010135 1744778700.0 `1744779244.010148 1744778700.0 `1744779254.010132 1744778700.0 `1744779264.010134 1744778700.0 `1744779274.010135 1744778700.0 `1744779284.010138 1744778700.0 `1744779294.010136 1744778700.0 `1744779303.009141 1744778700.0 `1744779314.010137 1744778700.0 `1744779324.01014 1744778700.0 `1744779334.010135 1744778700.0 `1744779344.010135 1744778700.0 `1744779364.010151 1744778700.0 `1744779373.009123 1744778700.0 `1744779384.010136 1744778700.0 `1744779394.010138 1744778700.0 `1744779404.010137 1744778700.0 `1744779414.010137 1744778700.0 `1744779424.010138 1744778700.0 `1744779434.010133 1744778700.0 `1744779464.010134 1744778700.0 `1744779474.010136 1744778700.0 `1744779484.010155 1744778700.0 `1744779494.01014 1744778700.0 `1744779504.010136 1744778700.0 `1744779514.010141 1744778700.0 `1744779523.009133 1744778700.0 `1744779534.010137 1744778700.0 `1744779553.010204 1744778700.0 `1744779563.010147 1744778700.0 `1744779573.010135 1744778700.0 `1744779583.010136 1744778700.0 `1744779594.010136 1744778700.0 `1744779604.010214 1744779600.0 `1744779613.009123 1744779600.0 `1744779623.010134 1744779600.0 `1744779633.010135 1744779600.0 `1744779643.010133 1744779600.0 `1744779664.010138 1744779600.0 `1744779674.010133 1744779600.0 `1744779683.009131 1744779600.0 `1744779693.010134 1744779600.0 `1744779703.010135 1744779600.0 `1744779713.010135 1744779600.0 `1744779723.010167 1744779600.0 `1744779763.010137 1744779600.0 `1744779803.010142 1744779600.0 `1744779833.010136 1744779600.0 `1744779943.010142 1744779600.0 `1744779954.010136 1744779600.0 `1744779964.010142 1744779600.0 `1744779973.009129 1744779600.0 `1744779983.010133 1744779600.0 `1744779993.010141 1744779600.0 `1744780024.010147 1744779600.0 `1744780034.010133 1744779600.0 `1744780043.009125 1744779600.0 `1744780053.010136 1744779600.0 `1744780063.010136 1744779600.0 `1744780073.010136 1744779600.0 `1744780083.010145 1744779600.0 `1744780093.01014 1744779600.0 `1744780104.010135 1744779600.0 `1744780114.010134 1744779600.0 `1744780143.010157 1744779600.0 `1744780153.010137 1744779600.0 `1744780163.010141 1744779600.0 `1744780174.010143 1744779600.0 `1744780184.010146 1744779600.0 `1744780193.009126 1744779600.0 `1744780203.010142 1744779600.0 `1744780213.010141 1744779600.0 `1744780223.010135 1744779600.0 `1744780244.010135 1744779600.0 `1744780254.010137 1744779600.0 `1744780263.009125 1744779600.0 `1744780273.010139 1744779600.0 `1744780283.010137 1744779600.0 `1744780293.010137 1744779600.0 `1744780303.010137 1744779600.0 `1744780313.01014 1744779600.0 `1744780324.010136 1744779600.0 `1744780343.010135 1744779600.0 `1744780353.010134 1744779600.0 `1744780363.010136 1744779600.0 `1744780373.010137 1744779600.0 `1744780383.010153 1744779600.0 `1744780394.010142 1744779600.0 `1744780404.010135 1744779600.0 `1744780413.009125 1744779600.0 `1744780423.010137 1744779600.0 `1744780453.010133 1744779600.0 `1744780464.010132 1744779600.0 `1744780474.010137 1744779600.0 `1744780483.009126 1744779600.0 `1744780493.010139 1744779600.0 `1744780503.010149 1744780500.0 `1744780513.01014 1744780500.0 `1744780523.01014 1744780500.0 `1744780553.009125 1744780500.0 `1744780563.010151 1744780500.0 `1744780573.010139 1744780500.0 `1744780583.010136 1744780500.0 `1744780593.010145 1744780500.0 `1744780603.010142 1744780500.0 `1744780614.010136 1744780500.0 `1744780623.00914 1744780500.0 `1744780633.010139 1744780500.0 `1744780643.010135 1744780500.0 `1744780653.010135 1744780500.0 `1744780684.010148 1744780500.0 `1744780694.010141 1744780500.0 `1744780703.009128 1744780500.0 `1744780713.010139 1744780500.0 `1744780723.010137 1744780500.0 `1744780733.010139 1744780500.0 `1744780743.010147 1744780500.0 `1744780764.01014 1744780500.0 `1744780773.009132 1744780500.0 `1744780783.010137 1744780500.0 `1744780793.010142 1744780500.0 `1744780803.010145 1744780500.0 `1744780813.010141 1744780500.0 `1744780824.010135 1744780500.0 `1744780834.010136 1744780500.0 `1744780863.010145 1744780500.0 `1744780873.010137 1744780500.0 `1744780883.010142 1744780500.0 `1744780894.010148 1744780500.0 `1744780904.010144 1744780500.0 `1744780913.009129 1744780500.0 `1744780923.010151 1744780500.0 `1744780933.010138 1744780500.0 `1744780943.010137 1744780500.0 `1744780953.010134 1744780500.0 `1744780974.010136 1744780500.0 `1744780983.009138 1744780500.0 `1744780993.010136 1744780500.0 `1744781003.010137 1744780500.0 `1744781013.010134 1744780500.0 `1744781023.010135 1744780500.0 `1744781033.010135 1744780500.0 `1744781044.010148 1744780500.0 `1744781063.009123 1744780500.0 `1744781073.010133 1744780500.0 `1744781103.010162 1744780500.0 `1744781114.010137 1744780500.0 `1744781124.010139 1744780500.0 `1744781133.009127 1744780500.0 `1744781143.010144 1744780500.0 `1744781153.010136 1744780500.0 `1744781163.010136 1744780500.0 `1744781173.010139 1744780500.0 `1744781184.010134 1744780500.0 `1744781194.010142 1744780500.0 `1744781223.010147 1744780500.0 `1744781233.010137 1744780500.0 `1744781243.010139 1744780500.0 `1744781253.010137 1744780500.0 `1744781264.010138 1744780500.0 `1744781274.010137 1744780500.0 `1744781283.009131 1744780500.0 `1744781293.010136 1744780500.0 `1744781303.010132 1744780500.0 `1744781334.010136 1744780500.0 `1744781344.010149 1744780500.0 `1744781353.009125 1744780500.0 `1744781363.010134 1744780500.0 `1744781373.01014 1744780500.0 `1744781383.010142 1744780500.0 `1744781393.010137 1744780500.0 `1744781414.01014 1744781400.0 `1744781423.009123 1744781400.0 `1744781433.010133 1744781400.0 `1744781443.010136 1744781400.0 `1744781453.010137 1744781400.0 `1744781463.010145 1744781400.0 `1744781474.010139 1744781400.0 `1744781484.010141 1744781400.0 `1744781493.009124 1744781400.0 `1744781523.010136 1744781400.0 `1744781533.010136 1744781400.0 `1744781543.010142 1744781400.0 `1744781554.010143 1744781400.0 `1744781564.010142 1744781400.0 `1744781573.009124 1744781400.0 `1744781583.010143 1744781400.0 `1744781593.010141 1744781400.0 `1744781603.010136 1744781400.0 `1744781613.010139 1744781400.0 `1744781624.010138 1744781400.0 `1744781663.010138 1744781400.0 `1744781673.010135 1744781400.0 `1744781683.010137 1744781400.0 `1744781694.010137 1744781400.0 `1744781704.010154 1744781400.0 `1744781713.009127 1744781400.0 `1744781723.010141 1744781400.0 `1744781733.010141 1744781400.0 `1744781743.010143 1744781400.0 `1744781753.010139 1744781400.0 `1744781774.010136 1744781400.0 `1744781783.009123 1744781400.0 `1744781793.010136 1744781400.0 `1744781803.010135 1744781400.0 `1744781813.01014 1744781400.0 `1744781823.010157 1744781400.0 `1744781834.010141 1744781400.0 `1744781844.010141 1744781400.0 `1744781853.009125 1744781400.0 `1744781863.010152 1744781400.0 `1744781873.010138 1744781400.0 `1744781883.010151 1744781400.0 `1744781923.009123 1744781400.0 `1744781933.010134 1744781400.0 `1744781943.010146 1744781400.0 `1744781953.01014 1744781400.0 `1744781963.010136 1744781400.0 `1744781973.010136 1744781400.0 `1744781984.010134 1744781400.0 `1744781994.010135 1744781400.0 `1744782003.009131 1744781400.0 `1744782013.010156 1744781400.0 `1744782023.010138 1744781400.0 `1744782033.010134 1744781400.0 `1744782043.010134 1744781400.0 `1744782064.010149 1744781400.0 `1744782073.009123 1744781400.0 `1744782083.01014 1744781400.0 `1744782093.010133 1744781400.0 `1744782103.010136 1744781400.0 `1744782113.010139 1744781400.0 `1744782124.010147 1744781400.0 `1744782134.010134 1744781400.0 `1744782143.009124 1744781400.0 `1744782153.010133 1744781400.0 `1744782163.010133 1744781400.0 `1744782183.010156 1744781400.0 `1744782193.010137 1744781400.0 `1744782204.010142 1744781400.0 `1744782214.010135 1744781400.0 `1744782223.009127 1744781400.0 `1744782233.010138 1744781400.0 `1744782243.010147 1744781400.0 `1744782253.010144 1744781400.0 `1744782263.010134 1744781400.0 `1744782274.010135 1744781400.0 `1744782284.010134 1744781400.0 `1744782293.009123 1744781400.0 `1744782313.010135 1744782300.0 `1744782323.010134 1744782300.0 `1744782333.010137 1744782300.0 `1744782344.010144 1744782300.0 `1744782354.010138 1744782300.0 `1744782373.010157 1744782300.0 `1744782383.01014 1744782300.0 `1744782393.01014 1744782300.0 `1744782403.010139 1744782300.0 `1744782414.010138 1744782300.0 `1744782443.010134 1744782300.0 `1744782453.010132 1744782300.0 `1744782463.010136 1744782300.0 `1744782473.010139 1744782300.0 `1744782483.010138 1744782300.0 `1744782494.010136 1744782300.0 `1744782503.009126 1744782300.0 `1744782513.010136 1744782300.0 `1744782523.010138 1744782300.0 `1744782533.010136 1744782300.0 `1744782574.010133 1744782300.0 `1744782583.009126 1744782300.0 `1744782593.010138 1744782300.0 `1744782603.010154 1744782300.0 `1744782613.010139 1744782300.0 `1744782623.010136 1744782300.0 `1744782634.010139 1744782300.0 `1744782644.010141 1744782300.0 `1744782653.009127 1744782300.0 `1744782663.010151 1744782300.0 `1744782673.010137 1744782300.0 `1744782704.010135 1744782300.0 `1744782714.010135 1744782300.0 `1744782723.009126 1744782300.0 `1744782733.010154 1744782300.0 `1744782743.010135 1744782300.0 `1744782753.010136 1744782300.0 `1744782763.010144 1744782300.0 `1744782773.010135 1744782300.0 `1744782784.010157 1744782300.0 `1744782793.009126 1744782300.0 `1744782813.010132 1744782300.0 `1744782823.010133 1744782300.0 `1744782833.010137 1744782300.0 `1744782843.010141 1744782300.0 `1744782854.010134 1744782300.0 `1744782864.010134 1744782300.0 `1744782873.009123 1744782300.0 `1744782883.010136 1744782300.0 `1744782893.010135 1744782300.0 `1744782934.010135 1744782300.0 `1744782943.009125 1744782300.0 `1744782953.010137 1744782300.0 `1744782963.010146 1744782300.0 `1744782973.010146 1744782300.0 `1744782983.010147 1744782300.0 `1744782994.010144 1744782300.0 `1744783004.010144 1744782300.0 `1744783013.009128 1744782300.0 `1744783023.01015 1744782300.0 `1744783033.010142 1744782300.0 `1744783063.010135 1744782300.0 `1744783074.010135 1744782300.0 `1744783083.009124 1744782300.0 `1744783093.010199 1744782300.0 `1744783103.010447 1744782300.0 `1744783114.010136 1744782300.0 `1744783124.01014 1744782300.0 `1744783133.009125 1744782300.0 `1744783214.010184 1744783200.0 `1744783224.010141 1744783200.0 `1744783235.010136 1744783200.0 `1744783245.010136 1744783200.0 `1744783255.010136 1744783200.0 `1744783265.010155 1744783200.0 `1744783274.009125 1744783200.0 `1744783284.010135 1744783200.0 `1744783294.010134 1744783200.0 `1744783304.010136 1744783200.0 `1744783315.010139 1744783200.0 `1744783345.010134 1744783200.0 `1744783354.009122 1744783200.0 `1744783364.010137 1744783200.0 `1744783374.01014 1744783200.0 `1744783385.010145 1744783200.0 `1744783395.010136 1744783200.0 `1744783405.010135 1744783200.0 `1744783415.01015 1744783200.0 `1744783424.009135 1744783200.0 `1744783434.010137 1744783200.0 `1744783444.010145 1744783200.0 `1744783475.010133 1744783200.0 `1744783485.010137 1744783200.0 `1744783494.009124 1744783200.0 `1744783504.010187 1744783200.0 `1744783514.010135 1744783200.0 `1744783525.010132 1744783200.0 `1744783535.010142 1744783200.0 `1744783545.010135 1744783200.0 `1744783555.010138 1744783200.0 `1744783564.009134 1744783200.0 `1744783574.010134 1744783200.0 `1744783605.010133 1744783200.0 `1744783615.010135 1744783200.0 `1744783625.010169 1744783200.0 `1744783634.009129 1744783200.0 `1744783644.010136 1744783200.0 `1744783654.010141 1744783200.0 `1744783664.010142 1744783200.0 `1744783675.010135 1744783200.0 `1744783685.010155 1744783200.0 `1744783724.010133 1744783200.0 `1744783734.010137 1744783200.0 `1744783745.010154 1744783200.0 `1744783755.010135 1744783200.0 `1744783765.010134 1744783200.0 `1744783775.010144 1744783200.0 `1744783784.009125 1744783200.0 `1744783794.010137 1744783200.0 `1744783825.010134 1744783200.0 `1744783835.010133 1744783200.0 `1744783845.01014 1744783200.0 `1744783854.009127 1744783200.0 `1744783864.010151 1744783200.0 `1744783874.010136 1744783200.0 `1744783885.010135 1744783200.0 `1744783895.010137 1744783200.0 `1744783905.01014 1744783200.0 `1744783915.010139 1744783200.0 `1744783934.010134 1744783200.0 `1744783944.010132 1744783200.0 `1744783954.010132 1744783200.0 `1744783965.010135 1744783200.0 `1744783975.010144 1744783200.0 `1744783985.010149 1744783200.0 `1744783995.010137 1744783200.0 `1744784014.010134 1744783200.0 `1744784035.010135 1744783200.0 `1744784045.010153 1744783200.0 `1744784055.010134 1744783200.0 `1744784065.010135 1744783200.0 `1744784105.01015 1744784100.0 `1744784115.010137 1744784100.0 `1744784125.010133 1744784100.0 `1744784135.01014 1744784100.0 `1744784144.009128 1744784100.0 `1744784154.010136 1744784100.0 `1744784195.010134 1744784100.0 `1744784245.01014 1744784100.0 `1744784254.009131 1744784100.0 `1744784375.010136 1744784100.0 `1744784385.010137 1744784100.0 `1744784395.010139 1744784100.0 `1744784414.010136 1744784100.0 `1744784424.010137 1744784100.0 `1744784455.010136 1744784100.0 `1744784465.010138 1744784100.0 `1744784474.009127 1744784100.0 `1744784484.01014 1744784100.0 `1744784494.010137 1744784100.0 `1744784505.010139 1744784100.0 `1744784515.010143 1744784100.0 `1744784525.010149 1744784100.0 `1744784535.010135 1744784100.0 `1744784544.009124 1744784100.0 `1744784554.010134 1744784100.0 `1744784564.010142 1744784100.0 `1744784575.010143 1744784100.0 `1744784585.010148 1744784100.0 `1744784614.009178 1744784100.0 `1744784624.010135 1744784100.0 `1744784634.010135 1744784100.0 `1744784645.010144 1744784100.0 `1744784655.010139 1744784100.0 `1744784665.010135 1744784100.0 `1744784675.010147 1744784100.0 `1744784694.010134 1744784100.0 `1744784704.010154 1744784100.0 `1744784714.010137 1744784100.0 `1744784745.010136 1744784100.0 `1744784755.010139 1744784100.0 `1744784764.00913 1744784100.0 `1744784774.010137 1744784100.0 `1744784784.010132 1744784100.0 `1744784795.010141 1744784100.0 `1744784805.010136 1744784100.0 `1744784815.010138 1744784100.0 `1744784825.010159 1744784100.0 `1744784834.009124 1744784100.0 `1744784844.010134 1744784100.0 `1744784854.010135 1744784100.0 `1744784895.010138 1744784100.0 `1744784914.010137 1744784100.0 `1744784924.010136 1744784100.0 `1744784934.010137 1744784100.0 `1744784945.010151 1744784100.0 `1744784955.010136 1744784100.0 `1744784965.010133 1744784100.0 `1744784974.00913 1744784100.0 `1744784984.010137 1744784100.0 `1744784994.010133 1744784100.0 `1744785004.010156 1744785000.0 `1744785015.010136 1744785000.0 `1744785025.010135 1744785000.0 `1744785054.009124 1744785000.0 `1744785064.010157 1744785000.0 `1744785074.010133 1744785000.0 `1744785085.010134 1744785000.0 `1744785095.010135 1744785000.0 `1744785105.01014 1744785000.0 `1744785115.010137 1744785000.0 `1744785124.009129 1744785000.0 `1744785134.010136 1744785000.0 `1744785144.010135 1744785000.0 `1744785155.010135 1744785000.0 `1744785165.010135 1744785000.0 `1744785194.009126 1744785000.0 `1744785204.010137 1744785000.0 `1744785214.010135 1744785000.0 `1744785224.010135 1744785000.0 `1744785235.010134 1744785000.0 `1744785245.010138 1744785000.0 `1744785255.01014 1744785000.0 `1744785265.010136 1744785000.0 `1744785274.009126 1744785000.0 `1744785305.01015 1744785000.0 `1744785315.010134 1744785000.0 `1744785325.010136 1744785000.0 `1744785335.010143 1744785000.0 `1744785344.009129 1744785000.0 `1744785354.010137 1744785000.0 `1744785364.01015 1744785000.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.023867130279541016 ***** 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': '16042025', 'map_nb_amount': {0: 8, 1: 16, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 439.9999969005585, 'nb_balles_papier': 0.0002800000000000001, 'begin_time_port': 'image_16042025_06_37_14_010138m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0002800000000000001 We reject this portfolio because of the condition_save_data : 2025-04-16 06:37:14.010138 result_one_balle_Type_JRM:{'day': '16042025', 'map_nb_amount': {0: 14, 1: 48, 2: 14, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999837875366, 'nb_balles_papier': 0.0007700000000000014, 'begin_time_port': 'image_16042025_06_45_04_010152m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0007700000000000014 We reject this portfolio because of the condition_save_data : 2025-04-16 06:45:04.010152 result_one_balle_Type_JRM:{'day': '16042025', 'map_nb_amount': {0: 6, 1: 45, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9999248981476, 'nb_balles_papier': 0.000630000000000001, 'begin_time_port': 'image_16042025_07_00_04_010214m0.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.000630000000000001 We reject this portfolio because of the condition_save_data : 2025-04-16 07:00:04.010214 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '16042025', 'map_nb_amount': {0: 4, 1: 49, 2: 19, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.999988079071, 'nb_balles_papier': 0.0007300000000000013, 'begin_time_port': 'image_16042025_07_15_03_010149m0.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.0007300000000000013 We reject this portfolio because of the condition_save_data : 2025-04-16 07:15:03.010149 ERROR missing amount info ERROR missing amount info 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': '16042025', 'map_nb_amount': {0: 7, 1: 52, 2: 11, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 878.9989831447601, 'nb_balles_papier': 0.0007000000000000012, 'begin_time_port': 'image_16042025_07_30_14_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.0007000000000000012 We reject this portfolio because of the condition_save_data : 2025-04-16 07:30:14.010140 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': '16042025', 'map_nb_amount': {0: 7, 1: 40, 2: 15, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 819.9989900588989, 'nb_balles_papier': 0.000640000000000001, 'begin_time_port': 'image_16042025_07_45_13_010135m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.000640000000000001 ERROR missing amount info 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': '16042025', 'map_nb_amount': {0: 12, 1: 43, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 850.9999508857727, 'nb_balles_papier': 0.0006500000000000011, 'begin_time_port': 'image_16042025_08_00_14_010184m0.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.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 result_one_balle_Type_JRM:{'day': '16042025', 'map_nb_amount': {0: 6, 1: 33, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9999830722809, 'nb_balles_papier': 0.0004900000000000006, 'begin_time_port': 'image_16042025_08_15_05_010150m0.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.0004900000000000006 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '16042025', 'map_nb_amount': {0: 0, 1: 7, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 359.9999940395355, 'nb_balles_papier': 8e-05, 'begin_time_port': 'image_16042025_08_30_04_10156.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 : {1350189633, 1350189639, 1350189640, 1350189612, 1350189748, 1350189751, 1350189625, 1350189599} Still a lot to verify ! Qualite : 0.04684223915456911 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`=22064719 AND mptpi.`type`=3726 To do Qualite : 0.04557986179704616 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`=22065434 AND mptpi.`type`=3726 To do Qualite : 0.050985913068590946 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`=22066281 AND mptpi.`type`=3726 To do Qualite : 0.0417041899037453 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`=22066861 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.7657296657562256 # DISPLAY ALL COLLECTED DATA : {'16042025': {'nb_upload': 553, 'nb_taggue_class': 834, 'nb_taggue_densite': 834}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350189751, 1350189748, 1350189640, 1350189639, 1350189633, 1350189625, 1350189612, 1350189599, 1350189504, 1350189500, 1350189496, 1350189490, 1350189454, 1350189449, 1350189444, 1350189440, 1350189436, 1350189370, 1350189366, 1350189360, 1350189355, 1350189350, 1350189308, 1350189302, 1350189299, 1350189296, 1350189292, 1350189287, 1350189207, 1350189181, 1350189168, 1350189135, 1350189056, 1350189047, 1350189043, 1350189034, 1350189029, 1350189000, 1350188625, 1350188523, 1350188443, 1350188432, 1350188378, 1350188372, 1350188366, 1350188360, 1350188329, 1350188326, 1350188322, 1350188320, 1350188315, 1350188299, 1350188060, 1350188055, 1350188051, 1350188046, 1350187974, 1350187969, 1350187966, 1350187961, 1350187957, 1350187916, 1350187912, 1350187909, 1350187906, 1350187822, 1350187815, 1350187809, 1350187803, 1350187798, 1350187793, 1350187759, 1350187754, 1350187751, 1350187740, 1350187732, 1350187721, 1350187677, 1350187674, 1350187647, 1350187489, 1350187474, 1350187472, 1350187238, 1350187208, 1350186753, 1350186621, 1350186596, 1350186570, 1350186555, 1350186552, 1350186548, 1350186375, 1350186366, 1350186351, 1350186260, 1350186257, 1350186253, 1350186247, 1350186176] Looping around the photos to save general results len do output : 1 /22055303Didn'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, '2725108') ('4876', '22055303', '1350189751', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189748', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189640', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189639', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189633', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189625', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189612', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189599', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189504', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189500', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189496', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189490', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189454', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189449', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189444', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189440', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189436', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189370', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189366', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189360', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189355', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189350', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189308', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189302', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189299', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189296', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189292', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189287', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189207', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189181', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189168', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189135', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189056', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189047', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189043', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189034', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189029', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350189000', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188625', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188523', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188443', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188432', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188378', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188372', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188366', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188360', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188329', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188326', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188322', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188320', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188315', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188299', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188060', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188055', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188051', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350188046', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187974', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187969', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187966', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187961', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187957', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187916', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187912', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187909', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187906', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187822', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187815', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187809', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187803', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187798', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187793', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187759', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187754', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187751', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187740', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187732', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187721', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187677', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187674', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187647', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187489', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187474', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187472', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187238', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350187208', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186753', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186621', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186596', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186570', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186555', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186552', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186548', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186375', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186366', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186351', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186260', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186257', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186253', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186247', None, None, None, None, None, '2725108') ('4876', None, None, None, None, None, None, None, '2725108') ('4876', '22055303', '1350186176', None, None, None, None, None, '2725108') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.04853320121765137 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.1042132377624512 time spend to save output : 0.049462318420410156 total time spend for step 1 : 1.1536755561828613 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.30user 0.74system 0:03.14elapsed 64%CPU (0avgtext+0avgdata 103088maxresident)k 0inputs+120outputs (0major+49594minor)pagefaults 0swaps