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 : 743985 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 : 2288>1000 please execute split_portfolio.py -i 22246422 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2745433'] with mtr_portfolio_ids : ['22246422'] and first list_photo_ids : [] new path : /proc/743985/ 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.042754173278808594 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Apr 11 16:30: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', 15), ('01', 8), ('02', 13), ('03', 15), ('04', 8), ('05', 159), ('06', 222), ('07', 216), ('08', 247), ('09', 110), ('10', 248), ('11', 244), ('12', 54), ('13', 83), ('14', 226), ('15', 283), ('16', 137)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1921} 11042025 22246422 Nombre de photos uploadées : 526 / 23040 (2%) 11042025 22246422 Nombre de photos taguées (types de déchets): 1921 / 526 (365%) 11042025 22246422 Nombre de photos taguées (volume) : 1921 / 526 (365%) elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 0.0007963180541992188 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0616602897644043 elapsed_time : insert_dashboard_record_day_entry 0.03443717956542969 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None 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.018915653228759766 photos_removed : len 0 elapsed_time : load_duplicate_info 0.06145811080932617 ***** BEGIN SPLIT TIME ***** 1744329600.0 `1744374534.010139 1744373700.0 `1744374734.01014 1744374600.0 `1744374744.010139 1744374600.0 `1744374794.010139 1744374600.0 `1744374934.010144 1744374600.0 `1744374944.010139 1744374600.0 `1744374983.009124 1744374600.0 `1744374994.010138 1744374600.0 `1744375004.010141 1744374600.0 `1744375014.010139 1744374600.0 `1744375034.010137 1744374600.0 `1744375044.010135 1744374600.0 `1744375053.009129 1744374600.0 `1744375064.01014 1744374600.0 `1744375074.010137 1744374600.0 `1744375094.010138 1744374600.0 `1744375104.010144 1744374600.0 `1744375114.010137 1744374600.0 `1744375124.010135 1744374600.0 `1744375144.010157 1744374600.0 `1744375154.01014 1744374600.0 `1744375164.01014 1744374600.0 `1744375194.010137 1744374600.0 `1744375203.00915 1744374600.0 `1744375214.010136 1744374600.0 `1744375224.010133 1744374600.0 `1744375234.010141 1744374600.0 `1744375244.010139 1744374600.0 `1744375254.010138 1744374600.0 `1744375264.010139 1744374600.0 `1744375273.009126 1744374600.0 `1744375284.010142 1744374600.0 `1744375294.010137 1744374600.0 `1744375304.010136 1744374600.0 `1744375314.010136 1744374600.0 `1744375324.010152 1744374600.0 `1744375334.010139 1744374600.0 `1744375343.009124 1744374600.0 `1744375354.010136 1744374600.0 `1744375394.010133 1744374600.0 `1744375404.010135 1744374600.0 `1744375414.010134 1744374600.0 `1744375423.009127 1744374600.0 `1744375434.010139 1744374600.0 `1744375444.010145 1744374600.0 `1744375454.010135 1744374600.0 `1744375464.010138 1744374600.0 `1744375474.010137 1744374600.0 `1744375484.010135 1744374600.0 `1744375504.010153 1744375500.0 `1744375514.010135 1744375500.0 `1744375524.010133 1744375500.0 `1744375534.010135 1744375500.0 `1744375544.010138 1744375500.0 `1744375554.010139 1744375500.0 `1744375563.009136 1744375500.0 `1744375574.01014 1744375500.0 `1744375584.010135 1744375500.0 `1744375594.010135 1744375500.0 `1744375604.010135 1744375500.0 `1744375614.010141 1744375500.0 `1744375624.010142 1744375500.0 `1744375633.009125 1744375500.0 `1744375664.010132 1744375500.0 `1744375674.010133 1744375500.0 `1744375684.010154 1744375500.0 `1744375694.01014 1744375500.0 `1744375704.010137 1744375500.0 `1744375713.009129 1744375500.0 `1744375724.01014 1744375500.0 `1744375734.010137 1744375500.0 `1744375744.010152 1744375500.0 `1744375754.010137 1744375500.0 `1744375764.010137 1744375500.0 `1744375774.010138 1744375500.0 `1744375894.01014 1744375500.0 `1744375954.010141 1744375500.0 `1744375964.010137 1744375500.0 `1744376004.010133 1744375500.0 `1744376014.010136 1744375500.0 `1744376024.01014 1744375500.0 `1744376034.010137 1744375500.0 `1744376044.010154 1744375500.0 `1744376054.01014 1744375500.0 `1744376063.009129 1744375500.0 `1744376114.010135 1744375500.0 `1744376124.010136 1744375500.0 `1744376133.009131 1744375500.0 `1744376144.010149 1744375500.0 `1744376154.010136 1744375500.0 `1744376164.01015 1744375500.0 `1744376174.010136 1744375500.0 `1744376203.009123 1744375500.0 `1744376213.010137 1744375500.0 `1744376224.010134 1744375500.0 `1744376234.010136 1744375500.0 `1744376244.010136 1744375500.0 `1744376254.010134 1744375500.0 `1744376264.010137 1744375500.0 `1744376274.010136 1744375500.0 `1744376283.009133 1744375500.0 `1744376294.010142 1744375500.0 `1744376304.010134 1744375500.0 `1744376334.010137 1744375500.0 `1744376334.010137 1744375500.0 `1744376354.010026 1744375500.0 `1744376425.010135 1744376400.0 `1744376434.009136 1744376400.0 `1744376444.010141 1744376400.0 `1744376454.010138 1744376400.0 `1744376464.010137 1744376400.0 `1744376474.010135 1744376400.0 `1744376495.010133 1744376400.0 `1744376504.009125 1744376400.0 `1744376514.010158 1744376400.0 `1744376524.010152 1744376400.0 `1744376544.010135 1744376400.0 `1744376554.010135 1744376400.0 `1744376564.010136 1744376400.0 `1744376574.009128 1744376400.0 `1744376584.010152 1744376400.0 `1744376594.010136 1744376400.0 `1744376604.010135 1744376400.0 `1744376614.010136 1744376400.0 `1744376624.010135 1744376400.0 `1744376634.010135 1744376400.0 `1744376644.009131 1744376400.0 `1744376674.010133 1744376400.0 `1744376684.010132 1744376400.0 `1744376694.010137 1744376400.0 `1744376704.010152 1744376400.0 `1744376714.009126 1744376400.0 `1744376724.010142 1744376400.0 `1744376734.010135 1744376400.0 `1744376744.010135 1744376400.0 `1744376754.010137 1744376400.0 `1744376764.010138 1744376400.0 `1744376774.010134 1744376400.0 `1744376785.010137 1744376400.0 `1744376794.009124 1744376400.0 `1744376824.010148 1744376400.0 `1744376834.010134 1744376400.0 `1744376844.010135 1744376400.0 `1744376854.010134 1744376400.0 `1744376864.009125 1744376400.0 `1744376874.010136 1744376400.0 `1744376884.010165 1744376400.0 `1744376894.010134 1744376400.0 `1744376904.010135 1744376400.0 `1744376914.010135 1744376400.0 `1744376924.010135 1744376400.0 `1744376934.009125 1744376400.0 `1744376944.010153 1744376400.0 `1744376954.010135 1744376400.0 `1744376964.010136 1744376400.0 `1744376994.010134 1744376400.0 `1744377005.010145 1744376400.0 `1744377014.009128 1744376400.0 `1744377024.010135 1744376400.0 `1744377034.010133 1744376400.0 `1744377044.010138 1744376400.0 `1744377054.010138 1744376400.0 `1744377064.010159 1744376400.0 `1744377074.010135 1744376400.0 `1744377084.009124 1744376400.0 `1744377094.010135 1744376400.0 `1744377114.010134 1744376400.0 `1744377124.010139 1744376400.0 `1744377134.010137 1744376400.0 `1744377174.010138 1744376400.0 `1744377184.010139 1744376400.0 `1744377194.010133 1744376400.0 `1744377214.010133 1744376400.0 `1744377234.009126 1744376400.0 `1744377244.010151 1744376400.0 `1744377274.010139 1744376400.0 `1744377284.01014 1744376400.0 `1744377304.009131 1744377300.0 `1744377314.010135 1744377300.0 `1744377324.010134 1744377300.0 `1744377334.010141 1744377300.0 `1744377344.010135 1744377300.0 `1744377354.010137 1744377300.0 `1744377364.010147 1744377300.0 `1744377374.009126 1744377300.0 `1744377394.010134 1744377300.0 `1744377404.010133 1744377300.0 `1744377444.009121 1744377300.0 `1744377454.010133 1744377300.0 `1744377464.010134 1744377300.0 `1744377474.010136 1744377300.0 `1744377494.010144 1744377300.0 `1744377504.010136 1744377300.0 `1744377514.009125 1744377300.0 `1744377524.010138 1744377300.0 `1744377534.010136 1744377300.0 `1744377544.010144 1744377300.0 `1744377564.010135 1744377300.0 `1744377574.010215 1744377300.0 `1744377584.009124 1744377300.0 `1744377614.010139 1744377300.0 `1744377624.010133 1744377300.0 `1744377634.010134 1744377300.0 `1744377644.010139 1744377300.0 `1744377654.009129 1744377300.0 `1744377664.010174 1744377300.0 `1744377674.010135 1744377300.0 `1744377694.010134 1744377300.0 `1744377704.010134 1744377300.0 `1744377714.010138 1744377300.0 `1744377724.009134 1744377300.0 `1744377734.010135 1744377300.0 `1744377744.010136 1744377300.0 `1744377754.010136 1744377300.0 `1744377764.010141 1744377300.0 `1744377774.010135 1744377300.0 `1744377804.009122 1744377300.0 `1744377814.010133 1744377300.0 `1744377824.010134 1744377300.0 `1744377844.01016 1744377300.0 `1744377854.010137 1744377300.0 `1744377874.009126 1744377300.0 `1744377884.010136 1744377300.0 `1744377894.010136 1744377300.0 `1744377904.010147 1744377300.0 `1744377914.010135 1744377300.0 `1744377924.010135 1744377300.0 `1744377934.010134 1744377300.0 `1744377945.010137 1744377300.0 `1744377954.009124 1744377300.0 `1744377964.010138 1744377300.0 `1744377994.010134 1744377300.0 `1744378004.010136 1744377300.0 `1744378024.009139 1744377300.0 `1744378034.010141 1744377300.0 `1744378044.010135 1744377300.0 `1744378054.010139 1744377300.0 `1744378064.01014 1744377300.0 `1744378074.010137 1744377300.0 `1744378084.010151 1744377300.0 `1744378094.009125 1744377300.0 `1744378104.010134 1744377300.0 `1744378114.010133 1744377300.0 `1744378154.010136 1744377300.0 `1744378174.010135 1744377300.0 `1744378184.010137 1744377300.0 `1744378194.010136 1744377300.0 `1744378204.010145 1744378200.0 `1744378214.010138 1744378200.0 `1744378224.010134 1744378200.0 `1744378235.010134 1744378200.0 `1744378244.009126 1744378200.0 `1744378254.010138 1744378200.0 `1744378264.010149 1744378200.0 `1744378274.010191 1744378200.0 `1744378284.010135 1744378200.0 `1744378324.010138 1744378200.0 `1744378334.010134 1744378200.0 `1744378344.010133 1744378200.0 `1744378354.010144 1744378200.0 `1744378364.010139 1744378200.0 `1744378394.01014 1744378200.0 `1744378404.010136 1744378200.0 `1744378414.010135 1744378200.0 `1744378424.010134 1744378200.0 `1744378444.010155 1744378200.0 `1744378454.009127 1744378200.0 `1744378474.010134 1744378200.0 `1744378484.010133 1744378200.0 `1744378494.010135 1744378200.0 `1744378504.010136 1744378200.0 `1744378544.010138 1744378200.0 `1744378554.010142 1744378200.0 `1744378564.010175 1744378200.0 `1744378574.010138 1744378200.0 `1744378584.010136 1744378200.0 `1744378595.010148 1744378200.0 `1744378604.009128 1744378200.0 `1744378614.010142 1744378200.0 `1744378624.010149 1744378200.0 `1744378644.010137 1744378200.0 `1744378654.010134 1744378200.0 `1744378674.009126 1744378200.0 `1744378684.010152 1744378200.0 `1744378714.010133 1744378200.0 `1744378724.010135 1744378200.0 `1744378734.010136 1744378200.0 `1744378744.009138 1744378200.0 `1744378754.010138 1744378200.0 `1744378764.010134 1744378200.0 `1744378774.010134 1744378200.0 `1744378784.010136 1744378200.0 `1744378794.010136 1744378200.0 `1744378804.010154 1744378200.0 `1744378814.009124 1744378200.0 `1744378824.010134 1744378200.0 `1744378834.010134 1744378200.0 `1744378844.010134 1744378200.0 `1744378854.010137 1744378200.0 `1744378874.010133 1744378200.0 `1744378885.010133 1744378200.0 `1744378894.009125 1744378200.0 `1744378904.010135 1744378200.0 `1744378914.010136 1744378200.0 `1744378924.010168 1744378200.0 `1744378934.010139 1744378200.0 `1744378944.010133 1744378200.0 `1744378954.010135 1744378200.0 `1744378964.009137 1744378200.0 `1744378974.010135 1744378200.0 `1744379024.010134 1744378200.0 `1744379044.010136 1744378200.0 `1744379054.010136 1744378200.0 `1744379094.010134 1744378200.0 `1744379124.010132 1744379100.0 `1744379134.01015 1744379100.0 `1744379144.010146 1744379100.0 `1744379154.01014 1744379100.0 `1744379164.010151 1744379100.0 `1744379175.010138 1744379100.0 `1744379184.009127 1744379100.0 `1744379194.010137 1744379100.0 `1744379204.010141 1744379100.0 `1744379214.010139 1744379100.0 `1744379224.010152 1744379100.0 `1744379234.010149 1744379100.0 `1744379245.010134 1744379100.0 `1744379254.009123 1744379100.0 `1744379264.010134 1744379100.0 `1744379274.010135 1744379100.0 `1744379314.010138 1744379100.0 `1744379334.010135 1744379100.0 `1744379344.010154 1744379100.0 `1744379354.010137 1744379100.0 `1744379364.010134 1744379100.0 `1744379384.010134 1744379100.0 `1744379395.010136 1744379100.0 `1744379404.009146 1744379100.0 `1744379414.010133 1744379100.0 `1744379424.010134 1744379100.0 `1744379434.010134 1744379100.0 `1744379444.010139 1744379100.0 `1744379474.009124 1744379100.0 `1744379484.010192 1744379100.0 `1744379494.010134 1744379100.0 `1744379504.010136 1744379100.0 `1744379514.010135 1744379100.0 `1744379524.010162 1744379100.0 `1744379535.010138 1744379100.0 `1744379544.009127 1744379100.0 `1744379554.010135 1744379100.0 `1744379564.010139 1744379100.0 `1744379574.010136 1744379100.0 `1744379584.010146 1744379100.0 `1744379594.010133 1744379100.0 `1744379624.010133 1744379100.0 `1744379634.010132 1744379100.0 `1744379654.010134 1744379100.0 `1744379664.010139 1744379100.0 `1744379674.010136 1744379100.0 `1744379684.009127 1744379100.0 `1744379694.010138 1744379100.0 `1744379704.010135 1744379100.0 `1744379714.010139 1744379100.0 `1744379724.010139 1744379100.0 `1744379734.010138 1744379100.0 `1744379744.01014 1744379100.0 `1744379755.010139 1744379100.0 `1744379764.009135 1744379100.0 `1744379794.010135 1744379100.0 `1744379804.010136 1744379100.0 `1744379814.010137 1744379100.0 `1744379814.010137 1744379100.0 `1744379824.010155 1744379100.0 `1744379824.010155 1744379100.0 `1744379834.009126 1744379100.0 `1744379834.009126 1744379100.0 `1744379844.010142 1744379100.0 `1744379844.010142 1744379100.0 `1744379864.010137 1744379100.0 `1744379864.010137 1744379100.0 `1744379874.010137 1744379100.0 `1744379884.010155 1744379100.0 `1744379894.010135 1744379100.0 `1744379904.009126 1744379100.0 `1744379914.010135 1744379100.0 `1744379934.010135 1744379100.0 `1744379954.011008 1744379100.0 `1744379994.010133 1744379100.0 `1744380004.01014 1744380000.0 `1744380014.010136 1744380000.0 `1744380024.010137 1744380000.0 `1744380033.009127 1744380000.0 `1744380043.010136 1744380000.0 `1744380054.010137 1744380000.0 `1744380064.010141 1744380000.0 `1744380074.010136 1744380000.0 `1744380084.010135 1744380000.0 `1744380094.010135 1744380000.0 `1744380103.009123 1744380000.0 `1744380134.010136 1744380000.0 `1744380144.010132 1744380000.0 `1744380154.010137 1744380000.0 `1744380164.010137 1744380000.0 `1744380174.01014 1744380000.0 `1744380193.010155 1744380000.0 `1744380204.010138 1744380000.0 `1744380214.01014 1744380000.0 `1744380224.01014 1744380000.0 `1744380234.010137 1744380000.0 `1744380244.010141 1744380000.0 `1744380253.009125 1744380000.0 `1744380284.010134 1744380000.0 `1744380294.010138 1744380000.0 `1744380294.010138 1744380000.0 `1744380304.010151 1744380000.0 `1744380304.010151 1744380000.0 `1744380314.010135 1744380000.0 `1744380314.010135 1744380000.0 `1744380323.009124 1744380000.0 `1744380323.009124 1744380000.0 `1744380344.010137 1744380000.0 `1744380344.010137 1744380000.0 `1744380354.010138 1744380000.0 `1744380364.010139 1744380000.0 `1744380374.010137 1744380000.0 `1744380393.009124 1744380000.0 `1744380403.010135 1744380000.0 `1744380413.010135 1744380000.0 `1744380454.010133 1744380000.0 `1744380464.010133 1744380000.0 `1744380483.010143 1744380000.0 `1744380494.010137 1744380000.0 `1744380504.010134 1744380000.0 `1744380514.010134 1744380000.0 `1744380524.010136 1744380000.0 `1744380534.010137 1744380000.0 `1744380543.009147 1744380000.0 `1744380553.010137 1744380000.0 `1744380564.01014 1744380000.0 `1744380574.010135 1744380000.0 `1744380604.010145 1744380000.0 `1744380613.009129 1744380000.0 `1744380623.010135 1744380000.0 `1744380633.010135 1744380000.0 `1744380644.010136 1744380000.0 `1744380654.010137 1744380000.0 `1744380664.010157 1744380000.0 `1744380674.010136 1744380000.0 `1744380684.010135 1744380000.0 `1744380693.009124 1744380000.0 `1744380703.010135 1744380000.0 `1744380714.010136 1744380000.0 `1744380724.010166 1744380000.0 `1744380744.010132 1744380000.0 `1744380754.010135 1744380000.0 `1744380763.009124 1744380000.0 `1744380773.010136 1744380000.0 `1744380784.010148 1744380000.0 `1744380794.01014 1744380000.0 `1744380804.010142 1744380000.0 `1744380814.010136 1744380000.0 `1744380824.010136 1744380000.0 `1744380833.009123 1744380000.0 `1744380853.010139 1744380000.0 `1744380864.010132 1744380000.0 `1744380874.010135 1744380000.0 `1744380884.010135 1744380000.0 `1744380894.010135 1744380000.0 `1744380903.009138 1744380900.0 `1744380913.01014 1744380900.0 `1744380923.010142 1744380900.0 `1744380934.010137 1744380900.0 `1744380944.010136 1744380900.0 `1744380954.010136 1744380900.0 `1744380993.010135 1744380900.0 `1744381004.010136 1744380900.0 `1744381014.010136 1744380900.0 `1744381024.010154 1744380900.0 `1744381034.010136 1744380900.0 `1744381044.010137 1744380900.0 `1744381063.010144 1744380900.0 `1744381074.01014 1744380900.0 `1744381084.010163 1744380900.0 `1744381094.010136 1744380900.0 `1744381104.010136 1744380900.0 `1744381114.010134 1744380900.0 `1744381144.010141 1744380900.0 `1744381154.010134 1744380900.0 `1744381164.010133 1744380900.0 `1744381174.01015 1744380900.0 `1744381184.010141 1744380900.0 `1744381193.009125 1744380900.0 `1744381203.010144 1744380900.0 `1744381213.01014 1744380900.0 `1744381224.010134 1744380900.0 `1744381234.010134 1744380900.0 `1744381244.010135 1744380900.0 `1744381254.010136 1744380900.0 `1744381273.009129 1744380900.0 `1744381283.010141 1744380900.0 `1744381324.010148 1744380900.0 `1744381334.010134 1744380900.0 `1744381353.010142 1744380900.0 `1744381364.010141 1744380900.0 `1744381374.010138 1744380900.0 `1744381384.010139 1744380900.0 `1744381394.010136 1744380900.0 `1744381404.010136 1744380900.0 `1744381413.009126 1744380900.0 `1744381423.010138 1744380900.0 `1744381433.010139 1744380900.0 `1744381444.010141 1744380900.0 `1744381454.010138 1744380900.0 `1744381464.010135 1744380900.0 `1744381503.010146 1744380900.0 `1744381514.01014 1744380900.0 `1744381524.010133 1744380900.0 `1744381534.010138 1744380900.0 `1744381544.010148 1744380900.0 `1744381554.010139 1744380900.0 `1744381563.009149 1744380900.0 `1744381573.010136 1744380900.0 `1744381584.010136 1744380900.0 `1744381594.010138 1744380900.0 `1744381614.010139 1744380900.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.021722793579101562 ***** 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'] 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': '11042025', 'map_nb_amount': {0: 1, 1: 39, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 749.9999949932098, 'nb_balles_papier': 0.00042000000000000045, 'begin_time_port': 'image_11042025_14_32_14_010140m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00042000000000000045 We reject this portfolio because of the condition_save_data : 2025-04-11 14:32:14.010140 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '11042025', 'map_nb_amount': {0: 3, 1: 35, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 849.9998729228973, 'nb_balles_papier': 0.00042000000000000045, 'begin_time_port': 'image_11042025_14_45_04_010153m0.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.00042000000000000045 We reject this portfolio because of the condition_save_data : 2025-04-11 14:45:04.010153 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '11042025', 'map_nb_amount': {0: 3, 1: 40, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 859.0000050067902, 'nb_balles_papier': 0.00045000000000000053, 'begin_time_port': 'image_11042025_15_00_25_10135.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00045000000000000053 We reject this portfolio because of the condition_save_data : 2025-04-11 15:00:25.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 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '11042025', 'map_nb_amount': {0: 5, 1: 41, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.0010049343109, 'nb_balles_papier': 0.0005100000000000007, 'begin_time_port': 'image_11042025_15_15_04_009131m0.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.0005100000000000007 We reject this portfolio because of the condition_save_data : 2025-04-11 15:15:04.009131 ERROR missing amount info ERROR missing amount info 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': '11042025', 'map_nb_amount': {0: 5, 1: 47, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999890327454, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_11042025_15_30_04_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.0005900000000000009 We reject this portfolio because of the condition_save_data : 2025-04-11 15:30:04.010145 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '11042025', 'map_nb_amount': {0: 4, 1: 39, 2: 8, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 870.0000009536743, 'nb_balles_papier': 0.0005200000000000007, 'begin_time_port': 'image_11042025_15_45_24_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.0005200000000000007 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '11042025', 'map_nb_amount': {0: 5, 1: 29, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999949932098, 'nb_balles_papier': 0.00039000000000000037, 'begin_time_port': 'image_11042025_16_00_04_010140m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00039000000000000037 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '11042025', 'map_nb_amount': {0: 0, 1: 15, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 711.0010008811951, 'nb_balles_papier': 0.00016, 'begin_time_port': 'image_11042025_16_15_03_9138.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00016 We have rejected 1 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 3 {22282511: [{'mtr_photo_id': 1351733398, 'mtr_portfolio_id': 22282511, 'datou_current_id': 2745163}, We expect two at most portfolio with same photos and datou_carac_id : 2 Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! Qualite : 0.05803075298104398 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`=22282511 AND mptpi.`type`=3726 To do Qualite : 0.06463158074751656 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`=22283551 AND mptpi.`type`=3726 To do Qualite : 0.05191917132031175 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`=22284509 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 3.514777660369873 # DISPLAY ALL COLLECTED DATA : {'11042025': {'nb_upload': 526, 'nb_taggue_class': 1921, 'nb_taggue_densite': 1921}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1351746061, 1351745713, 1351745665, 1351745625, 1351745518, 1351745494, 1351745238, 1351745215, 1351745183, 1351745159, 1351745133, 1351745106, 1351744763, 1351744742, 1351744717, 1351744508, 1351744476, 1351744433, 1351744374, 1351744310, 1351744244, 1351743960, 1351743926, 1351743874, 1351743831, 1351743785, 1351743404, 1351743376, 1351743019, 1351742990, 1351742963, 1351742935, 1351742907, 1351742884, 1351742661, 1351742635, 1351742620, 1351742597, 1351742524, 1351742513, 1351742320, 1351742245, 1351742230, 1351742225, 1351741906, 1351741891, 1351741888, 1351741881, 1351741869, 1351741492, 1351741482, 1351741475, 1351741410, 1351741403, 1351741381, 1351741367, 1351741331, 1351741318, 1351741005, 1351740963, 1351740934, 1351740890, 1351740860, 1351740475, 1351740394, 1351740351, 1351740310, 1351740284, 1351740248, 1351739918, 1351739905, 1351739865, 1351739818, 1351739791, 1351739420, 1351739388, 1351739342, 1351739280, 1351739266, 1351739239, 1351738868, 1351738762, 1351738665, 1351738554, 1351738461, 1351738383, 1351737931, 1351737871, 1351737791, 1351737742, 1351737623, 1351737620, 1351737610, 1351737567, 1351737539, 1351737524, 1351737299, 1351737240, 1351737019, 1351736939] Looping around the photos to save general results len do output : 1 /22246422Didn'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, '2745433') ('4876', '22246422', '1351746061', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351745713', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351745665', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351745625', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351745518', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351745494', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351745238', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351745215', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351745183', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351745159', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351745133', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351745106', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351744763', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351744742', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351744717', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351744508', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351744476', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351744433', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351744374', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351744310', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351744244', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351743960', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351743926', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351743874', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351743831', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351743785', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351743404', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351743376', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351743019', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742990', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742963', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742935', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742907', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742884', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742661', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742635', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742620', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742597', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742524', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742513', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742320', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742245', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742230', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351742225', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741906', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741891', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741888', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741881', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741869', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741492', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741482', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741475', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741410', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741403', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741381', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741367', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741331', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741318', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351741005', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351740963', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351740934', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351740890', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351740860', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351740475', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351740394', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351740351', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351740310', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351740284', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351740248', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351739918', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351739905', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351739865', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351739818', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351739791', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351739420', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351739388', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351739342', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351739280', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351739266', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351739239', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351738868', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351738762', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351738665', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351738554', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351738461', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351738383', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737931', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737871', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737791', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737742', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737623', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737620', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737610', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737567', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737539', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737524', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737299', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737240', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351737019', None, None, None, None, None, '2745433') ('4876', None, None, None, None, None, None, None, '2745433') ('4876', '22246422', '1351736939', None, None, None, None, None, '2745433') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.026801586151123047 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.968021869659424 time spend to save output : 0.027797698974609375 total time spend for step 1 : 3.995819568634033 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.59user 0.44system 0:07.08elapsed 28%CPU (0avgtext+0avgdata 104476maxresident)k 0inputs+136outputs (8major+58346minor)pagefaults 0swaps