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 : 3479161 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 : 2081>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 : ['2668899'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/3479161/ 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.027430295944213867 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 11:52:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 11), ('01', 4), ('02', 12), ('03', 7), ('04', 8), ('05', 264), ('06', 372), ('07', 309), ('08', 354), ('09', 175), ('10', 334), ('11', 231)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1900, 2: 2} 14032025 21403117 Nombre de photos uploadées : 595 / 23040 (2%) 14032025 21403117 Nombre de photos taguées (types de déchets): 1902 / 595 (319%) 14032025 21403117 Nombre de photos taguées (volume) : 1902 / 595 (319%) elapsed_time : load_data_split_time_score 4.76837158203125e-06 elapsed_time : order_list_meta_photo_and_scores 0.004163503646850586 ??????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.07761383056640625 elapsed_time : insert_dashboard_record_day_entry 0.028333663940429688 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 elapsed_time : list_photo_by_hashtags 0.026957035064697266 photos_removed : len 0 elapsed_time : load_duplicate_info 0.028975248336791992 ***** BEGIN SPLIT TIME ***** True 1741910400.0 `1741941473.010137 1741941000.0 `1741941483.01015 1741941000.0 `1741942073.010141 1741941900.0 `1741942083.010147 1741941900.0 `1741942094.010138 1741941900.0 `1741942244.010137 1741941900.0 `1741942273.010137 1741941900.0 `1741942283.010136 1741941900.0 `1741942293.010136 1741941900.0 `1741942333.009127 1741941900.0 `1741942343.010137 1741941900.0 `1741942353.010137 1741941900.0 `1741942373.010138 1741941900.0 `1741942433.010136 1741941900.0 `1741942443.010144 1741941900.0 `1741942473.009205 1741941900.0 `1741942513.010146 1741941900.0 `1741942524.010152 1741941900.0 `1741942563.010146 1741941900.0 `1741942573.010149 1741941900.0 `1741942583.01014 1741941900.0 `1741942594.010145 1741941900.0 `1741942604.010138 1741941900.0 `1741942613.00913 1741941900.0 `1741942653.010135 1741941900.0 `1741942664.010137 1741941900.0 `1741942674.010141 1741941900.0 `1741942683.009143 1741941900.0 `1741942693.01014 1741941900.0 `1741942794.01014 1741941900.0 `1741942804.010138 1741942800.0 `1741942833.009123 1741942800.0 `1741942843.010138 1741942800.0 `1741942853.01014 1741942800.0 `1741942863.010148 1741942800.0 `1741942874.010134 1741942800.0 `1741942884.010137 1741942800.0 `1741942894.010137 1741942800.0 `1741942913.010137 1741942800.0 `1741942923.010135 1741942800.0 `1741942944.010136 1741942800.0 `1741942964.010137 1741942800.0 `1741942973.009127 1741942800.0 `1741942973.009127 1741942800.0 `1741942993.010136 1741942800.0 `1741942993.010136 1741942800.0 `1741943003.010134 1741942800.0 `1741943003.010134 1741942800.0 `1741943014.010132 1741942800.0 `1741943014.010132 1741942800.0 `1741943024.010135 1741942800.0 `1741943024.010135 1741942800.0 `1741943034.010137 1741942800.0 `1741943044.010142 1741942800.0 `1741943053.009132 1741942800.0 `1741943063.010135 1741942800.0 `1741943073.010137 1741942800.0 `1741943083.010135 1741942800.0 `1741943094.010136 1741942800.0 `1741943123.009122 1741942800.0 `1741943133.010131 1741942800.0 `1741943143.010133 1741942800.0 `1741943153.010137 1741942800.0 `1741943164.010154 1741942800.0 `1741943174.010138 1741942800.0 `1741943184.010141 1741942800.0 `1741943193.009127 1741942800.0 `1741943203.010138 1741942800.0 `1741943213.01014 1741942800.0 `1741943223.01014 1741942800.0 `1741943254.010132 1741942800.0 `1741943264.010136 1741942800.0 `1741943273.009125 1741942800.0 `1741943283.010165 1741942800.0 `1741943293.010144 1741942800.0 `1741943304.010135 1741942800.0 `1741943314.010137 1741942800.0 `1741943324.010138 1741942800.0 `1741943324.010138 1741942800.0 `1741943343.009137 1741942800.0 `1741943343.009137 1741942800.0 `1741943353.010138 1741942800.0 `1741943353.010138 1741942800.0 `1741943363.010138 1741942800.0 `1741943363.010138 1741942800.0 `1741943373.010135 1741942800.0 `1741943373.010135 1741942800.0 `1741943384.010137 1741942800.0 `1741943384.010137 1741942800.0 `1741943394.010138 1741942800.0 `1741943404.010154 1741942800.0 `1741943413.009126 1741942800.0 `1741943423.010136 1741942800.0 `1741943433.010136 1741942800.0 `1741943443.010136 1741942800.0 `1741943464.01014 1741942800.0 `1741943474.010138 1741942800.0 `1741943483.009131 1741942800.0 `1741943493.010139 1741942800.0 `1741943503.010138 1741942800.0 `1741943513.010139 1741942800.0 `1741943524.010157 1741942800.0 `1741943534.010137 1741942800.0 `1741943544.010134 1741942800.0 `1741943553.009127 1741942800.0 `1741943563.010133 1741942800.0 `1741943583.010133 1741942800.0 `1741943594.010137 1741942800.0 `1741943604.010137 1741942800.0 `1741943614.010135 1741942800.0 `1741943624.01016 1741942800.0 `1741943633.009126 1741942800.0 `1741943643.010149 1741942800.0 `1741943653.010139 1741942800.0 `1741943663.010135 1741942800.0 `1741943674.010135 1741942800.0 `1741943684.010137 1741942800.0 `1741943684.010137 1741942800.0 `1741943713.010138 1741943700.0 `1741943713.010138 1741943700.0 `1741943723.010132 1741943700.0 `1741943723.010132 1741943700.0 `1741943733.010135 1741943700.0 `1741943733.010135 1741943700.0 `1741943744.010135 1741943700.0 `1741943744.010135 1741943700.0 `1741943754.010136 1741943700.0 `1741943764.010141 1741943700.0 `1741943773.009125 1741943700.0 `1741943783.010135 1741943700.0 `1741943793.010133 1741943700.0 `1741943814.010137 1741943700.0 `1741943814.010137 1741943700.0 `1741943824.010134 1741943700.0 `1741943824.010134 1741943700.0 `1741943834.010136 1741943700.0 `1741943834.010136 1741943700.0 `1741943843.009131 1741943700.0 `1741943843.009131 1741943700.0 `1741943853.010138 1741943700.0 `1741943853.010138 1741943700.0 `1741943863.010136 1741943700.0 `1741943863.010136 1741943700.0 `1741943873.010136 1741943700.0 `1741943884.010162 1741943700.0 `1741943894.010138 1741943700.0 `1741943904.010136 1741943700.0 `1741943943.010137 1741943700.0 `1741943953.010135 1741943700.0 `1741943964.010135 1741943700.0 `1741943974.010136 1741943700.0 `1741943984.010136 1741943700.0 `1741943993.009125 1741943700.0 `1741944003.010148 1741943700.0 `1741944013.010141 1741943700.0 `1741944023.010137 1741943700.0 `1741944054.010134 1741943700.0 `1741944063.009132 1741943700.0 `1741944073.010139 1741943700.0 `1741944083.010136 1741943700.0 `1741944093.010135 1741943700.0 `1741944104.010135 1741943700.0 `1741944114.010134 1741943700.0 `1741944124.01015 1741943700.0 `1741944134.010136 1741943700.0 `1741944143.009124 1741943700.0 `1741944173.010134 1741943700.0 `1741944173.010134 1741943700.0 `1741944184.010137 1741943700.0 `1741944184.010137 1741943700.0 `1741944194.010137 1741943700.0 `1741944194.010137 1741943700.0 `1741944204.010136 1741943700.0 `1741944204.010136 1741943700.0 `1741944213.009132 1741943700.0 `1741944213.009132 1741943700.0 `1741944223.010146 1741943700.0 `1741944223.010146 1741943700.0 `1741944233.010135 1741943700.0 `1741944243.010163 1741943700.0 `1741944254.010141 1741943700.0 `1741944264.010132 1741943700.0 `1741944283.009125 1741943700.0 `1741944293.010133 1741943700.0 `1741944303.010139 1741943700.0 `1741944313.010137 1741943700.0 `1741944324.010139 1741943700.0 `1741944334.010134 1741943700.0 `1741944344.010135 1741943700.0 `1741944354.010135 1741943700.0 `1741944363.00914 1741943700.0 `1741944373.010141 1741943700.0 `1741944404.010136 1741943700.0 `1741944414.010135 1741943700.0 `1741944424.010149 1741943700.0 `1741944433.009127 1741943700.0 `1741944443.010143 1741943700.0 `1741944453.010135 1741943700.0 `1741944463.010134 1741943700.0 `1741944474.010139 1741943700.0 `1741944484.010151 1741943700.0 `1741944494.010135 1741943700.0 `1741944513.010133 1741943700.0 `1741944523.010133 1741943700.0 `1741944533.010136 1741943700.0 `1741944544.010138 1741943700.0 `1741944554.010136 1741943700.0 `1741944564.010135 1741943700.0 `1741944574.010136 1741943700.0 `1741944583.009128 1741943700.0 `1741944603.010136 1741944600.0 `1741944613.010137 1741944600.0 `1741944624.010134 1741944600.0 `1741944634.010135 1741944600.0 `1741944644.010136 1741944600.0 `1741944653.009127 1741944600.0 `1741944663.010154 1741944600.0 `1741944673.010144 1741944600.0 `1741944683.010143 1741944600.0 `1741944694.010137 1741944600.0 `1741944704.010137 1741944600.0 `1741944733.010138 1741944600.0 `1741944743.010134 1741944600.0 `1741944753.010136 1741944600.0 `1741944764.010136 1741944600.0 `1741944774.010137 1741944600.0 `1741944784.010146 1741944600.0 `1741944793.009127 1741944600.0 `1741944803.010139 1741944600.0 `1741944813.010136 1741944600.0 `1741944823.01014 1741944600.0 `1741944834.010132 1741944600.0 `1741944844.010166 1741944600.0 `1741944854.010136 1741944600.0 `1741944864.010136 1741944600.0 `1741944873.009127 1741944600.0 `1741944883.010137 1741944600.0 `1741944893.010139 1741944600.0 `1741944904.010153 1741944600.0 `1741944914.010136 1741944600.0 `1741944924.010136 1741944600.0 `1741944934.010136 1741944600.0 `1741944943.009128 1741944600.0 `1741944963.010155 1741944600.0 `1741944973.010141 1741944600.0 `1741944984.010138 1741944600.0 `1741944994.010192 1741944600.0 `1741945003.009142 1741944600.0 `1741945013.010139 1741944600.0 `1741945023.010158 1741944600.0 `1741945033.010141 1741944600.0 `1741945044.010136 1741944600.0 `1741945054.010135 1741944600.0 `1741945064.010135 1741944600.0 `1741945093.010141 1741944600.0 `1741945103.010133 1741944600.0 `1741945113.010136 1741944600.0 `1741945124.010136 1741944600.0 `1741945134.010139 1741944600.0 `1741945144.010138 1741944600.0 `1741945153.009126 1741944600.0 `1741945163.010134 1741944600.0 `1741945173.010135 1741944600.0 `1741945183.01014 1741944600.0 `1741945194.010136 1741944600.0 `1741945204.010138 1741944600.0 `1741945233.010132 1741944600.0 `1741945243.010135 1741944600.0 `1741945253.010137 1741944600.0 `1741945264.010153 1741944600.0 `1741945274.010136 1741944600.0 `1741945284.010137 1741944600.0 `1741945294.010137 1741944600.0 `1741945303.009126 1741944600.0 `1741945313.010137 1741944600.0 `1741945323.01014 1741944600.0 `1741945354.010133 1741944600.0 `1741945364.010135 1741944600.0 `1741945373.009128 1741944600.0 `1741945383.010162 1741944600.0 `1741945393.010139 1741944600.0 `1741945403.010135 1741944600.0 `1741945424.010142 1741944600.0 `1741945434.010137 1741944600.0 `1741945443.009151 1741944600.0 `1741945473.010134 1741944600.0 `1741945484.010134 1741944600.0 `1741945494.010138 1741944600.0 `1741945504.01015 1741945500.0 `1741945513.009129 1741945500.0 `1741945523.010135 1741945500.0 `1741945533.010146 1741945500.0 `1741945543.010148 1741945500.0 `1741945554.01014 1741945500.0 `1741945564.010151 1741945500.0 `1741945574.010144 1741945500.0 `1741945613.010145 1741945500.0 `1741945624.010163 1741945500.0 `1741945634.010143 1741945500.0 `1741945644.010144 1741945500.0 `1741945653.00913 1741945500.0 `1741945663.010158 1741945500.0 `1741945673.010138 1741945500.0 `1741945683.010152 1741945500.0 `1741945694.010132 1741945500.0 `1741945714.010133 1741945500.0 `1741945723.009124 1741945500.0 `1741945733.010135 1741945500.0 `1741945743.010138 1741945500.0 `1741945753.010139 1741945500.0 `1741945764.010136 1741945500.0 `1741945774.010139 1741945500.0 `1741945784.01014 1741945500.0 `1741945794.010137 1741945500.0 `1741945803.009135 1741945500.0 `1741945813.010138 1741945500.0 `1741945823.010134 1741945500.0 `1741945854.010137 1741945500.0 `1741945864.01015 1741945500.0 `1741945873.009124 1741945500.0 `1741945883.010142 1741945500.0 `1741945893.01014 1741945500.0 `1741945903.010143 1741945500.0 `1741945914.010137 1741945500.0 `1741945924.010158 1741945500.0 `1741945934.010139 1741945500.0 `1741945943.009126 1741945500.0 `1741945953.010132 1741945500.0 `1741945973.010135 1741945500.0 `1741945984.010139 1741945500.0 `1741945994.010145 1741945500.0 `1741946004.010137 1741945500.0 `1741946013.009125 1741945500.0 `1741946023.010136 1741945500.0 `1741946033.010136 1741945500.0 `1741946043.010144 1741945500.0 `1741946054.010135 1741945500.0 `1741946074.010133 1741945500.0 `1741946084.010135 1741945500.0 `1741946093.009126 1741945500.0 `1741946103.010147 1741945500.0 `1741946113.010137 1741945500.0 `1741946123.010137 1741945500.0 `1741946134.01014 1741945500.0 `1741946144.010142 1741945500.0 `1741946154.010143 1741945500.0 `1741946163.009148 1741945500.0 `1741946173.010141 1741945500.0 `1741946183.010138 1741945500.0 `1741946214.010141 1741945500.0 `1741946224.010151 1741945500.0 `1741946233.009127 1741945500.0 `1741946243.010141 1741945500.0 `1741946253.010138 1741945500.0 `1741946263.010138 1741945500.0 `1741946274.010137 1741945500.0 `1741946284.010141 1741945500.0 `1741946294.010137 1741945500.0 `1741946303.009126 1741945500.0 `1741946354.01022 1741945500.0 `1741946364.010212 1741945500.0 `1741946374.010137 1741945500.0 `1741946384.010137 1741945500.0 `1741946394.010137 1741945500.0 `1741946403.009158 1741946400.0 `1741946413.010141 1741946400.0 `1741946424.010137 1741946400.0 `1741946434.010136 1741946400.0 `1741946474.010135 1741946400.0 `1741946483.009128 1741946400.0 `1741946494.01014 1741946400.0 `1741946504.01014 1741946400.0 `1741946514.010139 1741946400.0 `1741946524.01015 1741946400.0 `1741946534.010135 1741946400.0 `1741946544.010136 1741946400.0 `1741946553.009125 1741946400.0 `1741946564.010134 1741946400.0 `1741946574.010135 1741946400.0 `1741946604.010135 1741946400.0 `1741946614.010135 1741946400.0 `1741946623.009125 1741946400.0 `1741946633.010139 1741946400.0 `1741946644.01014 1741946400.0 `1741946654.010136 1741946400.0 `1741946664.010134 1741946400.0 `1741946674.010136 1741946400.0 `1741946684.010136 1741946400.0 `1741946694.010136 1741946400.0 `1741946703.009145 1741946400.0 `1741946714.010135 1741946400.0 `1741946734.010133 1741946400.0 `1741946744.010133 1741946400.0 `1741946754.010135 1741946400.0 `1741946764.010159 1741946400.0 `1741946773.009128 1741946400.0 `1741946784.010135 1741946400.0 `1741946794.010135 1741946400.0 `1741946804.010137 1741946400.0 `1741946814.010139 1741946400.0 `1741946824.010161 1741946400.0 `1741946854.010133 1741946400.0 `1741946864.010135 1741946400.0 `1741946874.010137 1741946400.0 `1741946884.010153 1741946400.0 `1741946894.010138 1741946400.0 `1741946904.010136 1741946400.0 `1741946913.009127 1741946400.0 `1741946923.010138 1741946400.0 `1741946934.010135 1741946400.0 `1741946944.010146 1741946400.0 `1741946954.010138 1741946400.0 `1741946984.010136 1741946400.0 `1741946993.009123 1741946400.0 `1741947004.010155 1741946400.0 `1741947014.010142 1741946400.0 `1741947024.010137 1741946400.0 `1741947034.010137 1741946400.0 `1741947044.010139 1741946400.0 `1741947054.010138 1741946400.0 `1741947063.009143 1741946400.0 `1741947074.010136 1741946400.0 `1741947084.010133 1741946400.0 `1741947104.010139 1741946400.0 `1741947114.010135 1741946400.0 `1741947124.010153 1741946400.0 `1741947133.009128 1741946400.0 `1741947144.010137 1741946400.0 `1741947154.010138 1741946400.0 `1741947164.010141 1741946400.0 `1741947174.010138 1741946400.0 `1741947184.010144 1741946400.0 `1741947194.010136 1741946400.0 `1741947203.009125 1741946400.0 `1741947234.010138 1741946400.0 `1741947244.010137 1741946400.0 `1741947254.010138 1741946400.0 `1741947264.010135 1741946400.0 `1741947274.010134 1741946400.0 `1741947283.009126 1741946400.0 `1741947294.010138 1741946400.0 `1741947304.010152 1741947300.0 `1741947314.010136 1741947300.0 `1741947324.010141 1741947300.0 `1741947334.010135 1741947300.0 `1741947344.010134 1741947300.0 `1741947384.010133 1741947300.0 `1741947394.010133 1741947300.0 `1741947404.010137 1741947300.0 `1741947414.010137 1741947300.0 `1741947423.009142 1741947300.0 `1741947434.010138 1741947300.0 `1741947444.010139 1741947300.0 `1741947464.010136 1741947300.0 `1741947474.010139 1741947300.0 `1741947484.010156 1741947300.0 `1741947493.009134 1741947300.0 `1741947524.010134 1741947300.0 `1741947534.010136 1741947300.0 `1741947544.01016 1741947300.0 `1741947554.010139 1741947300.0 `1741947564.010137 1741947300.0 `1741947573.009136 1741947300.0 `1741947584.010141 1741947300.0 `1741947594.01014 1741947300.0 `1741947604.010141 1741947300.0 `1741947614.010136 1741947300.0 `1741947624.010133 1741947300.0 `1741947654.010135 1741947300.0 `1741947664.010152 1741947300.0 `1741947674.010135 1741947300.0 `1741947694.010137 1741947300.0 `1741947704.010136 1741947300.0 `1741947724.010152 1741947300.0 `1741947774.010139 1741947300.0 `1741947814.01014 1741947300.0 `1741947824.01014 1741947300.0 `1741947834.010138 1741947300.0 `1741947933.009128 1741947300.0 `1741947944.01014 1741947300.0 `1741947954.010131 1741947300.0 `1741947964.010156 1741947300.0 `1741947974.010136 1741947300.0 `1741947984.010133 1741947300.0 `1741947994.010141 1741947300.0 `1741948003.009128 1741947300.0 `1741948014.010139 1741947300.0 `1741948034.010139 1741947300.0 `1741948054.010135 1741947300.0 `1741948073.009126 1741947300.0 `1741948174.010144 1741947300.0 `1741948184.01014 1741947300.0 `1741948234.010137 1741948200.0 `1741948244.010139 1741948200.0 `1741948254.010134 1741948200.0 `1741948274.010132 1741948200.0 `1741948284.010146 1741948200.0 `1741948304.010141 1741948200.0 `1741948314.010137 1741948200.0 `1741948324.010138 1741948200.0 `1741948334.010137 1741948200.0 `1741948344.010136 1741948200.0 `1741948354.010133 1741948200.0 `1741948363.009126 1741948200.0 `1741948374.01014 1741948200.0 `1741948384.010164 1741948200.0 `1741948424.010134 1741948200.0 `1741948433.009129 1741948200.0 `1741948443.010136 1741948200.0 `1741948454.010137 1741948200.0 `1741948464.010135 1741948200.0 `1741948474.010144 1741948200.0 `1741948484.010141 1741948200.0 `1741948494.010139 1741948200.0 `1741948503.009148 1741948200.0 `1741948513.01014 1741948200.0 `1741948524.010138 1741948200.0 `1741948534.010138 1741948200.0 `1741948544.01014 1741948200.0 `1741948554.010139 1741948200.0 `1741948594.010134 1741948200.0 `1741948604.010132 1741948200.0 `1741948614.010133 1741948200.0 `1741948624.010134 1741948200.0 `1741948634.010136 1741948200.0 `1741948644.01014 1741948200.0 `1741948653.009128 1741948200.0 `1741948664.010144 1741948200.0 `1741948674.010135 1741948200.0 `1741948684.010156 1741948200.0 `1741948694.01014 1741948200.0 `1741948704.010132 1741948200.0 `1741948733.010133 1741948200.0 `1741948744.010557 1741948200.0 `1741948754.010135 1741948200.0 `1741948764.010136 1741948200.0 `1741948773.009145 1741948200.0 `1741948784.010149 1741948200.0 `1741948794.010137 1741948200.0 `1741948804.010146 1741948200.0 `1741948814.010137 1741948200.0 `1741948824.010134 1741948200.0 `1741948843.009131 1741948200.0 `1741948854.010136 1741948200.0 `1741948864.010153 1741948200.0 `1741948874.010137 1741948200.0 `1741948884.010135 1741948200.0 `1741948894.010135 1741948200.0 `1741948904.010138 1741948200.0 `1741948913.009127 1741948200.0 `1741948924.010165 1741948200.0 `1741948944.010136 1741948200.0 `1741948954.010135 1741948200.0 `1741948964.010138 1741948200.0 `1741948974.010138 1741948200.0 `1741948983.009153 1741948200.0 `1741948994.01014 1741948200.0 `1741949004.01014 1741948200.0 `1741949014.010135 1741948200.0 `1741949024.010134 1741948200.0 `1741949044.010138 1741948200.0 `1741949053.009125 1741948200.0 `1741949064.010135 1741948200.0 `1741949074.010135 1741948200.0 `1741949084.010138 1741948200.0 `1741949094.010139 1741948200.0 `1741949104.010144 1741949100.0 `1741949114.010139 1741949100.0 `1741949123.009131 1741949100.0 `1741949154.010142 1741949100.0 `1741949164.01015 1741949100.0 `1741949174.010138 1741949100.0 `1741949184.010138 1741949100.0 `1741949194.010135 1741949100.0 `1741949203.009126 1741949100.0 `1741949214.010138 1741949100.0 `1741949224.010138 1741949100.0 `1741949234.010135 1741949100.0 `1741949264.010134 1741949100.0 `1741949273.009124 1741949100.0 `1741949284.010151 1741949100.0 `1741949294.010136 1741949100.0 `1741949304.010133 1741949100.0 `1741949314.010133 1741949100.0 `1741949324.010134 1741949100.0 `1741949334.010136 1741949100.0 `1741949343.009139 1741949100.0 `1741949353.010139 1741949100.0 `1741949384.010134 1741949100.0 `1741949394.010135 1741949100.0 `1741949404.01014 1741949100.0 `1741949414.010135 1741949100.0 `1741949423.009127 1741949100.0 `1741949434.010135 1741949100.0 `1741949444.010136 1741949100.0 list printed: [[0, 1], [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], [30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117], [118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209], [210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287], [288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363], [364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440], [441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491], [492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565], [566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.027035951614379883 ***** 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'] ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 0, 1: 26, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 720.9999990463257, 'nb_balles_papier': 0.00026000000000000003, 'begin_time_port': 'image_14032025_09_47_53_010141m0.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.00026000000000000003 We reject this portfolio because of the condition_save_data : 2025-03-14 09:47:53.010141 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 11, 1: 76, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999990463257, 'nb_balles_papier': 0.0008800000000000017, 'begin_time_port': 'image_14032025_10_00_04_010138m0.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.0008800000000000017 We reject this portfolio because of the condition_save_data : 2025-03-14 10:00:04.010138 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 11, 1: 76, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9989900588989, 'nb_balles_papier': 0.0009200000000000018, 'begin_time_port': 'image_14032025_10_15_13_010138m0.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.0009200000000000018 We reject this portfolio because of the condition_save_data : 2025-03-14 10:15:13.010138 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 10, 1: 66, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 891.0000021457672, 'nb_balles_papier': 0.0007800000000000014, 'begin_time_port': 'image_14032025_10_30_03_010136m0.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.0007800000000000014 We reject this portfolio because of the condition_save_data : 2025-03-14 10:30:03.010136 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: 61, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999871253967, 'nb_balles_papier': 0.0007300000000000013, 'begin_time_port': 'image_14032025_10_45_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.0007300000000000013 We reject this portfolio because of the condition_save_data : 2025-03-14 10:45:04.010150 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: 57, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 891.0009801387787, 'nb_balles_papier': 0.0007300000000000013, 'begin_time_port': 'image_14032025_11_00_03_009158m0.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.0007300000000000013 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 4, 1: 27, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999878406525, 'nb_balles_papier': 0.00035000000000000027, 'begin_time_port': 'image_14032025_11_15_04_010152m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00035000000000000027 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 8, 1: 27, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 860.0000019073486, 'nb_balles_papier': 0.00042000000000000045, 'begin_time_port': 'image_14032025_11_30_34_010137m0.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 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 1, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 339.9999918937683, 'nb_balles_papier': 3.0000000000000004e-05, 'begin_time_port': 'image_14032025_11_45_04_10144.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 3.0000000000000004e-05 We have rejected 2 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! Still a lot to verify ! Still a lot to verify ! We need to add photos : {1344121766, 1344121896, 1344121928, 1344121835, 1344121772, 1344121934, 1344121776, 1344121845, 1344121914, 1344121789} Still a lot to verify ! Qualite : 0.06400692575790945 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`=21420543 AND mptpi.`type`=3726 To do Qualite : 0.057298232949513236 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`=21421291 AND mptpi.`type`=3726 To do Qualite : 0.1195033400570333 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`=21422015 AND mptpi.`type`=3726 To do Qualite : 0.09945752503659457 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`=21422620 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 1.3035049438476562 # DISPLAY ALL COLLECTED DATA : {'14032025': {'nb_upload': 595, 'nb_taggue_class': 1902, 'nb_taggue_densite': 1902}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1344121934, 1344121928, 1344121914, 1344121896, 1344121845, 1344121835, 1344121789, 1344121776, 1344121772, 1344121766, 1344121721, 1344121716, 1344121703, 1344121693, 1344121683, 1344121667, 1344121604, 1344121600, 1344121593, 1344121588, 1344121483, 1344121459, 1344121426, 1344121412, 1344121406, 1344121398, 1344121281, 1344121253, 1344121216, 1344121187, 1344121074, 1344121051, 1344121021, 1344120958, 1344120941, 1344120918, 1344120597, 1344120586, 1344120579, 1344120575, 1344120568, 1344120524, 1344120521, 1344120513, 1344120499, 1344120492, 1344120258, 1344120257, 1344120255, 1344120253, 1344120244, 1344120239, 1344120173, 1344120170, 1344120165, 1344120162, 1344120156, 1344120066, 1344119995, 1344119932, 1344119911, 1344119876, 1344119818, 1344119759, 1344119755, 1344119750, 1344119744, 1344119716, 1344119711, 1344119706, 1344119698, 1344119683, 1344119678, 1344119611, 1344119597, 1344119566, 1344119346, 1344119304, 1344119280, 1344119268, 1344119239, 1344119205, 1344118982, 1344118954, 1344118926, 1344118882, 1344118853, 1344118822, 1344118648, 1344118615, 1344118555, 1344118494, 1344118491, 1344118419, 1344118410, 1344118354, 1344118319, 1344118006, 1344118001, 1344117993] 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, '2668899') ('4876', '21403117', '1344121934', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121928', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121914', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121896', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121845', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121835', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121789', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121776', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121772', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121766', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121721', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121716', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121703', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121693', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121683', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121667', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121604', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121600', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121593', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121588', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121483', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121459', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121426', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121412', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121406', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121398', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121281', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121253', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121216', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121187', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121074', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121051', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344121021', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120958', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120941', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120918', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120597', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120586', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120579', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120575', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120568', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120524', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120521', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120513', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120499', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120492', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120258', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120257', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120255', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120253', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120244', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120239', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120173', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120170', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120165', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120162', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120156', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344120066', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119995', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119932', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119911', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119876', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119818', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119759', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119755', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119750', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119744', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119716', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119711', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119706', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119698', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119683', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119678', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119611', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119597', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119566', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119346', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119304', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119280', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119268', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119239', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344119205', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118982', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118954', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118926', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118882', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118853', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118822', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118648', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118615', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118555', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118494', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118491', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118419', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118410', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118354', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118319', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118006', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344118001', None, None, None, None, None, '2668899') ('4876', None, None, None, None, None, None, None, '2668899') ('4876', '21403117', '1344117993', None, None, None, None, None, '2668899') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.030402183532714844 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7083637714385986 time spend to save output : 0.03126883506774902 total time spend for step 1 : 1.7396326065063477 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.66user 0.73system 0:04.33elapsed 55%CPU (0avgtext+0avgdata 105124maxresident)k 320inputs+136outputs (3major+49943minor)pagefaults 0swaps