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 : 3698027 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 : 2305>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 : ['2669059'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/3698027/ 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.028409719467163086 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:42:30 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', 186)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 2139, 2: 2} 14032025 21403117 Nombre de photos uploadées : 551 / 23040 (2%) 14032025 21403117 Nombre de photos taguées (types de déchets): 2141 / 551 (388%) 14032025 21403117 Nombre de photos taguées (volume) : 2141 / 551 (388%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 0.0007872581481933594 ?????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.048970699310302734 elapsed_time : insert_dashboard_record_day_entry 0.025157928466796875 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 elapsed_time : list_photo_by_hashtags 0.02005910873413086 photos_removed : len 0 elapsed_time : load_duplicate_info 0.02797222137451172 ***** BEGIN SPLIT TIME ***** True 1741910400.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 `1741950174.010137 1741950000.0 `1741950184.010143 1741950000.0 `1741950194.010138 1741950000.0 `1741950204.010143 1741950000.0 `1741950224.009131 1741950000.0 `1741950234.010138 1741950000.0 `1741950254.010143 1741950000.0 `1741950264.010136 1741950000.0 `1741950274.010136 1741950000.0 `1741950284.010137 1741950000.0 `1741950293.009125 1741950000.0 `1741950304.010159 1741950000.0 `1741950314.010141 1741950000.0 `1741950354.010138 1741950000.0 `1741950363.009137 1741950000.0 `1741950374.010137 1741950000.0 `1741950384.010138 1741950000.0 `1741950404.010136 1741950000.0 `1741950414.010135 1741950000.0 `1741950424.010164 1741950000.0 `1741950433.009126 1741950000.0 `1741950444.010132 1741950000.0 `1741950454.010136 1741950000.0 `1741950464.01014 1741950000.0 `1741950474.010135 1741950000.0 `1741950494.010141 1741950000.0 `1741950503.009126 1741950000.0 `1741950534.010136 1741950000.0 `1741950544.010149 1741950000.0 `1741950554.010135 1741950000.0 `1741950564.010136 1741950000.0 `1741950574.010136 1741950000.0 `1741950584.009126 1741950000.0 `1741950594.010138 1741950000.0 `1741950614.010141 1741950000.0 `1741950624.010134 1741950000.0 `1741950634.01014 1741950000.0 `1741950644.010134 1741950000.0 `1741950653.00913 1741950000.0 `1741950664.010151 1741950000.0 `1741950704.010133 1741950000.0 `1741950714.010136 1741950000.0 `1741950723.009151 1741950000.0 `1741950734.010149 1741950000.0 `1741950744.010137 1741950000.0 `1741950754.01014 1741950000.0 `1741950764.010141 1741950000.0 `1741950774.010136 1741950000.0 `1741950784.010138 1741950000.0 `1741950793.009126 1741950000.0 `1741950804.010135 1741950000.0 `1741950814.010134 1741950000.0 `1741950824.010131 1741950000.0 `1741950854.010135 1741950000.0 `1741950864.010133 1741950000.0 `1741950874.009125 1741950000.0 `1741950884.010141 1741950000.0 `1741950894.010138 1741950000.0 `1741950904.010149 1741950900.0 `1741950914.010137 1741950900.0 `1741950924.010134 1741950900.0 `1741950934.010133 1741950900.0 `1741950943.009126 1741950900.0 `1741950954.010136 1741950900.0 `1741950964.010147 1741950900.0 `1741950974.010137 1741950900.0 `1741951004.010134 1741950900.0 `1741951013.009124 1741950900.0 `1741951024.010155 1741950900.0 `1741951034.010138 1741950900.0 `1741951044.010143 1741950900.0 `1741951054.010151 1741950900.0 `1741951064.010142 1741950900.0 `1741951074.010138 1741950900.0 `1741951083.00914 1741950900.0 `1741951094.010137 1741950900.0 `1741951124.010134 1741950900.0 `1741951134.010135 1741950900.0 `1741951144.01014 1741950900.0 `1741951154.010139 1741950900.0 `1741951164.009128 1741950900.0 `1741951174.010135 1741950900.0 `1741951184.010136 1741950900.0 `1741951194.010137 1741950900.0 `1741951204.010142 1741950900.0 `1741951214.010137 1741950900.0 `1741951224.010135 1741950900.0 `1741951254.010136 1741950900.0 `1741951264.010149 1741950900.0 `1741951274.010136 1741950900.0 `1741951294.010135 1741950900.0 `1741951303.009126 1741950900.0 `1741951314.010145 1741950900.0 `1741951324.010136 1741950900.0 `1741951334.010136 1741950900.0 `1741951344.010136 1741950900.0 `1741951354.010136 1741950900.0 `1741951364.010136 1741950900.0 `1741951374.010136 1741950900.0 `1741951414.010135 1741950900.0 `1741951424.010137 1741950900.0 `1741951434.01014 1741950900.0 `1741951444.010145 1741950900.0 `1741951453.009128 1741950900.0 `1741951464.010139 1741950900.0 `1741951474.010136 1741950900.0 `1741951564.010156 1741950900.0 `1741951574.010142 1741950900.0 `1741951584.010138 1741950900.0 `1741951593.00914 1741950900.0 `1741951614.010138 1741950900.0 `1741951624.010136 1741950900.0 `1741951654.010134 1741950900.0 `1741951663.009125 1741950900.0 `1741951674.010136 1741950900.0 `1741951684.010143 1741950900.0 `1741951694.010138 1741950900.0 `1741951714.010143 1741950900.0 `1741951724.010139 1741950900.0 `1741951734.010138 1741950900.0 `1741951744.009134 1741950900.0 `1741951754.010136 1741950900.0 `1741951764.010136 1741950900.0 `1741951774.010136 1741950900.0 `1741951784.01014 1741950900.0 `1741951794.010143 1741950900.0 `1741951834.010132 1741951800.0 `1741951844.010133 1741951800.0 `1741951854.010137 1741951800.0 `1741951864.01015 1741951800.0 `1741951874.010136 1741951800.0 `1741951883.009124 1741951800.0 `1741951894.010141 1741951800.0 `1741951904.010142 1741951800.0 `1741951914.010136 1741951800.0 `1741951924.010148 1741951800.0 `1741951934.010139 1741951800.0 `1741951944.010135 1741951800.0 `1741951974.010142 1741951800.0 `1741951984.010153 1741951800.0 `1741951994.010137 1741951800.0 `1741952014.010139 1741951800.0 `1741952024.010137 1741951800.0 `1741952034.009128 1741951800.0 `1741952044.010145 1741951800.0 `1741952054.010135 1741951800.0 `1741952064.010133 1741951800.0 `1741952074.010134 1741951800.0 `1741952084.010136 1741951800.0 `1741952114.01014 1741951800.0 `1741952124.010134 1741951800.0 `1741952134.010137 1741951800.0 `1741952144.010135 1741951800.0 `1741952154.010137 1741951800.0 `1741952164.010153 1741951800.0 `1741952173.009125 1741951800.0 `1741952184.010135 1741951800.0 `1741952194.010136 1741951800.0 `1741952204.01014 1741951800.0 `1741952214.010137 1741951800.0 `1741952224.01015 1741951800.0 `1741952254.010134 1741951800.0 `1741952264.010134 1741951800.0 `1741952274.010137 1741951800.0 `1741952284.010163 1741951800.0 `1741952294.010139 1741951800.0 `1741952304.010135 1741951800.0 `1741952314.010145 1741951800.0 `1741952324.009134 1741951800.0 `1741952334.010137 1741951800.0 `1741952344.010167 1741951800.0 `1741952364.010143 1741951800.0 `1741952374.010138 1741951800.0 `1741952384.010134 1741951800.0 `1741952414.010137 1741951800.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.02190423011779785 ***** 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: 3, 1: 16, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 241.00000095367432, 'nb_balles_papier': 0.0002, 'begin_time_port': 'image_14032025_10_40_53_010137m0.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.0002 We reject this portfolio because of the condition_save_data : 2025-03-14 10:40:53.010137 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 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 9, 1: 61, 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.0007700000000000014, '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.0007700000000000014 We reject this portfolio because of the condition_save_data : 2025-03-14 11:00:03.009158 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 7, 1: 40, 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.0005100000000000007, '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.0005100000000000007 We reject this portfolio because of the condition_save_data : 2025-03-14 11:15:04.010152 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 16, 1: 48, 2: 10, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 860.0000019073486, 'nb_balles_papier': 0.0007400000000000013, '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.0007400000000000013 We reject this portfolio because of the condition_save_data : 2025-03-14 11:30:34.010137 result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 15, 1: 45, 2: 7, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 828.9989860057831, 'nb_balles_papier': 0.0006700000000000011, '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.0006700000000000011 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 2, 1: 41, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999301433563, 'nb_balles_papier': 0.0004700000000000006, 'begin_time_port': 'image_14032025_12_00_14_010208m0.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.0004700000000000006 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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: 2, 1: 46, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999940395355, 'nb_balles_papier': 0.0005200000000000007, 'begin_time_port': 'image_14032025_12_15_04_010149m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005200000000000007 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '14032025', 'map_nb_amount': {0: 2, 1: 18, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 580.0000050067902, 'nb_balles_papier': 0.00021, 'begin_time_port': 'image_14032025_12_30_34_010132m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00021 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 4 Still a lot to verify ! {21423525: [{'mtr_photo_id': 1344127052, 'mtr_portfolio_id': 21423525, 'datou_current_id': 2668958}, We expect two at most portfolio with same photos and datou_carac_id : 2 Still a lot to verify ! Still a lot to verify ! We need to add photos : {1344129472, 1344129488, 1344129494, 1344129723, 1344129500, 1344129693} Still a lot to verify ! Qualite : 0.07479094384437589 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`=21422620 AND mptpi.`type`=3726 To do Qualite : 0.057572172271024236 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`=21423525 AND mptpi.`type`=3726 To do Qualite : 0.04973608262112386 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`=21424132 AND mptpi.`type`=3726 To do Qualite : 0.13745732310651104 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`=21424672 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 2.9219484329223633 # DISPLAY ALL COLLECTED DATA : {'14032025': {'nb_upload': 551, 'nb_taggue_class': 2141, 'nb_taggue_densite': 2141}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1344129723, 1344129693, 1344129500, 1344129494, 1344129488, 1344129472, 1344129438, 1344129430, 1344129421, 1344129411, 1344129404, 1344129397, 1344129337, 1344129309, 1344129303, 1344129290, 1344129247, 1344129239, 1344129222, 1344129220, 1344129213, 1344129201, 1344129158, 1344129155, 1344129151, 1344129147, 1344129142, 1344129106, 1344129102, 1344129098, 1344129091, 1344129077, 1344129010, 1344129005, 1344128992, 1344128985, 1344128980, 1344128916, 1344128910, 1344128906, 1344128901, 1344128881, 1344128873, 1344128868, 1344128852, 1344128845, 1344128782, 1344128417, 1344128393, 1344128366, 1344128329, 1344128326, 1344128325, 1344128314, 1344128310, 1344128290, 1344128234, 1344128233, 1344128229, 1344128226, 1344128221, 1344128174, 1344128172, 1344128165, 1344128155, 1344128116, 1344128113, 1344128112, 1344128105, 1344128100, 1344127995, 1344127990, 1344127985, 1344127981, 1344127942, 1344127940, 1344127929, 1344127892, 1344127888, 1344127885, 1344127881, 1344127873, 1344127868, 1344127830, 1344127818, 1344127815, 1344127810, 1344127804, 1344127738, 1344127724, 1344127690, 1344127684, 1344127623, 1344127466, 1344127369, 1344127366, 1344127360, 1344127354, 1344127265, 1344127260] 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, '2669059') ('4876', '21403117', '1344129723', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129693', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129500', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129494', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129488', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129472', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129438', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129430', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129421', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129411', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129404', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129397', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129337', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129309', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129303', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129290', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129247', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129239', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129222', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129220', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129213', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129201', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129158', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129155', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129151', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129147', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129142', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129106', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129102', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129098', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129091', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129077', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129010', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344129005', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128992', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128985', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128980', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128916', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128910', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128906', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128901', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128881', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128873', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128868', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128852', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128845', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128782', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128417', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128393', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128366', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128329', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128326', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128325', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128314', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128310', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128290', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128234', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128233', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128229', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128226', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128221', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128174', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128172', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128165', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128155', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128116', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128113', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128112', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128105', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344128100', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127995', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127990', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127985', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127981', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127942', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127940', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127929', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127892', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127888', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127885', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127881', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127873', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127868', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127830', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127818', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127815', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127810', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127804', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127738', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127724', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127690', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127684', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127623', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127466', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127369', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127366', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127360', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127354', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127265', None, None, None, None, None, '2669059') ('4876', None, None, None, None, None, None, None, '2669059') ('4876', '21403117', '1344127260', None, None, None, None, None, '2669059') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 2.158672571182251 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4148383140563965 time spend to save output : 2.1595914363861084 total time spend for step 1 : 5.574429750442505 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.42user 0.55system 0:09.99elapsed 19%CPU (0avgtext+0avgdata 104840maxresident)k 0inputs+136outputs (5major+49795minor)pagefaults 0swaps