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 : 1749727 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 : 3464>1000 please execute split_portfolio.py -i 21247263 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2658877'] with mtr_portfolio_ids : ['21247263'] and first list_photo_ids : [] new path : /proc/1749727/ 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.03446507453918457 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue Mar 11 17:04:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 8), ('01', 48), ('02', 235), ('03', 249), ('04', 177), ('05', 244), ('06', 256), ('07', 258), ('08', 230), ('09', 116), ('10', 162), ('11', 225), ('12', 159), ('13', 261), ('14', 273), ('15', 296), ('16', 252), ('17', 15)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 3320} 11032025 21247263 Nombre de photos uploadées : 549 / 23040 (2%) 11032025 21247263 Nombre de photos taguées (types de déchets): 3320 / 549 (604%) 11032025 21247263 Nombre de photos taguées (volume) : 3320 / 549 (604%) elapsed_time : load_data_split_time_score 4.76837158203125e-06 elapsed_time : order_list_meta_photo_and_scores 0.001440286636352539 ???????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.02400040626525879 elapsed_time : insert_dashboard_record_day_entry 0.030341148376464844 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.02013707160949707 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03138995170593262 ***** BEGIN SPLIT TIME ***** True 1741651200.0 `1741701754.010135 1741701600.0 `1741701784.010147 1741701600.0 `1741701794.010135 1741701600.0 `1741701804.010137 1741701600.0 `1741701814.010136 1741701600.0 `1741701824.010142 1741701600.0 `1741701834.010135 1741701600.0 `1741701845.01015 1741701600.0 `1741701854.009127 1741701600.0 `1741701864.010135 1741701600.0 `1741701874.010135 1741701600.0 `1741701884.010133 1741701600.0 `1741701915.010134 1741701600.0 `1741701924.009123 1741701600.0 `1741701934.010136 1741701600.0 `1741701944.010135 1741701600.0 `1741701954.010143 1741701600.0 `1741701964.010144 1741701600.0 `1741701974.010135 1741701600.0 `1741701985.010135 1741701600.0 `1741701994.009125 1741701600.0 `1741702004.010132 1741701600.0 `1741702004.010132 1741701600.0 `1741702034.010134 1741701600.0 `1741702034.010134 1741701600.0 `1741702044.010133 1741701600.0 `1741702044.010133 1741701600.0 `1741702054.010135 1741701600.0 `1741702054.010135 1741701600.0 `1741702065.010138 1741701600.0 `1741702065.010138 1741701600.0 `1741702074.009126 1741701600.0 `1741702084.010157 1741701600.0 `1741702094.010137 1741701600.0 `1741702114.010135 1741701600.0 `1741702124.010136 1741701600.0 `1741702135.010135 1741701600.0 `1741702164.010135 1741701600.0 `1741702174.010133 1741701600.0 `1741702184.010135 1741701600.0 `1741702194.01014 1741701600.0 `1741702205.010139 1741701600.0 `1741702214.009128 1741701600.0 `1741702224.010139 1741701600.0 `1741702234.010136 1741701600.0 `1741702244.010138 1741701600.0 `1741702254.010138 1741701600.0 `1741702264.010158 1741701600.0 `1741702294.009123 1741701600.0 `1741702304.010136 1741701600.0 `1741702314.010141 1741701600.0 `1741702324.01015 1741701600.0 `1741702334.010137 1741701600.0 `1741702344.010137 1741701600.0 `1741702355.01008 1741701600.0 `1741702364.009128 1741701600.0 `1741702374.010136 1741701600.0 `1741702384.01015 1741701600.0 `1741702414.010137 1741701600.0 `1741702425.010134 1741701600.0 `1741702434.009131 1741701600.0 `1741702444.010167 1741701600.0 `1741702454.010137 1741701600.0 `1741702464.010136 1741701600.0 `1741702474.010134 1741701600.0 `1741702484.010136 1741701600.0 `1741702514.009124 1741702500.0 `1741702524.010134 1741702500.0 `1741702534.010133 1741702500.0 `1741702544.010136 1741702500.0 `1741702554.010142 1741702500.0 `1741702564.010163 1741702500.0 `1741702575.010137 1741702500.0 `1741702584.009126 1741702500.0 `1741702594.010136 1741702500.0 `1741702604.01014 1741702500.0 `1741702614.010139 1741702500.0 `1741702624.01016 1741702500.0 `1741702664.010134 1741702500.0 `1741702674.010138 1741702500.0 `1741702684.010145 1741702500.0 `1741702694.010136 1741702500.0 `1741702704.010136 1741702500.0 `1741702715.010144 1741702500.0 `1741702724.009129 1741702500.0 `1741702734.010139 1741702500.0 `1741702744.010153 1741702500.0 `1741702754.010135 1741702500.0 `1741702785.010134 1741702500.0 `1741702795.010134 1741702500.0 `1741702804.009133 1741702500.0 `1741702814.010138 1741702500.0 `1741702824.010136 1741702500.0 `1741702834.010136 1741702500.0 `1741702844.010136 1741702500.0 `1741702854.01016 1741702500.0 `1741702865.010157 1741702500.0 `1741702874.009128 1741702500.0 `1741702884.010135 1741702500.0 `1741702894.010134 1741702500.0 `1741702924.010155 1741702500.0 `1741702935.010135 1741702500.0 `1741702944.009125 1741702500.0 `1741702954.010136 1741702500.0 `1741702964.010139 1741702500.0 `1741702974.01014 1741702500.0 `1741702984.010154 1741702500.0 `1741702994.010136 1741702500.0 `1741703005.010136 1741702500.0 `1741703014.009123 1741702500.0 `1741703024.010136 1741702500.0 `1741703034.010138 1741702500.0 `1741703064.010133 1741702500.0 `1741703075.010133 1741702500.0 `1741703084.009124 1741702500.0 `1741703094.010139 1741702500.0 `1741703104.01016 1741702500.0 `1741703114.010138 1741702500.0 `1741703124.010143 1741702500.0 `1741703134.010138 1741702500.0 `1741703145.010139 1741702500.0 `1741703154.009127 1741702500.0 `1741703214.010134 1741702500.0 `1741703225.010173 1741702500.0 `1741703234.009125 1741702500.0 `1741703244.010147 1741702500.0 `1741703254.010136 1741702500.0 `1741703264.010141 1741702500.0 `1741703274.01014 1741702500.0 `1741703284.010136 1741702500.0 `1741703314.010133 1741702500.0 `1741703324.010134 1741702500.0 `1741703334.010137 1741702500.0 `1741703344.01014 1741702500.0 `1741703354.010136 1741702500.0 `1741703365.010135 1741702500.0 `1741703374.009125 1741702500.0 `1741703404.010157 1741703400.0 `1741703414.010137 1741703400.0 `1741703424.010135 1741703400.0 `1741703435.010168 1741703400.0 `1741703444.009127 1741703400.0 `1741703454.010139 1741703400.0 `1741703464.010152 1741703400.0 `1741703474.010134 1741703400.0 `1741703484.010144 1741703400.0 `1741703515.010136 1741703400.0 `1741703524.009143 1741703400.0 `1741703534.010138 1741703400.0 `1741703544.010137 1741703400.0 `1741703554.010135 1741703400.0 `1741703564.010135 1741703400.0 `1741703574.010137 1741703400.0 `1741703585.010155 1741703400.0 `1741703594.009125 1741703400.0 `1741703614.010136 1741703400.0 `1741703624.010137 1741703400.0 `1741703634.010137 1741703400.0 `1741703644.010143 1741703400.0 `1741703655.010142 1741703400.0 `1741703664.009133 1741703400.0 `1741703674.010142 1741703400.0 `1741703684.010143 1741703400.0 `1741703694.010145 1741703400.0 `1741703714.010136 1741703400.0 `1741703725.010136 1741703400.0 `1741703734.009128 1741703400.0 `1741703744.010138 1741703400.0 `1741703754.010139 1741703400.0 `1741703764.01014 1741703400.0 `1741703774.010138 1741703400.0 `1741703784.010135 1741703400.0 `1741703814.010135 1741703400.0 `1741703824.01022 1741703400.0 `1741703834.010139 1741703400.0 `1741703844.010136 1741703400.0 `1741703854.010144 1741703400.0 `1741703865.010139 1741703400.0 `1741703874.009127 1741703400.0 `1741703904.010135 1741703400.0 `1741703914.010136 1741703400.0 `1741703924.010136 1741703400.0 `1741703935.010135 1741703400.0 `1741703944.009143 1741703400.0 `1741703954.010134 1741703400.0 `1741703964.010142 1741703400.0 `1741703994.010135 1741703400.0 `1741704004.010153 1741703400.0 `1741704015.010139 1741703400.0 `1741704024.009126 1741703400.0 `1741704034.010136 1741703400.0 `1741704044.010135 1741703400.0 `1741704054.010138 1741703400.0 `1741704064.010148 1741703400.0 `1741704104.010133 1741703400.0 `1741704114.010133 1741703400.0 `1741704124.010166 1741703400.0 `1741704134.010141 1741703400.0 `1741704144.010137 1741703400.0 `1741704155.010142 1741703400.0 `1741704164.009134 1741703400.0 `1741704174.010138 1741703400.0 `1741704194.010137 1741703400.0 `1741704204.010136 1741703400.0 `1741704214.010136 1741703400.0 `1741704225.010138 1741703400.0 `1741704234.009131 1741703400.0 `1741704244.010143 1741703400.0 `1741704254.010144 1741703400.0 `1741704264.010138 1741703400.0 `1741704295.010137 1741703400.0 `1741704304.009142 1741704300.0 `1741704314.010138 1741704300.0 `1741704324.01015 1741704300.0 `1741704334.010139 1741704300.0 `1741704344.010141 1741704300.0 `1741704354.010137 1741704300.0 `1741704365.010147 1741704300.0 `1741704384.010134 1741704300.0 `1741704394.010133 1741704300.0 `1741704404.010134 1741704300.0 `1741704414.010134 1741704300.0 `1741704424.010154 1741704300.0 `1741704434.010144 1741704300.0 `1741704445.010136 1741704300.0 `1741704474.010139 1741704300.0 `1741704484.010158 1741704300.0 `1741704494.010137 1741704300.0 `1741704504.010136 1741704300.0 `1741704515.010136 1741704300.0 `1741704524.009129 1741704300.0 `1741704534.010136 1741704300.0 `1741704554.010136 1741704300.0 `1741704564.010137 1741704300.0 `1741704594.009128 1741704300.0 `1741704604.010145 1741704300.0 `1741704614.010136 1741704300.0 `1741704624.010137 1741704300.0 `1741704634.010135 1741704300.0 `1741704644.010137 1741704300.0 `1741704655.010135 1741704300.0 `1741704664.009141 1741704300.0 `1741704674.010136 1741704300.0 `1741704684.010135 1741704300.0 `1741704704.010134 1741704300.0 `1741704714.010136 1741704300.0 `1741704724.010159 1741704300.0 `1741704735.010137 1741704300.0 `1741704744.009127 1741704300.0 `1741704754.010137 1741704300.0 `1741704764.010139 1741704300.0 `1741704774.010139 1741704300.0 `1741704784.010178 1741704300.0 `1741704794.010136 1741704300.0 `1741704805.010135 1741704300.0 `1741704814.009125 1741704300.0 `1741704844.01014 1741704300.0 `1741704854.010141 1741704300.0 `1741704864.010139 1741704300.0 `1741704875.010142 1741704300.0 `1741704884.009127 1741704300.0 `1741704894.010141 1741704300.0 `1741704904.010161 1741704300.0 `1741704914.010137 1741704300.0 `1741704924.010137 1741704300.0 `1741704934.010135 1741704300.0 `1741704964.010147 1741704300.0 `1741704974.010135 1741704300.0 `1741704984.010135 1741704300.0 `1741704994.010137 1741704300.0 `1741705004.010135 1741704300.0 `1741705014.010136 1741704300.0 `1741705024.009138 1741704300.0 `1741705034.010135 1741704300.0 `1741705044.010134 1741704300.0 `1741705054.010135 1741704300.0 `1741705064.010134 1741704300.0 `1741705095.010136 1741704300.0 `1741705104.009123 1741704300.0 `1741705114.010136 1741704300.0 `1741705124.010139 1741704300.0 `1741705134.010137 1741704300.0 `1741705214.010194 1741705200.0 `1741705224.01014 1741705200.0 `1741705234.010135 1741705200.0 `1741705244.010137 1741705200.0 `1741705265.010156 1741705200.0 `1741705274.009127 1741705200.0 `1741705294.010138 1741705200.0 `1741705304.010137 1741705200.0 `1741705314.010145 1741705200.0 `1741705325.010143 1741705200.0 `1741705335.010136 1741705200.0 `1741705344.009124 1741705200.0 `1741705364.010136 1741705200.0 `1741705374.010138 1741705200.0 `1741705384.010152 1741705200.0 `1741705395.010135 1741705200.0 `1741705405.010134 1741705200.0 `1741705464.010132 1741705200.0 `1741705485.010137 1741705200.0 `1741705494.009125 1741705200.0 `1741705504.010153 1741705200.0 `1741705514.010139 1741705200.0 `1741705524.010135 1741705200.0 `1741705534.010134 1741705200.0 `1741705545.010137 1741705200.0 `1741705555.010138 1741705200.0 `1741705564.009136 1741705200.0 `1741705574.010135 1741705200.0 `1741705584.010134 1741705200.0 `1741705604.010135 1741705200.0 `1741705615.010134 1741705200.0 `1741705644.009123 1741705200.0 `1741705654.010133 1741705200.0 `1741705664.010134 1741705200.0 `1741705674.010135 1741705200.0 `1741705685.010163 1741705200.0 `1741705695.010138 1741705200.0 `1741705705.010135 1741705200.0 `1741705714.009128 1741705200.0 `1741705724.010137 1741705200.0 `1741705734.010142 1741705200.0 `1741705744.010152 1741705200.0 `1741705775.010134 1741705200.0 `1741705784.009125 1741705200.0 `1741705794.010134 1741705200.0 `1741705804.010148 1741705200.0 `1741705814.01014 1741705200.0 `1741705824.010137 1741705200.0 `1741705835.010137 1741705200.0 `1741705845.010141 1741705200.0 `1741705854.009127 1741705200.0 `1741705864.01015 1741705200.0 `1741705884.010133 1741705200.0 `1741705894.010133 1741705200.0 `1741705905.010134 1741705200.0 `1741705915.010135 1741705200.0 `1741705925.010153 1741705200.0 `1741705934.009127 1741705200.0 `1741705944.010137 1741705200.0 `1741705954.010136 1741705200.0 `1741705964.010138 1741705200.0 `1741705974.010137 1741705200.0 `1741706004.009123 1741705200.0 `1741706014.010132 1741705200.0 `1741706024.010138 1741705200.0 `1741706034.010137 1741705200.0 `1741706044.010175 1741705200.0 `1741706055.010137 1741705200.0 `1741706065.010136 1741705200.0 `1741706074.009127 1741705200.0 `1741706084.010136 1741705200.0 `1741706114.010132 1741706100.0 `1741706125.010134 1741706100.0 `1741706135.010134 1741706100.0 `1741706144.009128 1741706100.0 `1741706154.010144 1741706100.0 `1741706164.010137 1741706100.0 `1741706174.010139 1741706100.0 `1741706184.010135 1741706100.0 `1741706195.010136 1741706100.0 `1741706205.010134 1741706100.0 `1741706224.009141 1741706100.0 `1741706244.010136 1741706100.0 `1741706254.010135 1741706100.0 `1741706275.010139 1741706100.0 `1741706285.010147 1741706100.0 `1741706294.009128 1741706100.0 `1741706314.010138 1741706100.0 `1741706324.010137 1741706100.0 `1741706334.01014 1741706100.0 `1741706345.010154 1741706100.0 `1741706355.010138 1741706100.0 `1741706364.009126 1741706100.0 `1741706374.010136 1741706100.0 `1741706384.010138 1741706100.0 `1741706394.010136 1741706100.0 `1741706404.010149 1741706100.0 `1741706415.01014 1741706100.0 `1741706444.010133 1741706100.0 `1741706454.010133 1741706100.0 `1741706464.010159 1741706100.0 `1741706474.010135 1741706100.0 `1741706485.010135 1741706100.0 `1741706495.010134 1741706100.0 `1741706505.010136 1741706100.0 `1741706514.009125 1741706100.0 `1741706524.010152 1741706100.0 `1741706534.010135 1741706100.0 `1741706565.010135 1741706100.0 `1741706575.010134 1741706100.0 `1741706584.00914 1741706100.0 `1741706594.010138 1741706100.0 `1741706604.01014 1741706100.0 `1741706614.010134 1741706100.0 `1741706624.010139 1741706100.0 `1741706635.010137 1741706100.0 `1741706645.010157 1741706100.0 `1741706674.010138 1741706100.0 `1741706684.010133 1741706100.0 `1741706694.010138 1741706100.0 `1741706705.010152 1741706100.0 `1741706715.010134 1741706100.0 `1741706724.009125 1741706100.0 `1741706734.010137 1741706100.0 `1741706744.010134 1741706100.0 `1741706754.010133 1741706100.0 `1741706775.010137 1741706100.0 `1741706785.010133 1741706100.0 `1741706795.010134 1741706100.0 `1741706804.009127 1741706100.0 `1741706814.010137 1741706100.0 `1741706824.010147 1741706100.0 `1741706834.010135 1741706100.0 `1741706844.010136 1741706100.0 `1741706855.010134 1741706100.0 `1741706884.010138 1741706100.0 `1741706894.010134 1741706100.0 `1741706904.010135 1741706100.0 `1741706914.010133 1741706100.0 `1741706925.010134 1741706100.0 `1741706935.010136 1741706100.0 `1741706944.009127 1741706100.0 `1741706954.010135 1741706100.0 `1741706964.010141 1741706100.0 `1741706984.010136 1741706100.0 `1741706995.010137 1741706100.0 `1741707005.010145 1741707000.0 `1741707015.010134 1741707000.0 `1741707024.009123 1741707000.0 `1741707034.010134 1741707000.0 `1741707044.010135 1741707000.0 `1741707054.010137 1741707000.0 `1741707064.010149 1741707000.0 `1741707075.010134 1741707000.0 `1741707085.010146 1741707000.0 `1741707094.009122 1741707000.0 `1741707114.010135 1741707000.0 `1741707124.010158 1741707000.0 `1741707134.010138 1741707000.0 `1741707145.010136 1741707000.0 `1741707155.010137 1741707000.0 `1741707164.009127 1741707000.0 `1741707174.010133 1741707000.0 `1741707184.010158 1741707000.0 `1741707194.010137 1741707000.0 `1741707324.010142 1741707000.0 `1741707795.010138 1741707000.0 `1741707805.010136 1741707000.0 `1741707834.010136 1741707000.0 `1741707844.010139 1741707000.0 `1741707855.010136 1741707000.0 `1741707865.010135 1741707000.0 `1741707875.010138 1741707000.0 `1741707884.009126 1741707000.0 `1741707894.010137 1741707000.0 `1741707904.010151 1741707900.0 `1741707935.010141 1741707900.0 `1741707945.010136 1741707900.0 `1741707954.009128 1741707900.0 `1741707964.010144 1741707900.0 `1741707974.010142 1741707900.0 `1741707984.010135 1741707900.0 `1741707994.010135 1741707900.0 `1741708005.010135 1741707900.0 `1741708015.010136 1741707900.0 `1741708034.010136 1741707900.0 `1741708044.010133 1741707900.0 `1741708054.010134 1741707900.0 `1741708064.010134 1741707900.0 `1741708075.010136 1741707900.0 `1741708085.010146 1741707900.0 `1741708094.00913 1741707900.0 `1741708124.010134 1741707900.0 `1741708134.010135 1741707900.0 `1741708145.010142 1741707900.0 `1741708155.010136 1741707900.0 `1741708164.009124 1741707900.0 `1741708174.010143 1741707900.0 `1741708184.010139 1741707900.0 `1741708194.010139 1741707900.0 `1741708204.010158 1741707900.0 `1741708225.010134 1741707900.0 `1741708235.010134 1741707900.0 `1741708244.009125 1741707900.0 `1741708254.010137 1741707900.0 `1741708264.010152 1741707900.0 `1741708274.010136 1741707900.0 `1741708285.010135 1741707900.0 `1741708295.010135 1741707900.0 `1741708324.010144 1741707900.0 `1741708334.010144 1741707900.0 `1741708344.010136 1741707900.0 `1741708354.010136 1741707900.0 `1741708365.010138 1741707900.0 `1741708375.010141 1741707900.0 `1741708384.009163 1741707900.0 `1741708394.010138 1741707900.0 `1741708414.010134 1741707900.0 `1741708424.010133 1741707900.0 `1741708435.010136 1741707900.0 `1741708445.010139 1741707900.0 `1741708454.009126 1741707900.0 `1741708464.010136 1741707900.0 `1741708474.010135 1741707900.0 `1741708484.010136 1741707900.0 `1741708494.010132 1741707900.0 `1741708515.010135 1741707900.0 `1741708525.010137 1741707900.0 `1741708534.009128 1741707900.0 `1741708544.010139 1741707900.0 `1741708554.010138 1741707900.0 `1741708564.010149 1741707900.0 `1741708575.010137 1741707900.0 `1741708585.010137 1741707900.0 `1741708604.009128 1741707900.0 `1741708614.010139 1741707900.0 `1741708624.010151 1741707900.0 `1741708634.010136 1741707900.0 `1741708644.010137 1741707900.0 `1741708655.010135 1741707900.0 `1741708665.010136 1741707900.0 `1741708674.009127 1741707900.0 `1741708684.010147 1741707900.0 `1741708704.010137 1741707900.0 `1741708714.010135 1741707900.0 `1741708725.010137 1741707900.0 `1741708735.010137 1741707900.0 `1741708754.010997 1741707900.0 `1741708763.009131 1741707900.0 `1741708773.010137 1741707900.0 `1741708783.010142 1741707900.0 `1741708793.010133 1741707900.0 `1741708814.010134 1741708800.0 `1741708824.010134 1741708800.0 `1741708833.009124 1741708800.0 `1741708843.010138 1741708800.0 `1741708853.010141 1741708800.0 `1741708863.010136 1741708800.0 `1741708873.010137 1741708800.0 `1741708884.010138 1741708800.0 `1741708894.010137 1741708800.0 `1741708903.009126 1741708800.0 `1741708923.010149 1741708800.0 `1741708933.010136 1741708800.0 `1741708943.010133 1741708800.0 `1741708953.010134 1741708800.0 `1741708964.010137 1741708800.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.027667760848999023 ***** 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': '11032025', 'map_nb_amount': {0: 8, 1: 53, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 730.0000009536743, 'nb_balles_papier': 0.0006600000000000011, 'begin_time_port': 'image_11032025_15_02_34_010135m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0006600000000000011 We reject this portfolio because of the condition_save_data : 2025-03-11 15:02:34.010135 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '11032025', 'map_nb_amount': {0: 9, 1: 53, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 860.0000009536743, 'nb_balles_papier': 0.000640000000000001, 'begin_time_port': 'image_11032025_15_15_14_009124m0.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 We reject this portfolio because of the condition_save_data : 2025-03-11 15:15:14.009124 result_one_balle_Type_JRM:{'day': '11032025', 'map_nb_amount': {0: 12, 1: 52, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.9999799728394, 'nb_balles_papier': 0.0007400000000000013, 'begin_time_port': 'image_11032025_15_30_04_010157m0.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-03-11 15:30:04.010157 result_one_balle_Type_JRM:{'day': '11032025', 'map_nb_amount': {0: 12, 1: 48, 2: 11, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 830.0009951591492, 'nb_balles_papier': 0.0007100000000000012, 'begin_time_port': 'image_11032025_15_45_04_009142m0.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.0007100000000000012 We reject this portfolio because of the condition_save_data : 2025-03-11 15:45:04.009142 result_one_balle_Type_JRM:{'day': '11032025', 'map_nb_amount': {0: 8, 1: 60, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999418258667, 'nb_balles_papier': 0.0007100000000000012, 'begin_time_port': 'image_11032025_16_00_14_010194m0.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.0007100000000000012 We reject this portfolio because of the condition_save_data : 2025-03-11 16:00:14.010194 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '11032025', 'map_nb_amount': {0: 7, 1: 54, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 881.0000050067902, 'nb_balles_papier': 0.0007100000000000012, 'begin_time_port': 'image_11032025_16_15_14_010132m0.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.0007100000000000012 ERROR missing amount info result_one_balle_Type_JRM:{'day': '11032025', 'map_nb_amount': {0: 2, 1: 21, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9999921321869, 'nb_balles_papier': 0.0002800000000000001, 'begin_time_port': 'image_11032025_16_30_05_010145m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0002800000000000001 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '11032025', 'map_nb_amount': {0: 2, 1: 25, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9999821186066, 'nb_balles_papier': 0.0003200000000000002, 'begin_time_port': 'image_11032025_16_45_04_10151.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0003200000000000002 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '11032025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 150.00000309944153, 'nb_balles_papier': 0, 'begin_time_port': 'image_11032025_17_00_14_10134.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! Still a lot to verify ! We need to add photos : {1343112705, 1343112833, 1343112961, 1343113028, 1343112743, 1343112872, 1343113416, 1343113065, 1343113095, 1343113134, 1343112789} Still a lot to verify ! Still a lot to verify ! list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__11032025_17_00_14_010134&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 Qualite : 0.06787483491200408 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`=21295180 AND mptpi.`type`=3726 To do Qualite : 0.07193525091200008 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`=21296139 AND mptpi.`type`=3726 To do Qualite : 0.08603167195935375 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`=21296935 AND mptpi.`type`=3726 To do There was a bug due to new port without datou_current_id # 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`=21297690 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 10.202826499938965 # DISPLAY ALL COLLECTED DATA : {'11032025': {'nb_upload': 549, 'nb_taggue_class': 3320, 'nb_taggue_densite': 3320}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343115106, 1343115044, 1343114979, 1343114940, 1343114883, 1343114801, 1343114060, 1343114018, 1343113936, 1343113854, 1343113794, 1343113416, 1343113374, 1343113337, 1343113285, 1343113257, 1343113134, 1343113095, 1343113065, 1343113028, 1343112961, 1343112872, 1343112833, 1343112789, 1343112743, 1343112705, 1343112044, 1343112025, 1343111903, 1343111852, 1343111829, 1343111797, 1343111588, 1343111548, 1343111517, 1343111476, 1343111441, 1343111054, 1343111013, 1343110972, 1343110941, 1343110896, 1343110736, 1343110714, 1343110679, 1343110664, 1343110661, 1343110658, 1343110623, 1343110619, 1343110617, 1343110615, 1343110607, 1343110588, 1343110581, 1343110575, 1343110569, 1343110565, 1343110561, 1343110495, 1343110477, 1343110459, 1343110447, 1343110362, 1343110318, 1343110257, 1343110231, 1343110206, 1343110072, 1343110059, 1343110055, 1343110047, 1343110018, 1343110015, 1343109953, 1343109928, 1343109899, 1343109868, 1343109647, 1343109622, 1343109581, 1343109566, 1343109537, 1343109372, 1343109346, 1343109331, 1343109291, 1343109214, 1343109125, 1343108711, 1343108622, 1343108511, 1343108446, 1343108204, 1343108192, 1343108173, 1343108151, 1343108120, 1343107786, 1343107368] Looping around the photos to save general results len do output : 1 /21247263Didn'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, '2658877') ('4876', '21247263', '1343115106', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343115044', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343114979', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343114940', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343114883', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343114801', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343114060', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343114018', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113936', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113854', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113794', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113416', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113374', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113337', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113285', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113257', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113134', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113095', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113065', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343113028', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343112961', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343112872', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343112833', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343112789', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343112743', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343112705', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343112044', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343112025', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343111903', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343111852', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343111829', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343111797', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343111588', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343111548', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343111517', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343111476', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343111441', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343111054', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343111013', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110972', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110941', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110896', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110736', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110714', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110679', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110664', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110661', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110658', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110623', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110619', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110617', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110615', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110607', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110588', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110581', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110575', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110569', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110565', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110561', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110495', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110477', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110459', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110447', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110362', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110318', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110257', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110231', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110206', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110072', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110059', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110055', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110047', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110018', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343110015', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109953', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109928', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109899', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109868', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109647', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109622', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109581', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109566', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109537', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109372', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109346', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109331', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109291', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109214', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343109125', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343108711', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343108622', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343108511', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343108446', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343108204', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343108192', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343108173', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343108151', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343108120', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343107786', None, None, None, None, None, '2658877') ('4876', None, None, None, None, None, None, None, '2658877') ('4876', '21247263', '1343107368', None, None, None, None, None, '2658877') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 1.777752161026001 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.750768899917603 time spend to save output : 1.77866530418396 total time spend for step 1 : 12.529434204101562 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.26user 0.70system 0:19.93elapsed 9%CPU (0avgtext+0avgdata 107528maxresident)k 32inputs+160outputs (1major+50204minor)pagefaults 0swaps