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 : 3364736 load datou : 4876 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 2784>1000 please execute split_portfolio.py -i 21995993 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2720564'] with mtr_portfolio_ids : ['21995993'] and first list_photo_ids : [] new path : /proc/3364736/ 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.03234744071960449 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Apr 3 12:10:29 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', 285), ('01', 72), ('02', 269), ('03', 286), ('04', 59), ('05', 224), ('06', 288), ('07', 250), ('08', 268), ('09', 126), ('10', 323), ('11', 287), ('12', 47)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2684, 2: 1} 03042025 21995993 Nombre de photos uploadées : 603 / 23040 (2%) 03042025 21995993 Nombre de photos taguées (types de déchets): 2685 / 603 (445%) 03042025 21995993 Nombre de photos taguées (volume) : 2685 / 603 (445%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0008413791656494141 ???????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.08126306533813477 elapsed_time : insert_dashboard_record_day_entry 0.02290964126586914 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 elapsed_time : list_photo_by_hashtags 0.020884037017822266 photos_removed : len 0 elapsed_time : load_duplicate_info 0.039704322814941406 ***** BEGIN SPLIT TIME ***** True 1743638400.0 `1743667794.010135 1743667200.0 `1743667804.010156 1743667200.0 `1743667813.009126 1743667200.0 `1743667823.010134 1743667200.0 `1743667834.010132 1743667200.0 `1743667844.010135 1743667200.0 `1743667864.010166 1743667200.0 `1743667874.010134 1743667200.0 `1743667883.009124 1743667200.0 `1743667893.010134 1743667200.0 `1743667904.010135 1743667200.0 `1743667914.010141 1743667200.0 `1743667924.010145 1743667200.0 `1743667954.010133 1743667200.0 `1743667964.010134 1743667200.0 `1743667974.010137 1743667200.0 `1743667984.010152 1743667200.0 `1743667994.010139 1743667200.0 `1743668003.009125 1743667200.0 `1743668013.010139 1743667200.0 `1743668024.01014 1743667200.0 `1743668054.01014 1743667200.0 `1743668064.010132 1743667200.0 `1743668074.010135 1743667200.0 `1743668083.009125 1743667200.0 `1743668094.010134 1743667200.0 `1743668104.010156 1743668100.0 `1743668114.010138 1743668100.0 `1743668124.010133 1743668100.0 `1743668134.010134 1743668100.0 `1743668174.010138 1743668100.0 `1743668184.010134 1743668100.0 `1743668194.010132 1743668100.0 `1743668204.010134 1743668100.0 `1743668223.009132 1743668100.0 `1743668233.010134 1743668100.0 `1743668244.01014 1743668100.0 `1743668254.010134 1743668100.0 `1743668264.010137 1743668100.0 `1743668274.010135 1743668100.0 `1743668284.010138 1743668100.0 `1743668294.010136 1743668100.0 `1743668303.009123 1743668100.0 `1743668324.010134 1743668100.0 `1743668334.010136 1743668100.0 `1743668344.010151 1743668100.0 `1743668354.010135 1743668100.0 `1743668364.010136 1743668100.0 `1743668373.009123 1743668100.0 `1743668394.010135 1743668100.0 `1743668404.010142 1743668100.0 `1743668414.010137 1743668100.0 `1743668424.010135 1743668100.0 `1743668434.010134 1743668100.0 `1743668444.010133 1743668100.0 `1743668453.009124 1743668100.0 `1743668464.010164 1743668100.0 `1743668484.01014 1743668100.0 `1743668494.010135 1743668100.0 `1743668504.010135 1743668100.0 `1743668514.010137 1743668100.0 `1743668523.009141 1743668100.0 `1743668534.010137 1743668100.0 `1743668554.010134 1743668100.0 `1743668564.010133 1743668100.0 `1743668574.010136 1743668100.0 `1743668584.010135 1743668100.0 `1743668593.009125 1743668100.0 `1743668603.010142 1743668100.0 `1743668614.010136 1743668100.0 `1743668624.01014 1743668100.0 `1743668644.01014 1743668100.0 `1743668654.010133 1743668100.0 `1743668664.010134 1743668100.0 `1743668673.009122 1743668100.0 `1743668684.010134 1743668100.0 `1743668694.010137 1743668100.0 `1743668704.010152 1743668100.0 `1743668724.010134 1743668100.0 `1743668734.010133 1743668100.0 `1743668743.009122 1743668100.0 `1743668753.010136 1743668100.0 `1743668764.010151 1743668100.0 `1743668774.010141 1743668100.0 `1743668784.010137 1743668100.0 `1743668794.010134 1743668100.0 `1743668804.010139 1743668100.0 `1743668813.009124 1743668100.0 `1743668844.010138 1743668100.0 `1743668854.010133 1743668100.0 `1743668864.010136 1743668100.0 `1743668874.01014 1743668100.0 `1743668884.010139 1743668100.0 `1743668893.009127 1743668100.0 `1743668904.010136 1743668100.0 `1743668914.010136 1743668100.0 `1743668944.010142 1743668100.0 `1743668954.010134 1743668100.0 `1743668963.009124 1743668100.0 `1743668974.010142 1743668100.0 `1743668984.010142 1743668100.0 `1743668994.010134 1743668100.0 `1743669004.01015 1743669000.0 `1743669033.009123 1743669000.0 `1743669043.010133 1743669000.0 `1743669054.010138 1743669000.0 `1743669064.010154 1743669000.0 `1743669074.010135 1743669000.0 `1743669084.010136 1743669000.0 `1743669094.010135 1743669000.0 `1743669103.009126 1743669000.0 `1743669134.010135 1743669000.0 `1743669144.010133 1743669000.0 `1743669154.010133 1743669000.0 `1743669164.010138 1743669000.0 `1743669174.010139 1743669000.0 `1743669183.009138 1743669000.0 `1743669194.010141 1743669000.0 `1743669204.010142 1743669000.0 `1743669214.010134 1743669000.0 `1743669234.010136 1743669000.0 `1743669244.010143 1743669000.0 `1743669253.009126 1743669000.0 `1743669263.010134 1743669000.0 `1743669274.010135 1743669000.0 `1743669284.010137 1743669000.0 `1743669294.010137 1743669000.0 `1743669304.010148 1743669000.0 `1743669314.010136 1743669000.0 `1743669344.010137 1743669000.0 `1743669354.010136 1743669000.0 `1743669364.010167 1743669000.0 `1743669374.010145 1743669000.0 `1743669384.010139 1743669000.0 `1743669393.009131 1743669000.0 `1743669403.010144 1743669000.0 `1743669414.01014 1743669000.0 `1743669424.010152 1743669000.0 `1743669434.010136 1743669000.0 `1743669444.010135 1743669000.0 `1743669454.010134 1743669000.0 `1743669464.010135 1743669000.0 `1743669473.009126 1743669000.0 `1743669484.010142 1743669000.0 `1743669494.010135 1743669000.0 `1743669504.010134 1743669000.0 `1743669514.010138 1743669000.0 `1743669543.009129 1743669000.0 `1743669553.010133 1743669000.0 `1743669564.010136 1743669000.0 `1743669574.010136 1743669000.0 `1743669584.010138 1743669000.0 `1743669594.010136 1743669000.0 `1743669604.010169 1743669000.0 `1743669613.009127 1743669000.0 `1743669634.010136 1743669000.0 `1743669654.010135 1743669000.0 `1743669664.010152 1743669000.0 `1743669674.010135 1743669000.0 `1743669704.010135 1743669000.0 `1743669714.010134 1743669000.0 `1743669724.010153 1743669000.0 `1743669734.010142 1743669000.0 `1743669744.010136 1743669000.0 `1743669754.010134 1743669000.0 `1743669763.009127 1743669000.0 `1743669774.010136 1743669000.0 `1743669784.010147 1743669000.0 `1743669794.010136 1743669000.0 `1743669804.010135 1743669000.0 `1743669814.010136 1743669000.0 `1743669824.010136 1743669000.0 `1743669864.010133 1743669000.0 `1743669874.010134 1743669000.0 `1743669884.010136 1743669000.0 `1743669894.010139 1743669000.0 `1743669903.009141 1743669900.0 `1743669913.010141 1743669900.0 `1743669924.010142 1743669900.0 `1743669934.010143 1743669900.0 `1743669964.010152 1743669900.0 `1743669973.009129 1743669900.0 `1743669983.010136 1743669900.0 `1743669994.010139 1743669900.0 `1743670004.01014 1743669900.0 `1743670014.010141 1743669900.0 `1743670024.010143 1743669900.0 `1743670034.010136 1743669900.0 `1743670044.010133 1743669900.0 `1743670053.009129 1743669900.0 `1743670053.009129 1743669900.0 `1743670084.01015 1743669900.0 `1743670084.01015 1743669900.0 `1743670094.010139 1743669900.0 `1743670094.010139 1743669900.0 `1743670104.010135 1743669900.0 `1743670104.010135 1743669900.0 `1743670104.010135 1743669900.0 `1743670114.010139 1743669900.0 `1743670114.010139 1743669900.0 `1743670114.010139 1743669900.0 `1743670123.009124 1743669900.0 `1743670123.009124 1743669900.0 `1743670123.009124 1743669900.0 `1743670133.010136 1743669900.0 `1743670133.010136 1743669900.0 `1743670144.010161 1743669900.0 `1743670144.010161 1743669900.0 `1743670154.010139 1743669900.0 `1743670154.010139 1743669900.0 `1743670164.010138 1743669900.0 `1743670164.010138 1743669900.0 `1743670184.010133 1743669900.0 `1743670184.010133 1743669900.0 `1743670193.009123 1743669900.0 `1743670203.010143 1743669900.0 `1743670214.010135 1743669900.0 `1743670224.010138 1743669900.0 `1743670234.010135 1743669900.0 `1743670244.010134 1743669900.0 `1743670254.010135 1743669900.0 `1743670254.010135 1743669900.0 `1743670264.010141 1743669900.0 `1743670264.010141 1743669900.0 `1743670273.009127 1743669900.0 `1743670273.009127 1743669900.0 `1743670304.010133 1743669900.0 `1743670304.010133 1743669900.0 `1743670314.010134 1743669900.0 `1743670324.010155 1743669900.0 `1743670334.010139 1743669900.0 `1743670343.009124 1743669900.0 `1743670354.010138 1743669900.0 `1743670364.010134 1743669900.0 `1743670374.010137 1743669900.0 `1743670384.010141 1743669900.0 `1743670404.010143 1743669900.0 `1743670413.009123 1743669900.0 `1743670423.010133 1743669900.0 `1743670434.010137 1743669900.0 `1743670444.010151 1743669900.0 `1743670454.010135 1743669900.0 `1743670464.010136 1743669900.0 `1743670474.010135 1743669900.0 `1743670493.009124 1743669900.0 `1743670504.010153 1743669900.0 `1743670514.010138 1743669900.0 `1743670524.010145 1743669900.0 `1743670534.010139 1743669900.0 `1743670544.010139 1743669900.0 `1743670554.010141 1743669900.0 `1743670563.009131 1743669900.0 `1743670574.010147 1743669900.0 `1743670614.010139 1743669900.0 `1743670624.010151 1743669900.0 `1743670633.009127 1743669900.0 `1743670644.010142 1743669900.0 `1743670654.010141 1743669900.0 `1743670664.010143 1743669900.0 `1743670674.01014 1743669900.0 `1743670684.010157 1743669900.0 `1743670694.010139 1743669900.0 `1743670703.009124 1743669900.0 `1743670734.010136 1743669900.0 `1743670753.010013 1743669900.0 `1743670763.010149 1743669900.0 `1743670773.010139 1743669900.0 `1743670784.010139 1743669900.0 `1743670794.010139 1743669900.0 `1743670824.010135 1743670800.0 `1743670833.009123 1743670800.0 `1743670843.010136 1743670800.0 `1743670854.010135 1743670800.0 `1743670864.010137 1743670800.0 `1743670874.010138 1743670800.0 `1743670903.009125 1743670800.0 `1743670913.01014 1743670800.0 `1743670924.010154 1743670800.0 `1743670934.010143 1743670800.0 `1743670944.010137 1743670800.0 `1743670954.010145 1743670800.0 `1743670964.010142 1743670800.0 `1743670994.010137 1743670800.0 `1743671004.010198 1743670800.0 `1743671014.010135 1743670800.0 `1743671024.010138 1743670800.0 `1743671034.010136 1743670800.0 `1743671043.009148 1743670800.0 `1743671053.010139 1743670800.0 `1743671064.010135 1743670800.0 `1743671074.010136 1743670800.0 `1743671084.010136 1743670800.0 `1743671123.010141 1743670800.0 `1743671134.010135 1743670800.0 `1743671144.010137 1743670800.0 `1743671154.010137 1743670800.0 `1743671164.010148 1743670800.0 `1743671174.010138 1743670800.0 `1743671183.009125 1743670800.0 `1743671193.010136 1743670800.0 `1743671203.010136 1743670800.0 `1743671234.010134 1743670800.0 `1743671244.010133 1743670800.0 `1743671254.010135 1743670800.0 `1743671263.009127 1743670800.0 `1743671273.010137 1743670800.0 `1743671284.010145 1743670800.0 `1743671294.010143 1743670800.0 `1743671304.010135 1743670800.0 `1743671333.009129 1743670800.0 `1743671343.010155 1743670800.0 `1743671354.010141 1743670800.0 `1743671364.010144 1743670800.0 `1743671374.010137 1743670800.0 `1743671384.010138 1743670800.0 `1743671394.010138 1743670800.0 `1743671424.010133 1743670800.0 `1743671434.010134 1743670800.0 `1743671444.010133 1743670800.0 `1743671454.010135 1743670800.0 `1743671464.010144 1743670800.0 `1743671473.009129 1743670800.0 `1743671483.010143 1743670800.0 `1743671493.010136 1743670800.0 `1743671504.010138 1743670800.0 `1743671514.01014 1743670800.0 `1743671524.01015 1743670800.0 `1743671534.010134 1743670800.0 `1743671563.010134 1743670800.0 `1743671574.010141 1743670800.0 `1743671584.010152 1743670800.0 `1743671594.010136 1743670800.0 `1743671604.010135 1743670800.0 `1743671614.010134 1743670800.0 `1743671623.009127 1743670800.0 `1743671633.010138 1743670800.0 `1743671644.010135 1743670800.0 `1743671684.010134 1743670800.0 `1743671693.009124 1743670800.0 `1743671703.010154 1743671700.0 `1743671713.010141 1743671700.0 `1743671724.010142 1743671700.0 `1743671734.01014 1743671700.0 `1743671744.010144 1743671700.0 `1743671754.010138 1743671700.0 `1743671763.009132 1743671700.0 `1743671773.010138 1743671700.0 `1743671804.010135 1743671700.0 `1743671814.010139 1743671700.0 `1743671824.010147 1743671700.0 `1743671834.010139 1743671700.0 `1743671843.009125 1743671700.0 `1743671853.010136 1743671700.0 `1743671864.010137 1743671700.0 `1743671874.010136 1743671700.0 `1743671894.010134 1743671700.0 `1743671904.010132 1743671700.0 `1743671913.009124 1743671700.0 `1743671923.010135 1743671700.0 `1743671934.01014 1743671700.0 `1743671944.010154 1743671700.0 `1743671954.010134 1743671700.0 `1743671983.009123 1743671700.0 `1743671993.010135 1743671700.0 `1743672003.010156 1743671700.0 `1743672014.010138 1743671700.0 `1743672024.010135 1743671700.0 `1743672034.010136 1743671700.0 `1743672044.010135 1743671700.0 `1743672063.010148 1743671700.0 `1743672073.01014 1743671700.0 `1743672084.010143 1743671700.0 `1743672094.010137 1743671700.0 `1743672104.01014 1743671700.0 `1743672114.010138 1743671700.0 `1743672124.010139 1743671700.0 `1743672133.009127 1743671700.0 `1743672143.010134 1743671700.0 `1743672164.010133 1743671700.0 `1743672174.010136 1743671700.0 `1743672184.010132 1743671700.0 `1743672194.010138 1743671700.0 `1743672203.009126 1743671700.0 `1743672213.010138 1743671700.0 `1743672223.010139 1743671700.0 `1743672234.010137 1743671700.0 `1743672244.010146 1743671700.0 `1743672254.010138 1743671700.0 `1743672264.010134 1743671700.0 `1743672283.010134 1743671700.0 `1743672293.010135 1743671700.0 `1743672304.010141 1743671700.0 `1743672314.010135 1743671700.0 `1743672324.010137 1743671700.0 `1743672334.010137 1743671700.0 `1743672353.009129 1743671700.0 `1743672363.010158 1743671700.0 `1743672374.01014 1743671700.0 `1743672384.010135 1743671700.0 `1743672394.010136 1743671700.0 `1743672404.01014 1743671700.0 `1743672433.010138 1743671700.0 `1743672444.010139 1743671700.0 `1743672454.010137 1743671700.0 `1743672464.010136 1743671700.0 `1743672474.010138 1743671700.0 `1743672484.010142 1743671700.0 `1743672493.009126 1743671700.0 `1743672503.010135 1743671700.0 `1743672524.010137 1743671700.0 `1743672534.010137 1743671700.0 `1743672544.010148 1743671700.0 `1743672554.010135 1743671700.0 `1743672594.010136 1743671700.0 `1743672604.010151 1743672600.0 `1743672614.01014 1743672600.0 `1743672624.010136 1743672600.0 `1743672634.010141 1743672600.0 `1743672643.009134 1743672600.0 `1743672653.010137 1743672600.0 `1743672664.010154 1743672600.0 `1743672674.010141 1743672600.0 `1743672694.010135 1743672600.0 `1743672704.010135 1743672600.0 `1743672713.009126 1743672600.0 `1743672723.010138 1743672600.0 `1743672754.010138 1743672600.0 `1743672764.010139 1743672600.0 `1743672774.010138 1743672600.0 `1743672783.009146 1743672600.0 `1743672793.01014 1743672600.0 `1743672803.010144 1743672600.0 `1743672814.010139 1743672600.0 `1743672824.010142 1743672600.0 `1743672834.010139 1743672600.0 `1743672844.010163 1743672600.0 `1743672853.009125 1743672600.0 `1743672894.010136 1743672600.0 `1743672904.010145 1743672600.0 `1743672914.010135 1743672600.0 `1743672924.010135 1743672600.0 `1743672933.009129 1743672600.0 `1743672944.010243 1743672600.0 `1743672954.010139 1743672600.0 `1743672964.010142 1743672600.0 `1743672974.010139 1743672600.0 `1743672984.010136 1743672600.0 `1743673013.010136 1743672600.0 `1743673024.010163 1743672600.0 `1743673034.010143 1743672600.0 `1743673044.010137 1743672600.0 `1743673054.010139 1743672600.0 `1743673063.00913 1743672600.0 `1743673073.01014 1743672600.0 `1743673083.010145 1743672600.0 `1743673094.010138 1743672600.0 `1743673143.010146 1743672600.0 `1743673153.010134 1743672600.0 `1743673164.010138 1743672600.0 `1743673174.010146 1743672600.0 `1743673184.010144 1743672600.0 `1743673194.010135 1743672600.0 `1743673204.01015 1743672600.0 `1743673213.009124 1743672600.0 `1743673223.010134 1743672600.0 `1743673234.010135 1743672600.0 `1743673244.010137 1743672600.0 `1743673254.010145 1743672600.0 `1743673264.01015 1743672600.0 `1743673274.010135 1743672600.0 `1743673314.010134 1743672600.0 `1743673324.010136 1743672600.0 `1743673334.010136 1743672600.0 `1743673344.010136 1743672600.0 `1743673353.00913 1743672600.0 `1743673363.010145 1743672600.0 `1743673373.010137 1743672600.0 `1743673384.010153 1743672600.0 `1743673394.010138 1743672600.0 `1743673404.010136 1743672600.0 `1743673414.010134 1743672600.0 `1743673423.009125 1743672600.0 `1743673433.010137 1743672600.0 `1743673443.010142 1743672600.0 `1743673474.010134 1743672600.0 `1743673484.010133 1743672600.0 `1743673494.010136 1743672600.0 `1743673503.009132 1743673500.0 `1743673513.010137 1743673500.0 `1743673524.010142 1743673500.0 `1743673534.010143 1743673500.0 `1743673544.010147 1743673500.0 `1743673554.01014 1743673500.0 `1743673564.010142 1743673500.0 `1743673573.009128 1743673500.0 `1743673604.010137 1743673500.0 `1743673614.010141 1743673500.0 `1743673624.010155 1743673500.0 `1743673634.010139 1743673500.0 `1743673643.009127 1743673500.0 `1743673653.01014 1743673500.0 `1743673663.010139 1743673500.0 `1743673674.010139 1743673500.0 `1743673684.010153 1743673500.0 `1743673694.010142 1743673500.0 `1743673704.010136 1743673500.0 `1743673713.009125 1743673500.0 `1743673754.010136 1743673500.0 `1743673764.010135 1743673500.0 `1743673774.01014 1743673500.0 `1743673783.00913 1743673500.0 `1743673793.010139 1743673500.0 `1743673803.010154 1743673500.0 `1743673814.010141 1743673500.0 `1743673824.010136 1743673500.0 `1743673834.010136 1743673500.0 `1743673844.010137 1743673500.0 `1743673884.010134 1743673500.0 `1743673894.010134 1743673500.0 `1743673904.01014 1743673500.0 `1743673914.010138 1743673500.0 `1743673924.010189 1743673500.0 `1743673933.009129 1743673500.0 `1743673943.010136 1743673500.0 `1743673954.01014 1743673500.0 `1743673964.01014 1743673500.0 `1743673974.010137 1743673500.0 `1743673984.01015 1743673500.0 `1743674013.010132 1743673500.0 `1743674024.010135 1743673500.0 `1743674034.01014 1743673500.0 `1743674044.010142 1743673500.0 `1743674054.010157 1743673500.0 `1743674064.010157 1743673500.0 `1743674073.009131 1743673500.0 `1743674083.010141 1743673500.0 `1743674094.010137 1743673500.0 `1743674114.010138 1743673500.0 `1743674124.010135 1743673500.0 `1743674134.010137 1743673500.0 `1743674143.009129 1743673500.0 `1743674153.010145 1743673500.0 `1743674164.010151 1743673500.0 `1743674174.010143 1743673500.0 `1743674184.01014 1743673500.0 `1743674194.01014 1743673500.0 `1743674213.009131 1743673500.0 `1743674223.010157 1743673500.0 `1743674234.01014 1743673500.0 `1743674274.010136 1743673500.0 `1743674283.009129 1743673500.0 `1743674293.010136 1743673500.0 `1743674303.010137 1743673500.0 `1743674314.010144 1743673500.0 `1743674324.010139 1743673500.0 `1743674334.010138 1743673500.0 `1743674413.010198 1743674400.0 `1743674424.010144 1743674400.0 `1743674434.010138 1743674400.0 `1743674444.010138 1743674400.0 `1743674454.010139 1743674400.0 `1743674464.010154 1743674400.0 `1743674473.00913 1743674400.0 `1743674504.010135 1743674400.0 `1743674514.010137 1743674400.0 `1743674524.01014 1743674400.0 `1743674534.010136 1743674400.0 `1743674543.009126 1743674400.0 `1743674553.010136 1743674400.0 `1743674564.010139 1743674400.0 `1743674574.010141 1743674400.0 `1743674584.010142 1743674400.0 `1743674594.010137 1743674400.0 `1743674634.010136 1743674400.0 `1743674644.010163 1743674400.0 `1743674654.01014 1743674400.0 `1743674664.010137 1743674400.0 `1743674674.010143 1743674400.0 `1743674684.010145 1743674400.0 `1743674693.009128 1743674400.0 `1743674704.01015 1743674400.0 `1743674714.010143 1743674400.0 `1743674724.010142 1743674400.0 `1743674734.010137 1743674400.0 `1743674744.010136 1743674400.0 `1743674784.010135 1743674400.0 `1743674794.010146 1743674400.0 `1743674804.010136 1743674400.0 `1743674814.010136 1743674400.0 `1743674824.010164 1743674400.0 `1743674833.009127 1743674400.0 `1743674844.010143 1743674400.0 `1743674854.010136 1743674400.0 `1743674864.01014 1743674400.0 `1743674874.010141 1743674400.0 `1743674884.010166 1743674400.0 `1743674903.009123 1743674400.0 `1743674913.010136 1743674400.0 `1743674924.010135 1743674400.0 `1743674934.010139 1743674400.0 `1743674944.010153 1743674400.0 `1743674954.010137 1743674400.0 `1743674964.010138 1743674400.0 list printed: [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25], [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101], [102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175], [176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268], [269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338], [339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413], [414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486], [487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555], [556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.03633451461791992 ***** 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': '03042025', 'map_nb_amount': {0: 1, 1: 12, 2: 13, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 299.9999990463257, 'nb_balles_papier': 0.00026000000000000003, 'begin_time_port': 'image_03042025_10_09_54_010135m0.jpg 0.00011 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00026000000000000003 We reject this portfolio because of the condition_save_data : 2025-04-03 10:09:54.010135 result_one_balle_Type_JRM:{'day': '03042025', 'map_nb_amount': {0: 4, 1: 41, 2: 30, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999780654907, 'nb_balles_papier': 0.0007600000000000013, 'begin_time_port': 'image_03042025_10_15_04_010156m0.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.0007600000000000013 We reject this portfolio because of the condition_save_data : 2025-04-03 10:15:04.010156 result_one_balle_Type_JRM:{'day': '03042025', 'map_nb_amount': {0: 4, 1: 50, 2: 20, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999890327454, 'nb_balles_papier': 0.0007400000000000013, 'begin_time_port': 'image_03042025_10_30_04_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.0007400000000000013 We reject this portfolio because of the condition_save_data : 2025-04-03 10:30:04.010150 result_one_balle_Type_JRM:{'day': '03042025', 'map_nb_amount': {0: 3, 1: 67, 2: 23, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 891.0009980201721, 'nb_balles_papier': 0.0009300000000000018, 'begin_time_port': 'image_03042025_10_45_03_009141m0.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.0009300000000000018 We reject this portfolio because of the condition_save_data : 2025-04-03 10:45:03.009141 result_one_balle_Type_JRM:{'day': '03042025', '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': 868.9989891052246, 'nb_balles_papier': 0.0007000000000000012, 'begin_time_port': 'image_03042025_11_00_24_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.0007000000000000012 We reject this portfolio because of the condition_save_data : 2025-04-03 11:00:24.010135 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': '03042025', 'map_nb_amount': {0: 4, 1: 59, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.999981880188, 'nb_balles_papier': 0.0007000000000000012, 'begin_time_port': 'image_03042025_11_15_03_010154m0.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.0007000000000000012 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '03042025', 'map_nb_amount': {0: 5, 1: 43, 2: 9, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999849796295, 'nb_balles_papier': 0.0005700000000000008, 'begin_time_port': 'image_03042025_11_30_04_010151m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005700000000000008 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '03042025', 'map_nb_amount': {0: 2, 1: 55, 2: 1, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 831.0010061264038, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_03042025_11_45_03_009132m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005900000000000009 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '03042025', 'map_nb_amount': {0: 1, 1: 16, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 550.9999399185181, 'nb_balles_papier': 0.00018, 'begin_time_port': 'image_03042025_12_00_13_010198m0.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.00018 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! We need to add photos : {1349799554, 1349799490, 1349800070, 1349799657, 1349799690, 1349799662, 1349800187, 1349799600, 1349800113, 1349800146, 1349799668, 1349799607, 1349799674, 1349799611, 1349799517} Still a lot to verify ! Qualite : 0.05617433301188386 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`=22020684 AND mptpi.`type`=3726 To do Qualite : 0.05990675342103159 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`=22021391 AND mptpi.`type`=3726 To do Qualite : 0.0422311619037065 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`=22021881 AND mptpi.`type`=3726 To do Qualite : 0.03866383569642767 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`=22022395 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 1.1959805488586426 # DISPLAY ALL COLLECTED DATA : {'03042025': {'nb_upload': 603, 'nb_taggue_class': 2685, 'nb_taggue_densite': 2685}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1349800187, 1349800146, 1349800113, 1349800070, 1349799690, 1349799674, 1349799668, 1349799662, 1349799657, 1349799611, 1349799607, 1349799600, 1349799554, 1349799517, 1349799490, 1349799177, 1349799149, 1349799121, 1349799097, 1349798864, 1349798833, 1349798807, 1349798771, 1349798736, 1349798444, 1349798419, 1349798377, 1349798326, 1349798281, 1349798250, 1349797860, 1349797822, 1349797791, 1349797695, 1349797657, 1349797651, 1349797614, 1349797543, 1349797516, 1349797181, 1349797149, 1349797122, 1349797077, 1349796797, 1349796751, 1349796711, 1349796602, 1349796563, 1349796208, 1349796176, 1349796140, 1349796106, 1349796095, 1349796078, 1349795344, 1349795341, 1349795337, 1349795214, 1349795210, 1349795207, 1349795205, 1349795203, 1349795167, 1349795164, 1349795162, 1349795160, 1349795149, 1349795107, 1349795104, 1349795101, 1349795098, 1349795095, 1349795093, 1349795052, 1349795044, 1349795028, 1349795010, 1349794812, 1349794807, 1349794802, 1349794798, 1349794793, 1349794790, 1349794753, 1349794746, 1349794733, 1349794683, 1349794649, 1349794645, 1349794641, 1349794637, 1349794625, 1349794574, 1349794570, 1349794565, 1349794560, 1349794549, 1349794507, 1349794505, 1349794501] Looping around the photos to save general results len do output : 1 /21995993Didn'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, '2720564') ('4876', '21995993', '1349800187', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349800146', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349800113', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349800070', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799690', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799674', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799668', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799662', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799657', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799611', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799607', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799600', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799554', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799517', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799490', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799177', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799149', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799121', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349799097', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349798864', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349798833', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349798807', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349798771', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349798736', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349798444', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349798419', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349798377', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349798326', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349798281', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349798250', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797860', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797822', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797791', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797695', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797657', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797651', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797614', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797543', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797516', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797181', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797149', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797122', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349797077', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349796797', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349796751', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349796711', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349796602', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349796563', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349796208', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349796176', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349796140', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349796106', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349796095', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349796078', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795344', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795341', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795337', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795214', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795210', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795207', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795205', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795203', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795167', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795164', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795162', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795160', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795149', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795107', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795104', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795101', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795098', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795095', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795093', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795052', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795044', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795028', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349795010', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794812', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794807', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794802', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794798', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794793', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794790', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794753', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794746', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794733', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794683', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794649', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794645', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794641', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794637', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794625', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794574', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794570', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794565', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794560', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794549', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794507', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794505', None, None, None, None, None, '2720564') ('4876', None, None, None, None, None, None, None, '2720564') ('4876', '21995993', '1349794501', None, None, None, None, None, '2720564') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02875041961669922 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6775481700897217 time spend to save output : 0.029714584350585938 total time spend for step 1 : 1.7072627544403076 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.69user 0.61system 0:04.62elapsed 49%CPU (0avgtext+0avgdata 104376maxresident)k 384inputs+128outputs (0major+49908minor)pagefaults 0swaps