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 : 3553780 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 : 2130>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 : ['2668947'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/3553780/ 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.02630019187927246 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 12:04:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 11), ('01', 4), ('02', 12), ('03', 7), ('04', 8), ('05', 264), ('06', 372), ('07', 309), ('08', 354), ('09', 175), ('10', 334), ('11', 269), ('12', 11)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1959, 2: 2} 14032025 21403117 Nombre de photos uploadées : 602 / 23040 (2%) 14032025 21403117 Nombre de photos taguées (types de déchets): 1961 / 602 (325%) 14032025 21403117 Nombre de photos taguées (volume) : 1961 / 602 (325%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 0.0007648468017578125 ??????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.056386470794677734 elapsed_time : insert_dashboard_record_day_entry 0.027840137481689453 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 elapsed_time : list_photo_by_hashtags 0.024544239044189453 photos_removed : len 0 elapsed_time : load_duplicate_info 0.027512788772583008 ***** BEGIN SPLIT TIME ***** True 1741910400.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 `1741949454.010138 1741949100.0 `1741949464.010139 1741949100.0 `1741949504.010135 1741949100.0 `1741949514.010138 1741949100.0 `1741949524.01016 1741949100.0 `1741949534.010141 1741949100.0 `1741949544.010138 1741949100.0 `1741949554.010138 1741949100.0 `1741949563.009129 1741949100.0 `1741949574.010138 1741949100.0 `1741949584.010142 1741949100.0 `1741949594.010135 1741949100.0 `1741949624.010133 1741949100.0 `1741949634.010135 1741949100.0 `1741949643.009139 1741949100.0 `1741949654.010137 1741949100.0 `1741949664.010136 1741949100.0 `1741949674.010139 1741949100.0 `1741949694.010139 1741949100.0 `1741949704.010151 1741949100.0 `1741949713.009131 1741949100.0 `1741949724.010137 1741949100.0 `1741949734.010138 1741949100.0 `1741949764.010139 1741949100.0 `1741949774.01014 1741949100.0 `1741949783.009125 1741949100.0 `1741949794.010134 1741949100.0 `1741949804.010137 1741949100.0 `1741949814.010139 1741949100.0 `1741949824.010138 1741949100.0 `1741949834.010136 1741949100.0 `1741949844.01014 1741949100.0 `1741949884.010139 1741949100.0 `1741949894.010138 1741949100.0 `1741949904.010136 1741949100.0 `1741949914.010144 1741949100.0 `1741949924.010142 1741949100.0 `1741949933.00913 1741949100.0 `1741950014.010208 1741950000.0 `1741950024.010138 1741950000.0 `1741950044.010135 1741950000.0 `1741950054.010135 1741950000.0 `1741950064.010161 1741950000.0 `1741950073.009128 1741950000.0 `1741950094.010136 1741950000.0 `1741950104.010139 1741950000.0 `1741950114.01014 1741950000.0 `1741950124.010141 1741950000.0 `1741950134.010136 1741950000.0 list printed: [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75], [76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167], [168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245], [246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321], [322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398], [399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449], [450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523], [524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590], [591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.02196812629699707 ***** END SPLIT TIME ***** NUMBER BATCH : 9 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 9, 1: 66, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 711.0010101795197, 'nb_balles_papier': 0.0007600000000000013, 'begin_time_port': 'image_14032025_10_02_53_009127m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0007600000000000013 We reject this portfolio because of the condition_save_data : 2025-03-14 10:02:53.009127 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 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 7, 1: 63, 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.0007600000000000013, '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.0007600000000000013 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 We reject this portfolio because of the condition_save_data : 2025-03-14 11:00:03.009158 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 30, 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.00038000000000000035, '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.00038000000000000035 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 9, 1: 33, 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.0004900000000000006, '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.0004900000000000006 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 11, 1: 32, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 828.9989860057831, 'nb_balles_papier': 0.0004900000000000006, 'begin_time_port': 'image_14032025_11_45_04_010144m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004900000000000006 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 119.99992799758911, 'nb_balles_papier': 0, 'begin_time_port': 'image_14032025_12_00_14_10208.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! Still a lot to verify ! We need to add photos : {1344123401} Still a lot to verify ! Still a lot to verify ! list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__14032025_12_00_14_010208&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 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.07661277847232792 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 There was a bug due to new port without datou_current_id # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21423427 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 4.58765435218811 # DISPLAY ALL COLLECTED DATA : {'14032025': {'nb_upload': 602, 'nb_taggue_class': 1961, 'nb_taggue_densite': 1961}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1344123951, 1344123948, 1344123946, 1344123786, 1344123782, 1344123776, 1344123746, 1344123716, 1344123401, 1344123376, 1344123344, 1344123318, 1344123148, 1344123142, 1344123136, 1344123129, 1344123123, 1344123088, 1344122675, 1344122644, 1344122617, 1344122392, 1344122383, 1344122373, 1344122372, 1344122367, 1344122359, 1344122316, 1344122308, 1344122296, 1344122288, 1344122235, 1344122226, 1344122214, 1344122205, 1344122196, 1344122154, 1344122142, 1344122128, 1344122123, 1344122103, 1344122097, 1344122089, 1344122082, 1344122075, 1344122060, 1344121989, 1344121986, 1344121983, 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] 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, '2668947') ('4876', '21403117', '1344123951', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123948', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123946', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123786', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123782', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123776', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123746', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123716', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123401', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123376', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123344', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123318', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123148', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123142', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123136', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123129', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123123', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344123088', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122675', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122644', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122617', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122392', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122383', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122373', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122372', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122367', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122359', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122316', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122308', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122296', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122288', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122235', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122226', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122214', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122205', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122196', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122154', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122142', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122128', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122123', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122103', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122097', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122089', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122082', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122075', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344122060', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121989', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121986', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121983', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121934', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121928', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121914', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121896', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121845', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121835', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121789', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121776', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121772', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121766', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121721', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121716', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121703', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121693', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121683', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121667', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121604', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121600', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121593', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121588', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121483', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121459', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121426', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121412', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121406', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121398', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121281', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121253', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121216', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121187', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121074', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121051', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344121021', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120958', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120941', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120918', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120597', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120586', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120579', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120575', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120568', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120524', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120521', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120513', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120499', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120492', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120258', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120257', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120255', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120253', None, None, None, None, None, '2668947') ('4876', None, None, None, None, None, None, None, '2668947') ('4876', '21403117', '1344120244', None, None, None, None, None, '2668947') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02545332908630371 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.993903398513794 time spend to save output : 0.02637195587158203 total time spend for step 1 : 5.020275354385376 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.32user 0.68system 0:09.00elapsed 22%CPU (0avgtext+0avgdata 105712maxresident)k 48inputs+136outputs (11major+49952minor)pagefaults 0swaps