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 : 1157868 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 : 4150>1000 please execute split_portfolio.py -i 21403117 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2670630'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/1157868/ 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.04602456092834473 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Mar 14 19:54:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 11), ('01', 4), ('02', 12), ('03', 7), ('04', 8), ('05', 264), ('06', 372), ('07', 309), ('08', 354), ('09', 175), ('10', 334), ('11', 269), ('12', 189), ('13', 252), ('14', 295), ('15', 300), ('16', 296), ('17', 152), ('18', 284), ('19', 263)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 3932, 2: 2} 14032025 21403117 Nombre de photos uploadées : 550 / 23040 (2%) 14032025 21403117 Nombre de photos taguées (types de déchets): 3934 / 550 (715%) 14032025 21403117 Nombre de photos taguées (volume) : 3934 / 550 (715%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0013210773468017578 ??????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.025700807571411133 elapsed_time : insert_dashboard_record_day_entry 0.02597784996032715 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.019155263900756836 photos_removed : len 0 elapsed_time : load_duplicate_info 0.02853679656982422 ***** BEGIN SPLIT TIME ***** True 1741910400.0 `1741970094.010139 1741969800.0 `1741971184.009141 1741970700.0 `1741971334.010146 1741970700.0 `1741971683.009134 1741971600.0 `1741971693.010145 1741971600.0 `1741971704.010145 1741971600.0 `1741971714.010136 1741971600.0 `1741971724.010154 1741971600.0 `1741971734.010141 1741971600.0 `1741971744.010136 1741971600.0 `1741971753.009126 1741971600.0 `1741971763.010134 1741971600.0 `1741971774.010135 1741971600.0 `1741971784.010153 1741971600.0 `1741971794.010135 1741971600.0 `1741971804.010136 1741971600.0 `1741971814.010137 1741971600.0 `1741971833.009129 1741971600.0 `1741971844.010137 1741971600.0 `1741971854.010134 1741971600.0 `1741971864.010136 1741971600.0 `1741971874.010135 1741971600.0 `1741971884.010137 1741971600.0 `1741971894.010136 1741971600.0 `1741971903.009143 1741971600.0 `1741971944.010135 1741971600.0 `1741971954.010136 1741971600.0 `1741971964.010166 1741971600.0 `1741971973.009126 1741971600.0 `1741971983.010136 1741971600.0 `1741971994.010141 1741971600.0 `1741972004.010144 1741971600.0 `1741972014.010138 1741971600.0 `1741972034.010138 1741971600.0 `1741972053.010139 1741971600.0 `1741972064.010135 1741971600.0 `1741972094.010139 1741971600.0 `1741972104.010135 1741971600.0 `1741972114.010134 1741971600.0 `1741972134.010138 1741971600.0 `1741972144.010148 1741971600.0 `1741972154.010137 1741971600.0 `1741972164.01014 1741971600.0 `1741972174.01014 1741971600.0 `1741972184.010143 1741971600.0 `1741972193.009128 1741971600.0 `1741972204.010152 1741971600.0 `1741972214.010135 1741971600.0 `1741972224.010134 1741971600.0 `1741972254.010134 1741971600.0 `1741972263.009131 1741971600.0 `1741972274.010135 1741971600.0 `1741972284.010136 1741971600.0 `1741972294.010136 1741971600.0 `1741972304.010139 1741971600.0 `1741972314.010138 1741971600.0 `1741972324.010143 1741971600.0 `1741972333.009131 1741971600.0 `1741972344.010137 1741971600.0 `1741972354.010138 1741971600.0 `1741972364.010139 1741971600.0 `1741972374.010137 1741971600.0 `1741972403.009125 1741971600.0 `1741972414.010135 1741971600.0 `1741972424.010138 1741971600.0 `1741972434.010138 1741971600.0 `1741972444.010147 1741971600.0 `1741972454.010138 1741971600.0 `1741972464.010137 1741971600.0 `1741972473.009127 1741971600.0 `1741972483.010139 1741971600.0 `1741972494.010137 1741971600.0 `1741972504.01015 1741972500.0 `1741972543.009126 1741972500.0 `1741972553.010141 1741972500.0 `1741972574.010139 1741972500.0 `1741972584.010137 1741972500.0 `1741972594.010137 1741972500.0 `1741972604.01014 1741972500.0 `1741972614.010137 1741972500.0 `1741972623.009141 1741972500.0 `1741972634.010136 1741972500.0 `1741972644.010137 1741972500.0 `1741972654.010134 1741972500.0 `1741972684.01016 1741972500.0 `1741972693.009127 1741972500.0 `1741972704.010135 1741972500.0 `1741972714.010142 1741972500.0 `1741972724.010142 1741972500.0 `1741972734.010139 1741972500.0 `1741972744.010151 1741972500.0 `1741972754.01014 1741972500.0 `1741972763.009125 1741972500.0 `1741972774.010138 1741972500.0 `1741972784.010138 1741972500.0 `1741972794.010136 1741972500.0 `1741972814.010133 1741972500.0 `1741972824.010133 1741972500.0 `1741972833.009125 1741972500.0 `1741972843.010136 1741972500.0 `1741972854.010137 1741972500.0 `1741972864.010145 1741972500.0 `1741972874.010137 1741972500.0 `1741972884.010142 1741972500.0 `1741972894.010135 1741972500.0 `1741972903.009126 1741972500.0 `1741972934.010137 1741972500.0 `1741972944.010133 1741972500.0 `1741972954.010134 1741972500.0 `1741972964.010139 1741972500.0 `1741972974.01014 1741972500.0 `1741972983.009141 1741972500.0 `1741972994.01014 1741972500.0 `1741973004.010149 1741972500.0 `1741973014.010137 1741972500.0 `1741973024.010139 1741972500.0 `1741973034.010136 1741972500.0 `1741973044.010151 1741972500.0 `1741973074.010134 1741972500.0 `1741973084.010139 1741972500.0 `1741973094.010137 1741972500.0 `1741973104.010158 1741972500.0 `1741973114.010137 1741972500.0 `1741973123.009127 1741972500.0 `1741973134.010147 1741972500.0 `1741973144.010141 1741972500.0 `1741973154.010136 1741972500.0 `1741973164.010182 1741972500.0 `1741973174.010139 1741972500.0 `1741973203.010133 1741972500.0 `1741973214.010141 1741972500.0 `1741973224.010144 1741972500.0 `1741973234.010138 1741972500.0 `1741973244.010143 1741972500.0 `1741973254.010136 1741972500.0 `1741973263.009127 1741972500.0 `1741973273.010137 1741972500.0 `1741973284.010151 1741972500.0 `1741973294.010142 1741972500.0 `1741973304.010135 1741972500.0 `1741973314.010135 1741972500.0 `1741973324.009503 1741972500.0 `1741973364.010134 1741972500.0 `1741973373.009123 1741972500.0 `1741973383.010139 1741972500.0 `1741973394.010134 1741972500.0 `1741973404.010145 1741973400.0 `1741973414.010137 1741973400.0 `1741973434.010141 1741973400.0 `1741973444.010139 1741973400.0 `1741973453.009127 1741973400.0 `1741973474.010138 1741973400.0 `1741973484.010143 1741973400.0 `1741973504.010142 1741973400.0 `1741973624.010138 1741973400.0 `1741973654.01014 1741973400.0 `1741973663.009129 1741973400.0 `1741973674.01014 1741973400.0 `1741973694.010139 1741973400.0 `1741973704.010153 1741973400.0 `1741973714.010138 1741973400.0 `1741973724.010137 1741973400.0 `1741973733.009128 1741973400.0 `1741973744.010142 1741973400.0 `1741973754.010138 1741973400.0 `1741973764.010144 1741973400.0 `1741973784.010138 1741973400.0 `1741973794.010137 1741973400.0 `1741973803.009126 1741973400.0 `1741973813.010136 1741973400.0 `1741973824.010145 1741973400.0 `1741973834.010135 1741973400.0 `1741973844.010133 1741973400.0 `1741973864.010136 1741973400.0 `1741973874.010135 1741973400.0 `1741973883.009138 1741973400.0 `1741973894.010138 1741973400.0 `1741973904.010137 1741973400.0 `1741973914.010137 1741973400.0 `1741973924.010137 1741973400.0 `1741973934.010141 1741973400.0 `1741973944.010161 1741973400.0 `1741973953.009128 1741973400.0 `1741973964.010143 1741973400.0 `1741973974.010135 1741973400.0 `1741973984.010134 1741973400.0 `1741974004.010156 1741973400.0 `1741974014.010133 1741973400.0 `1741974023.009124 1741973400.0 `1741974034.010138 1741973400.0 `1741974044.010135 1741973400.0 `1741974054.010138 1741973400.0 `1741974064.010164 1741973400.0 `1741974074.010137 1741973400.0 `1741974084.010138 1741973400.0 `1741974093.009127 1741973400.0 `1741974104.010138 1741973400.0 `1741974114.010146 1741973400.0 `1741974144.010134 1741973400.0 `1741974154.010134 1741973400.0 `1741974163.009133 1741973400.0 `1741974173.010138 1741973400.0 `1741974184.010139 1741973400.0 `1741974194.010137 1741973400.0 `1741974204.010138 1741973400.0 `1741974214.010138 1741973400.0 `1741974224.010139 1741973400.0 `1741974233.009128 1741973400.0 `1741974243.010154 1741973400.0 `1741974254.010142 1741973400.0 `1741974284.010142 1741973400.0 `1741974294.010137 1741973400.0 `1741974303.009151 1741974300.0 `1741974313.010144 1741974300.0 `1741974324.010146 1741974300.0 `1741974334.010144 1741974300.0 `1741974344.010143 1741974300.0 `1741974354.010141 1741974300.0 `1741974364.010146 1741974300.0 `1741974373.009129 1741974300.0 `1741974383.010141 1741974300.0 `1741974394.010135 1741974300.0 `1741974424.010137 1741974300.0 `1741974434.010135 1741974300.0 `1741974444.010143 1741974300.0 `1741974453.009127 1741974300.0 `1741974464.010137 1741974300.0 `1741974474.010138 1741974300.0 `1741974484.010148 1741974300.0 `1741974494.01014 1741974300.0 `1741974514.010137 1741974300.0 `1741974523.009127 1741974300.0 `1741974534.010144 1741974300.0 `1741974544.010151 1741974300.0 `1741974574.010134 1741974300.0 `1741974584.010135 1741974300.0 `1741974593.009126 1741974300.0 `1741974603.010154 1741974300.0 `1741974614.010143 1741974300.0 `1741974624.010137 1741974300.0 `1741974634.01014 1741974300.0 `1741974644.010138 1741974300.0 `1741974654.010137 1741974300.0 `1741974663.009146 1741974300.0 `1741974673.010142 1741974300.0 `1741974684.010138 1741974300.0 `1741974714.010139 1741974300.0 `1741974724.010138 1741974300.0 `1741974734.010136 1741974300.0 `1741974743.009126 1741974300.0 `1741974754.01014 1741974300.0 `1741974764.010141 1741974300.0 `1741974774.010138 1741974300.0 `1741974784.010139 1741974300.0 `1741974794.01014 1741974300.0 `1741974804.010137 1741974300.0 `1741974813.00913 1741974300.0 `1741974824.010137 1741974300.0 `1741974854.01014 1741974300.0 `1741974864.010136 1741974300.0 `1741974874.010136 1741974300.0 `1741974883.009131 1741974300.0 `1741974894.010142 1741974300.0 `1741974904.010167 1741974300.0 `1741974914.010144 1741974300.0 `1741974924.010148 1741974300.0 `1741974934.010138 1741974300.0 `1741974944.01014 1741974300.0 `1741974953.00913 1741974300.0 `1741974964.010145 1741974300.0 `1741974994.010133 1741974300.0 `1741975004.010133 1741974300.0 `1741975014.010145 1741974300.0 `1741975023.00913 1741974300.0 `1741975033.010139 1741974300.0 `1741975044.010139 1741974300.0 `1741975054.010145 1741974300.0 `1741975064.010141 1741974300.0 `1741975074.010137 1741974300.0 `1741975084.010152 1741974300.0 `1741975093.009125 1741974300.0 `1741975134.010136 1741974300.0 `1741975154.010334 1741974300.0 `1741975164.010147 1741974300.0 `1741975174.010139 1741974300.0 `1741975184.010137 1741974300.0 `1741975194.010137 1741974300.0 `1741975203.009129 1741975200.0 `1741975213.010141 1741975200.0 `1741975224.010138 1741975200.0 `1741975234.010139 1741975200.0 `1741975264.010151 1741975200.0 `1741975274.010133 1741975200.0 `1741975283.009131 1741975200.0 `1741975294.010142 1741975200.0 `1741975304.010139 1741975200.0 `1741975314.010136 1741975200.0 `1741975324.01015 1741975200.0 `1741975334.010137 1741975200.0 `1741975344.010136 1741975200.0 `1741975353.009125 1741975200.0 `1741975364.010139 1741975200.0 `1741975374.010136 1741975200.0 `1741975414.010135 1741975200.0 `1741975423.009123 1741975200.0 `1741975434.010139 1741975200.0 `1741975444.010143 1741975200.0 `1741975454.010135 1741975200.0 `1741975464.01014 1741975200.0 `1741975474.010147 1741975200.0 `1741975484.010139 1741975200.0 `1741975493.009127 1741975200.0 `1741975503.010142 1741975200.0 `1741975514.010138 1741975200.0 `1741975524.010135 1741975200.0 `1741975534.010136 1741975200.0 `1741975564.010143 1741975200.0 `1741975574.009237 1741975200.0 `1741975584.010136 1741975200.0 `1741975594.010268 1741975200.0 `1741975604.01014 1741975200.0 `1741975614.010138 1741975200.0 `1741975623.009143 1741975200.0 `1741975634.01014 1741975200.0 `1741975644.010141 1741975200.0 `1741975654.010135 1741975200.0 `1741975664.010136 1741975200.0 `1741975674.010142 1741975200.0 `1741975684.010141 1741975200.0 `1741975714.010132 1741975200.0 `1741975724.010132 1741975200.0 `1741975734.010136 1741975200.0 `1741975744.010142 1741975200.0 `1741975754.010136 1741975200.0 `1741975764.010137 1741975200.0 `1741975773.009134 1741975200.0 `1741975784.010151 1741975200.0 `1741975794.010141 1741975200.0 `1741975804.010158 1741975200.0 `1741975814.010135 1741975200.0 `1741975824.010136 1741975200.0 `1741975854.010137 1741975200.0 `1741975864.01014 1741975200.0 `1741975874.010136 1741975200.0 `1741975884.010136 1741975200.0 `1741975894.01014 1741975200.0 `1741975904.010139 1741975200.0 `1741975913.009131 1741975200.0 `1741975924.010146 1741975200.0 `1741975934.010134 1741975200.0 `1741975944.010136 1741975200.0 `1741975954.010135 1741975200.0 `1741975964.010137 1741975200.0 `1741975983.009146 1741975200.0 `1741975993.010138 1741975200.0 `1741976004.01014 1741975200.0 `1741976014.010135 1741975200.0 `1741976024.010138 1741975200.0 `1741976034.010141 1741975200.0 `1741976044.01015 1741975200.0 `1741976053.009124 1741975200.0 `1741976063.010137 1741975200.0 `1741976074.010134 1741975200.0 `1741976084.010138 1741975200.0 `1741976094.010144 1741975200.0 `1741976123.009159 1741976100.0 `1741976133.010143 1741976100.0 `1741976144.010144 1741976100.0 `1741976154.010137 1741976100.0 `1741976164.010143 1741976100.0 `1741976174.01014 1741976100.0 `1741976184.010137 1741976100.0 `1741976194.010156 1741976100.0 `1741976203.009126 1741976100.0 `1741976234.010135 1741976100.0 `1741976244.010133 1741976100.0 `1741976254.010137 1741976100.0 `1741976264.010138 1741976100.0 `1741976273.009127 1741976100.0 `1741976284.010151 1741976100.0 `1741976294.010136 1741976100.0 `1741976304.010134 1741976100.0 `1741976314.010134 1741976100.0 `1741976324.010139 1741976100.0 `1741976354.010138 1741976100.0 `1741976364.010134 1741976100.0 `1741976374.010133 1741976100.0 `1741976384.010138 1741976100.0 `1741976394.010138 1741976100.0 `1741976404.010169 1741976100.0 `1741976413.009125 1741976100.0 `1741976423.010135 1741976100.0 `1741976444.010138 1741976100.0 `1741976454.010136 1741976100.0 `1741976493.009123 1741976100.0 `1741976504.010136 1741976100.0 `1741976514.010138 1741976100.0 `1741976524.010164 1741976100.0 `1741976534.010143 1741976100.0 `1741976544.010136 1741976100.0 `1741976554.010138 1741976100.0 `1741976563.009133 1741976100.0 `1741976574.010134 1741976100.0 `1741976594.010135 1741976100.0 `1741976604.010134 1741976100.0 `1741976614.010136 1741976100.0 `1741976624.010139 1741976100.0 `1741976633.009128 1741976100.0 `1741976644.010143 1741976100.0 `1741976654.010135 1741976100.0 `1741976664.010136 1741976100.0 `1741976674.010136 1741976100.0 `1741976684.010136 1741976100.0 `1741976713.010133 1741976100.0 `1741976724.010134 1741976100.0 `1741976734.010136 1741976100.0 `1741976744.010135 1741976100.0 `1741976754.010137 1741976100.0 `1741976764.010155 1741976100.0 `1741976774.010136 1741976100.0 `1741976783.009125 1741976100.0 `1741976804.010132 1741976100.0 `1741976814.010133 1741976100.0 `1741976824.01015 1741976100.0 `1741976834.010134 1741976100.0 `1741976844.010137 1741976100.0 `1741976853.009125 1741976100.0 `1741976864.010138 1741976100.0 `1741976874.010146 1741976100.0 `1741976884.010147 1741976100.0 `1741976894.010139 1741976100.0 `1741976904.010134 1741976100.0 `1741976933.010136 1741976100.0 `1741976944.010161 1741976100.0 `1741976954.01014 1741976100.0 `1741976964.010142 1741976100.0 `1741976974.01014 1741976100.0 `1741976984.010142 1741976100.0 `1741976993.00913 1741976100.0 `1741977003.010149 1741977000.0 `1741977014.01014 1741977000.0 `1741977024.010134 1741977000.0 `1741977054.010135 1741977000.0 `1741977063.009151 1741977000.0 `1741977073.010137 1741977000.0 `1741977084.010136 1741977000.0 `1741977094.010136 1741977000.0 `1741977104.010139 1741977000.0 `1741977114.010139 1741977000.0 `1741977124.01015 1741977000.0 `1741977134.010137 1741977000.0 `1741977143.009125 1741977000.0 `1741977174.010137 1741977000.0 `1741977184.010151 1741977000.0 `1741977194.010136 1741977000.0 `1741977204.010137 1741977000.0 `1741977213.009127 1741977000.0 `1741977224.010139 1741977000.0 `1741977234.010139 1741977000.0 `1741977244.010146 1741977000.0 `1741977254.01014 1741977000.0 `1741977264.010139 1741977000.0 `1741977274.010146 1741977000.0 `1741977283.009129 1741977000.0 `1741977294.010139 1741977000.0 `1741977324.010143 1741977000.0 `1741977334.010138 1741977000.0 `1741977344.010137 1741977000.0 `1741977353.009127 1741977000.0 `1741977364.010163 1741977000.0 `1741977374.010141 1741977000.0 `1741977384.010135 1741977000.0 `1741977394.010136 1741977000.0 `1741977404.010137 1741977000.0 `1741977414.010139 1741977000.0 `1741977433.010137 1741977000.0 `1741977444.01014 1741977000.0 `1741977454.010133 1741977000.0 `1741977464.010135 1741977000.0 `1741977474.01014 1741977000.0 `1741977484.010147 1741977000.0 `1741977494.010136 1741977000.0 `1741977503.009125 1741977000.0 `1741977514.010137 1741977000.0 `1741977524.010135 1741977000.0 `1741977534.010136 1741977000.0 `1741977564.010134 1741977000.0 `1741977573.009123 1741977000.0 `1741977584.010135 1741977000.0 `1741977594.01014 1741977000.0 `1741977604.010199 1741977000.0 `1741977614.010135 1741977000.0 `1741977624.010136 1741977000.0 `1741977634.010135 1741977000.0 `1741977643.009128 1741977000.0 `1741977654.010137 1741977000.0 `1741977684.010134 1741977000.0 `1741977694.010134 1741977000.0 `1741977704.010137 1741977000.0 `1741977713.009135 1741977000.0 `1741977724.010155 1741977000.0 `1741977734.010138 1741977000.0 `1741977744.010136 1741977000.0 `1741977754.010143 1741977000.0 `1741977764.010141 1741977000.0 `1741977774.010135 1741977000.0 `1741977783.00914 1741977000.0 `1741977804.01014 1741977000.0 `1741977814.010133 1741977000.0 `1741977824.010136 1741977000.0 `1741977834.010139 1741977000.0 `1741977844.010153 1741977000.0 `1741977853.009128 1741977000.0 `1741977863.010141 1741977000.0 `1741977874.010139 1741977000.0 `1741977884.010139 1741977000.0 `1741977914.010141 1741977900.0 `1741977923.009132 1741977900.0 `1741977933.01014 1741977900.0 `1741977944.010137 1741977900.0 `1741977954.010139 1741977900.0 `1741977964.010138 1741977900.0 `1741977974.010135 1741977900.0 `1741977984.010135 1741977900.0 `1741977994.010136 1741977900.0 `1741978003.009122 1741977900.0 `1741978034.010135 1741977900.0 `1741978044.010134 1741977900.0 `1741978054.010138 1741977900.0 `1741978064.010137 1741977900.0 `1741978073.009128 1741977900.0 `1741978084.010149 1741977900.0 `1741978094.01014 1741977900.0 `1741978104.010136 1741977900.0 `1741978114.010137 1741977900.0 `1741978124.010137 1741977900.0 `1741978134.010138 1741977900.0 `1741978143.009139 1741977900.0 `1741978174.010135 1741977900.0 `1741978184.010135 1741977900.0 `1741978194.010139 1741977900.0 `1741978204.010147 1741977900.0 `1741978213.009128 1741977900.0 `1741978223.010137 1741977900.0 `1741978234.010137 1741977900.0 `1741978244.010137 1741977900.0 `1741978254.010136 1741977900.0 `1741978264.010153 1741977900.0 `1741978293.009122 1741977900.0 `1741978304.010135 1741977900.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.02417612075805664 ***** END SPLIT TIME ***** NUMBER BATCH : 10 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': '14032025', 'map_nb_amount': {0: 9, 1: 55, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 811.0010030269623, 'nb_balles_papier': 0.0006900000000000012, 'begin_time_port': 'image_14032025_18_01_23_009134m0.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.0006900000000000012 We reject this portfolio because of the condition_save_data : 2025-03-14 18:01:23.009134 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 20, 1: 50, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999840259552, 'nb_balles_papier': 0.0007400000000000013, 'begin_time_port': 'image_14032025_18_15_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-03-14 18:15:04.010150 ERROR missing amount info result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 9, 1: 52, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999921321869, 'nb_balles_papier': 0.0006500000000000011, 'begin_time_port': 'image_14032025_18_30_04_010145m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0006500000000000011 We reject this portfolio because of the condition_save_data : 2025-03-14 18:30:04.010145 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 8, 1: 66, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 891.0009860992432, 'nb_balles_papier': 0.0007500000000000013, 'begin_time_port': 'image_14032025_18_45_03_009151m0.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.0007500000000000013 We reject this portfolio because of the condition_save_data : 2025-03-14 18:45:03.009151 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '14032025', 'map_nb_amount': {0: 11, 1: 53, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 891.0010149478912, 'nb_balles_papier': 0.0006600000000000011, 'begin_time_port': 'image_14032025_19_00_03_009129m0.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.0006600000000000011 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '14032025', 'map_nb_amount': {0: 9, 1: 32, 2: 8, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999709129333, 'nb_balles_papier': 0.0004900000000000006, 'begin_time_port': 'image_14032025_19_15_23_009159m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004900000000000006 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 6, 1: 43, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.9999899864197, 'nb_balles_papier': 0.0005100000000000007, 'begin_time_port': 'image_14032025_19_30_03_010149m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005100000000000007 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '14032025', 'map_nb_amount': {0: 1, 1: 7, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 389.9999940395355, 'nb_balles_papier': 0.0001, 'begin_time_port': 'image_14032025_19_45_14_10141.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0001 We have rejected 3 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! {21446087: [{'mtr_photo_id': 1344253348, 'mtr_portfolio_id': 21446087, 'datou_current_id': 2670525}, We expect two at most portfolio with same photos and datou_carac_id : 2 Still a lot to verify ! Still a lot to verify ! We need to add photos : {1344260596, 1344260612, 1344260676, 1344260647} Still a lot to verify ! Qualite : 0.05551348109775885 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`=21444770 AND mptpi.`type`=3726 To do Qualite : 0.06764384730420432 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`=21446087 AND mptpi.`type`=3726 To do Qualite : 0.06295654498260997 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`=21446965 AND mptpi.`type`=3726 To do Qualite : 0.05123850624889815 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`=21447649 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.6662368774414062 # DISPLAY ALL COLLECTED DATA : {'14032025': {'nb_upload': 550, 'nb_taggue_class': 3934, 'nb_taggue_densite': 3934}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1344260676, 1344260647, 1344260612, 1344260596, 1344260428, 1344260414, 1344260393, 1344260382, 1344260361, 1344260338, 1344260159, 1344260154, 1344260139, 1344260133, 1344260078, 1344260075, 1344260071, 1344260067, 1344260060, 1344260051, 1344260019, 1344260006, 1344259996, 1344259994, 1344259987, 1344259719, 1344259717, 1344259711, 1344259700, 1344259671, 1344259423, 1344259398, 1344259345, 1344259333, 1344259324, 1344259152, 1344259149, 1344259083, 1344259058, 1344259039, 1344258942, 1344258911, 1344258880, 1344258852, 1344258794, 1344258506, 1344258457, 1344258396, 1344258332, 1344258264, 1344258179, 1344258012, 1344258007, 1344257996, 1344257987, 1344257857, 1344257830, 1344257812, 1344257747, 1344257722, 1344257694, 1344257433, 1344257407, 1344257367, 1344257353, 1344257078, 1344257003, 1344256998, 1344256962, 1344256912, 1344256869, 1344256482, 1344256474, 1344256451, 1344256442, 1344256436, 1344256147, 1344256115, 1344256050, 1344256021, 1344255972, 1344255929, 1344255733, 1344255677, 1344255637, 1344255574, 1344255255, 1344255219, 1344255173, 1344255118, 1344255058, 1344255002, 1344254780, 1344254736, 1344254685, 1344254635, 1344254596, 1344254497, 1344254272, 1344254221] Looping around the photos to save general results len do output : 1 /21403117Didn'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, '2670630') ('4876', '21403117', '1344260676', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260647', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260612', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260596', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260428', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260414', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260393', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260382', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260361', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260338', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260159', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260154', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260139', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260133', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260078', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260075', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260071', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260067', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260060', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260051', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260019', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344260006', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259996', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259994', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259987', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259719', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259717', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259711', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259700', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259671', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259423', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259398', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259345', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259333', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259324', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259152', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259149', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259083', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259058', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344259039', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258942', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258911', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258880', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258852', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258794', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258506', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258457', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258396', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258332', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258264', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258179', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258012', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344258007', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257996', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257987', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257857', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257830', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257812', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257747', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257722', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257694', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257433', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257407', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257367', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257353', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257078', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344257003', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256998', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256962', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256912', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256869', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256482', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256474', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256451', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256442', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256436', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256147', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256115', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256050', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344256021', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255972', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255929', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255733', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255677', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255637', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255574', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255255', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255219', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255173', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255118', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255058', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344255002', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344254780', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344254736', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344254685', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344254635', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344254596', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344254497', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344254272', None, None, None, None, None, '2670630') ('4876', None, None, None, None, None, None, None, '2670630') ('4876', '21403117', '1344254221', None, None, None, None, None, '2670630') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02785944938659668 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.1881914138793945 time spend to save output : 0.028664827346801758 total time spend for step 1 : 1.2168562412261963 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment 1.30user 0.86system 0:04.01elapsed 54%CPU (0avgtext+0avgdata 107564maxresident)k 0inputs+128outputs (0major+50310minor)pagefaults 0swaps