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 : 2096062 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 : 1743>1000 please execute split_portfolio.py -i 20960306 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2629194'] with mtr_portfolio_ids : ['20960306'] and first list_photo_ids : [] new path : /proc/2096062/ 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.030156612396240234 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Mon Mar 3 12:24:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('05', 178), ('06', 292), ('07', 294), ('08', 65), ('09', 214), ('10', 295), ('11', 289), ('12', 116)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1535} 03032025 20960306 Nombre de photos uploadées : 582 / 23040 (2%) 03032025 20960306 Nombre de photos taguées (types de déchets): 1535 / 582 (263%) 03032025 20960306 Nombre de photos taguées (volume) : 1535 / 582 (263%) elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 0.0006711483001708984 ??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.05901026725769043 elapsed_time : insert_dashboard_record_day_entry 0.024094104766845703 Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.020649433135986328 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03105449676513672 ***** BEGIN SPLIT TIME ***** True 1740960000.0 `1740993834.010136 1740993300.0 `1740993844.010139 1740993300.0 `1740993864.010136 1740993300.0 `1740993873.009126 1740993300.0 `1740993884.010136 1740993300.0 `1740993894.010139 1740993300.0 `1740993904.010155 1740993300.0 `1740993914.010136 1740993300.0 `1740993924.010135 1740993300.0 `1740993934.010135 1740993300.0 `1740993944.010139 1740993300.0 `1740993954.009129 1740993300.0 `1740993984.010134 1740993300.0 `1740993994.01014 1740993300.0 `1740994004.010142 1740993300.0 `1740994014.010139 1740993300.0 `1740994024.009131 1740993300.0 `1740994034.010137 1740993300.0 `1740994044.01014 1740993300.0 `1740994054.010146 1740993300.0 `1740994064.010136 1740993300.0 `1740994084.010154 1740993300.0 `1740994094.009125 1740993300.0 `1740994104.010133 1740993300.0 `1740994114.010135 1740993300.0 `1740994124.010137 1740993300.0 `1740994134.010137 1740993300.0 `1740994144.010154 1740993300.0 `1740994154.010137 1740993300.0 `1740994164.009126 1740993300.0 `1740994174.010135 1740993300.0 `1740994204.01015 1740994200.0 `1740994214.010135 1740994200.0 `1740994224.010136 1740994200.0 `1740994234.009131 1740994200.0 `1740994244.010144 1740994200.0 `1740994254.010137 1740994200.0 `1740994264.010139 1740994200.0 `1740994274.010137 1740994200.0 `1740994284.010141 1740994200.0 `1740994294.010135 1740994200.0 `1740994324.010139 1740994200.0 `1740994334.010134 1740994200.0 `1740994344.010134 1740994200.0 `1740994354.010142 1740994200.0 `1740994364.010146 1740994200.0 `1740994374.010136 1740994200.0 `1740994384.009139 1740994200.0 `1740994394.010137 1740994200.0 `1740994404.010137 1740994200.0 `1740994414.010133 1740994200.0 `1740994434.010142 1740994200.0 `1740994444.010158 1740994200.0 `1740994454.009128 1740994200.0 `1740994464.010136 1740994200.0 `1740994474.010138 1740994200.0 `1740994484.010139 1740994200.0 `1740994494.010137 1740994200.0 `1740994504.010167 1740994200.0 `1740994514.010137 1740994200.0 `1740994524.009127 1740994200.0 `1740994554.010147 1740994200.0 `1740994564.010161 1740994200.0 `1740994574.010141 1740994200.0 `1740994584.010141 1740994200.0 `1740994594.009134 1740994200.0 `1740994604.010141 1740994200.0 `1740994614.010136 1740994200.0 `1740994624.010137 1740994200.0 `1740994634.010133 1740994200.0 `1740994654.010135 1740994200.0 `1740994664.010135 1740994200.0 `1740994674.009126 1740994200.0 `1740994684.010156 1740994200.0 `1740994694.010141 1740994200.0 `1740994704.010135 1740994200.0 `1740994714.010135 1740994200.0 `1740994744.009159 1740994200.0 `1740994754.010135 1740994200.0 `1740994764.010133 1740994200.0 `1740994774.010136 1740994200.0 `1740994784.010135 1740994200.0 `1740994794.010137 1740994200.0 `1740994804.010156 1740994200.0 `1740994814.009124 1740994200.0 `1740994824.010134 1740994200.0 `1740994854.010134 1740994200.0 `1740994864.010162 1740994200.0 `1740994874.010136 1740994200.0 `1740994884.009126 1740994200.0 `1740994894.010136 1740994200.0 `1740994904.010137 1740994200.0 `1740994914.010139 1740994200.0 `1740994924.010161 1740994200.0 `1740994934.010133 1740994200.0 `1740994954.009123 1740994200.0 `1740994964.010132 1740994200.0 `1740994974.010136 1740994200.0 `1740994984.010138 1740994200.0 `1740994994.010137 1740994200.0 `1740995004.010141 1740994200.0 `1740995014.010138 1740994200.0 `1740995024.010136 1740994200.0 `1740995054.010139 1740994200.0 `1740995064.010133 1740994200.0 `1740995074.010136 1740994200.0 `1740995084.01014 1740994200.0 `1740995094.010137 1740994200.0 `1740995104.009149 1740995100.0 `1740995114.010146 1740995100.0 `1740995124.010145 1740995100.0 `1740995154.010137 1740995100.0 `1740995164.010137 1740995100.0 `1740995174.00913 1740995100.0 `1740995184.010143 1740995100.0 `1740995194.01014 1740995100.0 `1740995204.010135 1740995100.0 `1740995214.010139 1740995100.0 `1740995224.010134 1740995100.0 `1740995234.010135 1740995100.0 `1740995254.010135 1740995100.0 `1740995264.010132 1740995100.0 `1740995274.010135 1740995100.0 `1740995284.010164 1740995100.0 `1740995294.010138 1740995100.0 `1740995304.010134 1740995100.0 `1740995314.010135 1740995100.0 `1740995324.009126 1740995100.0 `1740995334.010138 1740995100.0 `1740995374.010133 1740995100.0 `1740995384.010134 1740995100.0 `1740995394.009128 1740995100.0 `1740995404.010152 1740995100.0 `1740995414.010138 1740995100.0 `1740995424.010137 1740995100.0 `1740995434.010139 1740995100.0 `1740995444.010137 1740995100.0 `1740995454.010139 1740995100.0 `1740995464.009147 1740995100.0 `1740995484.010145 1740995100.0 `1740995494.010135 1740995100.0 `1740995504.010136 1740995100.0 `1740995514.010143 1740995100.0 `1740995524.010195 1740995100.0 `1740995544.010135 1740995100.0 `1740995554.010135 1740995100.0 `1740995564.010136 1740995100.0 `1740995574.010137 1740995100.0 `1740995604.009122 1740995100.0 `1740995614.010137 1740995100.0 `1740995624.010136 1740995100.0 `1740995634.010137 1740995100.0 `1740995644.010138 1740995100.0 `1740995654.010178 1740995100.0 `1740995664.010137 1740995100.0 `1740995674.009126 1740995100.0 `1740995704.010155 1740995100.0 `1740995714.010138 1740995100.0 `1740995724.010139 1740995100.0 `1740995734.010146 1740995100.0 `1740995744.01014 1740995100.0 `1740995754.009129 1740995100.0 `1740995764.010149 1740995100.0 `1740995774.010136 1740995100.0 `1740995784.010138 1740995100.0 `1740995814.010135 1740995100.0 `1740995824.009125 1740995100.0 `1740995834.010137 1740995100.0 `1740995844.010144 1740995100.0 `1740995854.010139 1740995100.0 `1740995864.010145 1740995100.0 `1740995874.010138 1740995100.0 `1740995894.009127 1740995100.0 `1740995904.010135 1740995100.0 `1740995914.010138 1740995100.0 `1740995924.010138 1740995100.0 `1740995934.010145 1740995100.0 `1740996014.010205 1740996000.0 `1740996025.010138 1740996000.0 `1740996035.010137 1740996000.0 `1740996045.010138 1740996000.0 `1740996074.009126 1740996000.0 `1740996084.010136 1740996000.0 `1740996095.010137 1740996000.0 `1740996105.010139 1740996000.0 `1740996115.010143 1740996000.0 `1740996125.010154 1740996000.0 `1740996135.010137 1740996000.0 `1740996144.009126 1740996000.0 `1740996164.010136 1740996000.0 `1740996175.010137 1740996000.0 `1740996185.010151 1740996000.0 `1740996195.010137 1740996000.0 `1740996205.010136 1740996000.0 `1740996215.010137 1740996000.0 `1740996224.009125 1740996000.0 `1740996234.010135 1740996000.0 `1740996245.010156 1740996000.0 `1740996265.010134 1740996000.0 `1740996275.010134 1740996000.0 `1740996285.010134 1740996000.0 `1740996294.009125 1740996000.0 `1740996304.010163 1740996000.0 `1740996315.010137 1740996000.0 `1740996325.010134 1740996000.0 `1740996335.010135 1740996000.0 `1740996364.009128 1740996000.0 `1740996374.010133 1740996000.0 `1740996385.010134 1740996000.0 `1740996395.010135 1740996000.0 `1740996405.010137 1740996000.0 `1740996415.010137 1740996000.0 `1740996425.010139 1740996000.0 `1740996435.010138 1740996000.0 `1740996454.010136 1740996000.0 `1740996465.010134 1740996000.0 `1740996475.010143 1740996000.0 `1740996485.010152 1740996000.0 `1740996495.010139 1740996000.0 `1740996505.010136 1740996000.0 `1740996514.009127 1740996000.0 `1740996524.010135 1740996000.0 `1740996555.010133 1740996000.0 `1740996565.010135 1740996000.0 `1740996575.010135 1740996000.0 `1740996584.009125 1740996000.0 `1740996594.010135 1740996000.0 `1740996605.010162 1740996000.0 `1740996615.010141 1740996000.0 `1740996635.010135 1740996000.0 `1740996645.010135 1740996000.0 `1740996654.009128 1740996000.0 `1740996664.010155 1740996000.0 `1740996675.010136 1740996000.0 `1740996685.010136 1740996000.0 `1740996695.010136 1740996000.0 `1740996705.010136 1740996000.0 `1740996725.010146 1740996000.0 `1740996734.009122 1740996000.0 `1740996744.010135 1740996000.0 `1740996755.010134 1740996000.0 `1740996765.010139 1740996000.0 `1740996785.010144 1740996000.0 `1740996795.010136 1740996000.0 `1740996804.009126 1740996000.0 `1740996814.010135 1740996000.0 `1740996825.010135 1740996000.0 `1740996855.010136 1740996000.0 `1740996865.010133 1740996000.0 `1740996874.009149 1740996000.0 `1740996884.010139 1740996000.0 `1740996895.010138 1740996000.0 `1740996905.010152 1740996900.0 `1740996915.01014 1740996900.0 `1740996925.010135 1740996900.0 `1740996944.009123 1740996900.0 `1740996954.010133 1740996900.0 `1740996965.010144 1740996900.0 `1740996975.01014 1740996900.0 `1740996985.010136 1740996900.0 `1740996995.010138 1740996900.0 `1740997005.010139 1740996900.0 `1740997015.010137 1740996900.0 `1740997045.010135 1740996900.0 `1740997055.010133 1740996900.0 `1740997065.010135 1740996900.0 `1740997075.010138 1740996900.0 `1740997085.010184 1740996900.0 `1740997094.009129 1740996900.0 `1740997104.010138 1740996900.0 `1740997115.010148 1740996900.0 `1740997145.010153 1740996900.0 `1740997155.010136 1740996900.0 `1740997164.009125 1740996900.0 `1740997174.010141 1740996900.0 `1740997185.010137 1740996900.0 `1740997195.010136 1740996900.0 `1740997205.010156 1740996900.0 `1740997244.010137 1740996900.0 `1740997255.010135 1740996900.0 `1740997265.010154 1740996900.0 `1740997275.010136 1740996900.0 `1740997285.010134 1740996900.0 `1740997295.010142 1740996900.0 `1740997304.00913 1740996900.0 `1740997314.010139 1740996900.0 `1740997345.010133 1740996900.0 `1740997355.010135 1740996900.0 `1740997365.010142 1740996900.0 `1740997374.009127 1740996900.0 `1740997384.010143 1740996900.0 `1740997394.010137 1740996900.0 `1740997405.010135 1740996900.0 `1740997415.010134 1740996900.0 `1740997425.010136 1740996900.0 `1740997454.009124 1740996900.0 `1740997464.010134 1740996900.0 `1740997475.010135 1740996900.0 `1740997485.010138 1740996900.0 `1740997495.010139 1740996900.0 `1740997505.010152 1740996900.0 `1740997515.010135 1740996900.0 `1740997524.009125 1740996900.0 `1740997555.010135 1740996900.0 `1740997565.010155 1740996900.0 `1740997575.010142 1740996900.0 `1740997585.01014 1740996900.0 `1740997594.009139 1740996900.0 `1740997604.01014 1740996900.0 `1740997615.010141 1740996900.0 `1740997625.010138 1740996900.0 `1740997635.010138 1740996900.0 `1740997665.010143 1740996900.0 `1740997674.009126 1740996900.0 `1740997684.010144 1740996900.0 `1740997695.010136 1740996900.0 `1740997705.010135 1740996900.0 `1740997715.010144 1740996900.0 `1740997725.010138 1740996900.0 `1740997735.010137 1740996900.0 `1740997744.009134 1740996900.0 `1740997775.010134 1740996900.0 `1740997785.010134 1740996900.0 `1740997795.010136 1740996900.0 `1740997805.010159 1740997800.0 `1740997814.009126 1740997800.0 `1740997824.010135 1740997800.0 `1740997835.01014 1740997800.0 `1740997845.010143 1740997800.0 `1740997855.010136 1740997800.0 `1740997875.010135 1740997800.0 `1740997884.009123 1740997800.0 `1740997894.010135 1740997800.0 `1740997905.010136 1740997800.0 `1740997915.010136 1740997800.0 `1740997925.010154 1740997800.0 `1740997935.010135 1740997800.0 `1740997964.010134 1740997800.0 `1740997975.010135 1740997800.0 `1740997985.01015 1740997800.0 `1740997995.010136 1740997800.0 `1740998005.010136 1740997800.0 `1740998015.010141 1740997800.0 `1740998034.009128 1740997800.0 `1740998044.010147 1740997800.0 `1740998055.010136 1740997800.0 `1740998065.010135 1740997800.0 `1740998075.010135 1740997800.0 `1740998085.010138 1740997800.0 `1740998095.010136 1740997800.0 `1740998104.009135 1740997800.0 `1740998125.010132 1740997800.0 `1740998135.01014 1740997800.0 `1740998145.010135 1740997800.0 `1740998155.010137 1740997800.0 `1740998165.010154 1740997800.0 `1740998174.009126 1740997800.0 `1740998184.010137 1740997800.0 `1740998195.010134 1740997800.0 `1740998225.010153 1740997800.0 `1740998235.010135 1740997800.0 `1740998244.009127 1740997800.0 `1740998254.010138 1740997800.0 `1740998264.010139 1740997800.0 `1740998275.010137 1740997800.0 `1740998285.010143 1740997800.0 `1740998295.010136 1740997800.0 `1740998324.009123 1740997800.0 `1740998334.010142 1740997800.0 `1740998345.010147 1740997800.0 `1740998355.010138 1740997800.0 `1740998365.010139 1740997800.0 `1740998375.010134 1740997800.0 `1740998385.01014 1740997800.0 `1740998394.009129 1740997800.0 `1740998425.010133 1740997800.0 `1740998435.010132 1740997800.0 `1740998445.010136 1740997800.0 `1740998455.010136 1740997800.0 `1740998464.009142 1740997800.0 `1740998474.010138 1740997800.0 `1740998485.010136 1740997800.0 `1740998495.010139 1740997800.0 `1740998505.010139 1740997800.0 `1740998534.009168 1740997800.0 `1740998544.010132 1740997800.0 `1740998555.010135 1740997800.0 `1740998565.010137 1740997800.0 `1740998575.010138 1740997800.0 `1740998585.01016 1740997800.0 `1740998595.010136 1740997800.0 `1740998605.010138 1740997800.0 `1740998614.009127 1740997800.0 `1740998624.01014 1740997800.0 `1740998665.010134 1740997800.0 `1740998675.010135 1740997800.0 `1740998684.009126 1740997800.0 `1740998694.010136 1740997800.0 `1740998705.010152 1740998700.0 `1740998715.010137 1740998700.0 `1740998725.010136 1740998700.0 `1740998735.010141 1740998700.0 `1740998745.010136 1740998700.0 `1740998754.009126 1740998700.0 `1740998764.010161 1740998700.0 `1740998795.010134 1740998700.0 `1740998805.010137 1740998700.0 `1740998815.010139 1740998700.0 `1740998824.009144 1740998700.0 `1740998834.01014 1740998700.0 `1740998845.010136 1740998700.0 `1740998855.010136 1740998700.0 `1740998865.010137 1740998700.0 `1740998875.010137 1740998700.0 `1740998904.009125 1740998700.0 `1740998914.010134 1740998700.0 `1740998925.010137 1740998700.0 `1740998935.010139 1740998700.0 `1740998945.010155 1740998700.0 `1740998955.010135 1740998700.0 `1740998965.010135 1740998700.0 `1740998995.010137 1740998700.0 `1740999005.010147 1740998700.0 `1740999015.010138 1740998700.0 `1740999025.010136 1740998700.0 `1740999035.010143 1740998700.0 `1740999044.009141 1740998700.0 `1740999054.010138 1740998700.0 `1740999065.010137 1740998700.0 `1740999075.010137 1740998700.0 `1740999105.010135 1740998700.0 `1740999114.009126 1740998700.0 `1740999124.01014 1740998700.0 `1740999135.010137 1740998700.0 `1740999145.010136 1740998700.0 `1740999155.010137 1740998700.0 `1740999165.010151 1740998700.0 `1740999175.01014 1740998700.0 `1740999184.009139 1740998700.0 `1740999225.010133 1740998700.0 `1740999235.010139 1740998700.0 `1740999245.010142 1740998700.0 `1740999255.010136 1740998700.0 `1740999264.009125 1740998700.0 `1740999274.010145 1740998700.0 `1740999295.010135 1740998700.0 `1740999305.010153 1740998700.0 `1740999315.010135 1740998700.0 `1740999325.010135 1740998700.0 `1740999334.009124 1740998700.0 `1740999344.010136 1740998700.0 `1740999355.010134 1740998700.0 `1740999365.010147 1740998700.0 `1740999375.010134 1740998700.0 `1740999385.01014 1740998700.0 `1740999395.010138 1740998700.0 `1740999404.009126 1740998700.0 `1740999414.010135 1740998700.0 `1740999425.010151 1740998700.0 `1740999455.010134 1740998700.0 `1740999465.010134 1740998700.0 `1740999475.010139 1740998700.0 `1740999484.009147 1740998700.0 `1740999494.01014 1740998700.0 `1740999505.010137 1740998700.0 `1740999535.010134 1740998700.0 `1740999614.010202 1740999600.0 `1740999634.010145 1740999600.0 `1740999644.010135 1740999600.0 `1740999654.010136 1740999600.0 `1740999665.010159 1740999600.0 `1740999674.009124 1740999600.0 `1740999684.010174 1740999600.0 `1740999694.010137 1740999600.0 `1740999704.010137 1740999600.0 `1740999714.010135 1740999600.0 `1740999744.009125 1740999600.0 `1740999754.010137 1740999600.0 `1740999764.01014 1740999600.0 `1740999774.01014 1740999600.0 `1740999784.010149 1740999600.0 `1740999794.010135 1740999600.0 `1740999805.01014 1740999600.0 `1740999814.009125 1740999600.0 `1740999824.010136 1740999600.0 `1740999854.010135 1740999600.0 `1740999864.010135 1740999600.0 `1740999875.010135 1740999600.0 `1740999885.010139 1740999600.0 `1740999894.009126 1740999600.0 `1740999904.010152 1740999600.0 `1740999914.010135 1740999600.0 `1740999934.010133 1740999600.0 `1740999945.010135 1740999600.0 `1740999955.010145 1740999600.0 `1740999964.009135 1740999600.0 `1740999974.010136 1740999600.0 `1740999984.010134 1740999600.0 `1740999994.010135 1740999600.0 `1741000004.010137 1740999600.0 `1741000014.010137 1740999600.0 `1741000034.009125 1740999600.0 `1741000044.010138 1740999600.0 `1741000054.010135 1740999600.0 `1741000064.010142 1740999600.0 `1741000074.010137 1740999600.0 `1741000084.010159 1740999600.0 `1741000095.010136 1740999600.0 `1741000104.009124 1740999600.0 `1741000124.010133 1740999600.0 `1741000134.010134 1740999600.0 `1741000144.010149 1740999600.0 `1741000154.010134 1740999600.0 `1741000165.010137 1740999600.0 `1741000175.010136 1740999600.0 `1741000184.009126 1740999600.0 `1741000194.010136 1740999600.0 `1741000214.010135 1740999600.0 `1741000224.010133 1740999600.0 `1741000235.010132 1740999600.0 `1741000245.010137 1740999600.0 `1741000254.009127 1740999600.0 `1741000264.010163 1740999600.0 `1741000274.010137 1740999600.0 `1741000284.010137 1740999600.0 `1741000294.010135 1740999600.0 `1741000315.010137 1740999600.0 `1741000324.00913 1740999600.0 `1741000334.010138 1740999600.0 `1741000344.010134 1740999600.0 `1741000354.010134 1740999600.0 `1741000364.010134 1740999600.0 `1741000374.010137 1740999600.0 `1741000385.010134 1740999600.0 `1741000404.009124 1740999600.0 `1741000414.010135 1740999600.0 `1741000424.010134 1740999600.0 `1741000434.010135 1740999600.0 `1741000444.010145 1740999600.0 `1741000455.010137 1740999600.0 `1741000465.010135 1740999600.0 `1741000494.010138 1740999600.0 `1741000504.010145 1741000500.0 `1741000514.010135 1741000500.0 `1741000524.010136 1741000500.0 `1741000535.010141 1741000500.0 `1741000544.009132 1741000500.0 `1741000554.010134 1741000500.0 `1741000574.010134 1741000500.0 `1741000584.010134 1741000500.0 `1741000594.010133 1741000500.0 `1741000605.010135 1741000500.0 `1741000615.010138 1741000500.0 `1741000624.009149 1741000500.0 `1741000634.010136 1741000500.0 `1741000644.010143 1741000500.0 `1741000675.010136 1741000500.0 `1741000685.010171 1741000500.0 `1741000694.00913 1741000500.0 `1741000704.010135 1741000500.0 `1741000714.010136 1741000500.0 `1741000724.010137 1741000500.0 `1741000734.010137 1741000500.0 `1741000745.010141 1741000500.0 `1741000764.009122 1741000500.0 `1741000774.010134 1741000500.0 `1741000784.010135 1741000500.0 `1741000794.010138 1741000500.0 `1741000804.010138 1741000500.0 `1741000814.010138 1741000500.0 `1741000825.010135 1741000500.0 `1741000844.009124 1741000500.0 `1741000854.010135 1741000500.0 `1741000864.010151 1741000500.0 `1741000874.010137 1741000500.0 `1741000884.010137 1741000500.0 `1741000895.010135 1741000500.0 `1741000905.010136 1741000500.0 `1741000914.009128 1741000500.0 `1741000924.010139 1741000500.0 `1741000954.010136 1741000500.0 `1741000965.010134 1741000500.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.024243831634521484 ***** END SPLIT TIME ***** NUMBER BATCH : 9 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '03032025', 'map_nb_amount': {0: 1, 1: 25, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 339.9999990463257, 'nb_balles_papier': 0.00027000000000000006, 'begin_time_port': 'image_03032025_10_23_54_010136m0.jpg 6e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00027000000000000006 We reject this portfolio because of the condition_save_data : 2025-03-03 10:23:54.010136 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '03032025', 'map_nb_amount': {0: 5, 1: 58, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999871253967, 'nb_balles_papier': 0.0006700000000000011, 'begin_time_port': 'image_03032025_10_30_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.0006700000000000011 We reject this portfolio because of the condition_save_data : 2025-03-03 10:30:04.010150 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '03032025', 'map_nb_amount': {0: 3, 1: 48, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 830.0009958744049, 'nb_balles_papier': 0.0005300000000000007, 'begin_time_port': 'image_03032025_10_45_04_009149m0.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.0005300000000000007 We reject this portfolio because of the condition_save_data : 2025-03-03 10:45:04.009149 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '03032025', 'map_nb_amount': {0: 4, 1: 55, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.9999330043793, 'nb_balles_papier': 0.000620000000000001, 'begin_time_port': 'image_03032025_11_00_14_10205.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.000620000000000001 We reject this portfolio because of the condition_save_data : 2025-03-03 11:00:14.010205 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '03032025', 'map_nb_amount': {0: 5, 1: 60, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999837875366, 'nb_balles_papier': 0.0006900000000000012, 'begin_time_port': 'image_03032025_11_15_05_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.0006900000000000012 We reject this portfolio because of the condition_save_data : 2025-03-03 11:15:05.010152 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '03032025', 'map_nb_amount': {0: 1, 1: 55, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 888.9999768733978, 'nb_balles_papier': 0.0005700000000000008, 'begin_time_port': 'image_03032025_11_30_05_010159m0.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.0005700000000000008 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '03032025', 'map_nb_amount': {0: 3, 1: 44, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.999981880188, 'nb_balles_papier': 0.0005100000000000007, 'begin_time_port': 'image_03032025_11_45_05_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 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '03032025', 'map_nb_amount': {0: 5, 1: 36, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 879.9999361038208, 'nb_balles_papier': 0.0004300000000000005, 'begin_time_port': 'image_03032025_12_00_14_10202.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004300000000000005 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '03032025', 'map_nb_amount': {0: 0, 1: 5, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 460.99998903274536, 'nb_balles_papier': 6e-05, 'begin_time_port': 'image_03032025_12_15_04_10145.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 6e-05 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 ! Still a lot to verify ! We need to add photos : {1340616608, 1340616674, 1340616619, 1340616623, 1340616627, 1340616661, 1340616663, 1340616633, 1340616668, 1340616638} Still a lot to verify ! Qualite : 0.08530765634694021 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`=20971841 AND mptpi.`type`=3726 To do Qualite : 0.09038174805835421 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`=20972467 AND mptpi.`type`=3726 To do Qualite : 0.07410755076568899 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`=20973314 AND mptpi.`type`=3726 To do Qualite : 0.055650259253351465 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`=20974054 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 6.195960998535156 # DISPLAY ALL COLLECTED DATA : {'03032025': {'nb_upload': 582, 'nb_taggue_class': 1535, 'nb_taggue_densite': 1535}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340616674, 1340616668, 1340616663, 1340616661, 1340616638, 1340616633, 1340616627, 1340616623, 1340616619, 1340616608, 1340616540, 1340616527, 1340616475, 1340616469, 1340616463, 1340616431, 1340616418, 1340616408, 1340616400, 1340616390, 1340616358, 1340616350, 1340616334, 1340616322, 1340616320, 1340616310, 1340616272, 1340616264, 1340616256, 1340616242, 1340616186, 1340616179, 1340616175, 1340616171, 1340616168, 1340615982, 1340615978, 1340615972, 1340615968, 1340615956, 1340615952, 1340615891, 1340615888, 1340615883, 1340615880, 1340615835, 1340615818, 1340615806, 1340615799, 1340615795, 1340615754, 1340615744, 1340615742, 1340615737, 1340615734, 1340615731, 1340615709, 1340615705, 1340615695, 1340615685, 1340615678, 1340615622, 1340615615, 1340615610, 1340615607, 1340615604, 1340615557, 1340615549, 1340615523, 1340615517, 1340615509, 1340615503, 1340615467, 1340615458, 1340615451, 1340615445, 1340615441, 1340615394, 1340615374, 1340615365, 1340615353, 1340615337, 1340615287, 1340615281, 1340615275, 1340615270, 1340615268, 1340615264, 1340615236, 1340615230, 1340615226, 1340615221, 1340615217, 1340615177, 1340615172, 1340615162, 1340615151, 1340615143, 1340615110, 1340615104] Looping around the photos to save general results len do output : 1 /20960306Didn'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, '2629194') ('4876', '20960306', '1340616674', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616668', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616663', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616661', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616638', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616633', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616627', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616623', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616619', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616608', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616540', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616527', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616475', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616469', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616463', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616431', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616418', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616408', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616400', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616390', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616358', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616350', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616334', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616322', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616320', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616310', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616272', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616264', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616256', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616242', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616186', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616179', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616175', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616171', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340616168', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615982', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615978', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615972', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615968', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615956', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615952', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615891', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615888', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615883', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615880', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615835', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615818', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615806', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615799', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615795', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615754', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615744', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615742', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615737', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615734', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615731', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615709', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615705', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615695', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615685', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615678', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615622', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615615', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615610', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615607', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615604', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615557', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615549', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615523', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615517', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615509', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615503', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615467', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615458', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615451', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615445', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615441', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615394', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615374', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615365', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615353', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615337', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615287', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615281', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615275', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615270', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615268', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615264', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615236', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615230', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615226', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615221', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615217', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615177', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615172', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615162', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615151', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615143', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615110', None, None, None, None, None, '2629194') ('4876', None, None, None, None, None, None, None, '2629194') ('4876', '20960306', '1340615104', None, None, None, None, None, '2629194') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.025375843048095703 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.549018859863281 time spend to save output : 0.026181936264038086 total time spend for step 1 : 6.575200796127319 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.57user 0.77system 0:09.81elapsed 23%CPU (0avgtext+0avgdata 103796maxresident)k 0inputs+144outputs (0major+49663minor)pagefaults 0swaps