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 : 3967233 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 : 1946>1000 please execute split_portfolio.py -i 20899997 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2622853'] with mtr_portfolio_ids : ['20899997'] and first list_photo_ids : [] new path : /proc/3967233/ 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.02721858024597168 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Feb 28 08:58:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 179), ('01', 91), ('02', 259), ('03', 272), ('04', 42), ('05', 256), ('06', 274), ('07', 286), ('08', 287)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1791} 28022025 20899997 Nombre de photos uploadées : 583 / 23040 (2%) 28022025 20899997 Nombre de photos taguées (types de déchets): 1791 / 583 (307%) 28022025 20899997 Nombre de photos taguées (volume) : 1791 / 583 (307%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0004210472106933594 ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.05486488342285156 elapsed_time : insert_dashboard_record_day_entry 0.023705244064331055 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 elapsed_time : list_photo_by_hashtags 0.022608041763305664 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03165149688720703 ***** BEGIN SPLIT TIME ***** True 1740700800.0 `1740722274.010137 1740721500.0 `1740722284.010167 1740721500.0 `1740722293.009126 1740721500.0 `1740722313.010136 1740721500.0 `1740722323.010135 1740721500.0 `1740722334.010133 1740721500.0 `1740722354.010013 1740721500.0 `1740722364.010145 1740721500.0 `1740722374.010136 1740721500.0 `1740722394.010134 1740721500.0 `1740722404.010137 1740722400.0 `1740722415.010137 1740722400.0 `1740722425.010139 1740722400.0 `1740722434.009125 1740722400.0 `1740722444.010138 1740722400.0 `1740722454.010135 1740722400.0 `1740722464.010143 1740722400.0 `1740722495.010133 1740722400.0 `1740722504.009127 1740722400.0 `1740722514.010136 1740722400.0 `1740722524.010139 1740722400.0 `1740722534.010135 1740722400.0 `1740722544.010136 1740722400.0 `1740722554.010134 1740722400.0 `1740722565.010135 1740722400.0 `1740722584.009139 1740722400.0 `1740722594.010133 1740722400.0 `1740722604.010135 1740722400.0 `1740722614.010136 1740722400.0 `1740722624.010138 1740722400.0 `1740722635.010139 1740722400.0 `1740722645.010163 1740722400.0 `1740722654.009136 1740722400.0 `1740722674.010133 1740722400.0 `1740722684.010133 1740722400.0 `1740722694.010141 1740722400.0 `1740722704.010152 1740722400.0 `1740722715.010136 1740722400.0 `1740722724.009125 1740722400.0 `1740722734.010134 1740722400.0 `1740722744.010135 1740722400.0 `1740722764.010135 1740722400.0 `1740722774.010135 1740722400.0 `1740722785.010134 1740722400.0 `1740722794.009123 1740722400.0 `1740722804.010139 1740722400.0 `1740722814.010137 1740722400.0 `1740722824.010134 1740722400.0 `1740722834.010181 1740722400.0 `1740722844.010131 1740722400.0 `1740722865.010135 1740722400.0 `1740722874.009125 1740722400.0 `1740722884.01016 1740722400.0 `1740722894.01014 1740722400.0 `1740722904.010134 1740722400.0 `1740722914.010136 1740722400.0 `1740722925.010136 1740722400.0 `1740722944.009138 1740722400.0 `1740722954.010134 1740722400.0 `1740722964.010134 1740722400.0 `1740722974.010134 1740722400.0 `1740722984.010139 1740722400.0 `1740722994.010136 1740722400.0 `1740723005.010152 1740722400.0 `1740723014.009127 1740722400.0 `1740723024.010135 1740722400.0 `1740723034.010135 1740722400.0 `1740723044.010142 1740722400.0 `1740723064.010143 1740722400.0 `1740723075.010133 1740722400.0 `1740723084.009126 1740722400.0 `1740723094.010134 1740722400.0 `1740723104.010133 1740722400.0 `1740723114.010139 1740722400.0 `1740723124.010161 1740722400.0 `1740723134.010135 1740722400.0 `1740723155.010134 1740722400.0 `1740723164.009122 1740722400.0 `1740723174.010134 1740722400.0 `1740723184.010138 1740722400.0 `1740723194.010136 1740722400.0 `1740723204.01014 1740722400.0 `1740723214.010135 1740722400.0 `1740723225.010137 1740722400.0 `1740723234.009122 1740722400.0 `1740723254.010138 1740722400.0 `1740723264.010132 1740722400.0 `1740723274.010135 1740722400.0 `1740723284.010135 1740722400.0 `1740723295.010137 1740722400.0 `1740723304.009148 1740723300.0 `1740723314.010133 1740723300.0 `1740723324.010137 1740723300.0 `1740723344.010134 1740723300.0 `1740723344.010134 1740723300.0 `1740723354.010135 1740723300.0 `1740723354.010135 1740723300.0 `1740723365.010135 1740723300.0 `1740723365.010135 1740723300.0 `1740723375.010136 1740723300.0 `1740723375.010136 1740723300.0 `1740723384.009127 1740723300.0 `1740723384.009127 1740723300.0 `1740723394.010139 1740723300.0 `1740723394.010139 1740723300.0 `1740723404.010135 1740723300.0 `1740723424.01015 1740723300.0 `1740723434.010136 1740723300.0 `1740723445.010135 1740723300.0 `1740723454.009124 1740723300.0 `1740723464.010133 1740723300.0 `1740723494.010135 1740723300.0 `1740723504.010132 1740723300.0 `1740723515.010134 1740723300.0 `1740723524.009124 1740723300.0 `1740723534.010135 1740723300.0 `1740723544.010145 1740723300.0 `1740723554.010136 1740723300.0 `1740723564.01014 1740723300.0 `1740723585.010133 1740723300.0 `1740723595.010133 1740723300.0 `1740723604.009137 1740723300.0 `1740723614.010141 1740723300.0 `1740723644.010135 1740723300.0 `1740723674.009126 1740723300.0 `1740723694.010135 1740723300.0 `1740723704.010137 1740723300.0 `1740723744.009124 1740723300.0 `1740723754.010134 1740723300.0 `1740723764.010134 1740723300.0 `1740723774.010135 1740723300.0 `1740723784.010141 1740723300.0 `1740723794.010134 1740723300.0 `1740723805.010133 1740723300.0 `1740723815.010135 1740723300.0 `1740723844.010137 1740723300.0 `1740723854.010133 1740723300.0 `1740723864.010134 1740723300.0 `1740723874.010136 1740723300.0 `1740723885.010136 1740723300.0 `1740723894.009124 1740723300.0 `1740723904.010139 1740723300.0 `1740723914.010135 1740723300.0 `1740723944.010133 1740723300.0 `1740723955.010136 1740723300.0 `1740723965.010137 1740723300.0 `1740723974.009125 1740723300.0 `1740723984.010136 1740723300.0 `1740723994.010135 1740723300.0 `1740724004.010135 1740723300.0 `1740724014.010135 1740723300.0 `1740724035.010135 1740723300.0 `1740724044.009124 1740723300.0 `1740724054.010135 1740723300.0 `1740724064.010139 1740723300.0 `1740724074.010144 1740723300.0 `1740724084.010146 1740723300.0 `1740724094.010137 1740723300.0 `1740724105.010135 1740723300.0 `1740724134.010133 1740723300.0 `1740724144.010149 1740723300.0 `1740724154.010135 1740723300.0 `1740724164.010139 1740723300.0 `1740724175.010149 1740723300.0 `1740724185.010136 1740723300.0 `1740724194.009122 1740723300.0 `1740724214.010132 1740724200.0 `1740724224.010132 1740724200.0 `1740724234.010134 1740724200.0 `1740724244.010135 1740724200.0 `1740724255.010136 1740724200.0 `1740724264.009143 1740724200.0 `1740724274.010135 1740724200.0 `1740724284.010136 1740724200.0 `1740724294.010133 1740724200.0 `1740724314.010139 1740724200.0 `1740724325.01017 1740724200.0 `1740724364.01014 1740724200.0 `1740724374.010135 1740724200.0 `1740724395.010136 1740724200.0 `1740724404.009124 1740724200.0 `1740724434.010136 1740724200.0 `1740724444.010139 1740724200.0 `1740724454.01014 1740724200.0 `1740724465.010139 1740724200.0 `1740724475.010145 1740724200.0 `1740724484.009135 1740724200.0 `1740724494.010143 1740724200.0 `1740724504.010143 1740724200.0 `1740724514.01014 1740724200.0 `1740724524.010136 1740724200.0 `1740724545.010138 1740724200.0 `1740724554.00913 1740724200.0 `1740724564.010161 1740724200.0 `1740724574.010138 1740724200.0 `1740724584.010136 1740724200.0 `1740724594.010135 1740724200.0 `1740724615.010137 1740724200.0 `1740724624.009141 1740724200.0 `1740724654.010137 1740724200.0 `1740724674.010137 1740724200.0 `1740724714.010145 1740724200.0 `1740724764.009125 1740724200.0 `1740724774.010136 1740724200.0 `1740724784.010133 1740724200.0 `1740724844.009124 1740724200.0 `1740724854.010135 1740724200.0 `1740724864.010154 1740724200.0 `1740724874.010136 1740724200.0 `1740724884.010142 1740724200.0 `1740724895.010144 1740724200.0 `1740724905.010141 1740724200.0 `1740724914.009127 1740724200.0 `1740724954.010132 1740724200.0 `1740724964.010136 1740724200.0 `1740724975.010138 1740724200.0 `1740724984.00914 1740724200.0 `1740724994.010136 1740724200.0 `1740725004.010135 1740724200.0 `1740725014.010143 1740724200.0 `1740725045.010147 1740724200.0 `1740725054.009129 1740724200.0 `1740725064.01014 1740724200.0 `1740725074.010153 1740724200.0 `1740725084.010144 1740724200.0 `1740725094.010138 1740724200.0 `1740725104.010142 1740725100.0 `1740725115.010142 1740725100.0 `1740725134.010138 1740725100.0 `1740725144.010135 1740725100.0 `1740725154.010136 1740725100.0 `1740725164.010148 1740725100.0 `1740725174.010138 1740725100.0 `1740725185.010137 1740725100.0 `1740725195.010135 1740725100.0 `1740725204.009127 1740725100.0 `1740725214.010136 1740725100.0 `1740725234.010134 1740725100.0 `1740725244.010141 1740725100.0 `1740725254.010134 1740725100.0 `1740725265.010136 1740725100.0 `1740725274.009126 1740725100.0 `1740725364.010141 1740725100.0 `1740725374.010143 1740725100.0 `1740725384.010139 1740725100.0 `1740725405.010137 1740725100.0 `1740725414.009124 1740725100.0 `1740725454.010135 1740725100.0 `1740725464.01015 1740725100.0 `1740725475.010138 1740725100.0 `1740725485.010134 1740725100.0 `1740725494.009134 1740725100.0 `1740725504.010139 1740725100.0 `1740725514.010135 1740725100.0 `1740725534.010133 1740725100.0 `1740725545.010133 1740725100.0 `1740725555.010134 1740725100.0 `1740725564.009126 1740725100.0 `1740725574.010141 1740725100.0 `1740725584.01015 1740725100.0 `1740725594.010136 1740725100.0 `1740725614.010133 1740725100.0 `1740725625.010134 1740725100.0 `1740725634.009127 1740725100.0 `1740725644.010153 1740725100.0 `1740725654.010154 1740725100.0 `1740725664.01014 1740725100.0 `1740725674.010144 1740725100.0 `1740725684.010136 1740725100.0 `1740725704.009133 1740725100.0 `1740725714.010134 1740725100.0 `1740725724.010137 1740725100.0 `1740725734.010135 1740725100.0 `1740725744.010136 1740725100.0 `1740725754.010137 1740725100.0 `1740725765.010161 1740725100.0 `1740725794.010133 1740725100.0 `1740725804.010133 1740725100.0 `1740725814.010142 1740725100.0 `1740725824.010154 1740725100.0 `1740725835.010135 1740725100.0 `1740725845.010134 1740725100.0 `1740725854.009128 1740725100.0 `1740725864.010141 1740725100.0 `1740725874.010135 1740725100.0 `1740725894.010136 1740725100.0 `1740725905.010134 1740725100.0 `1740725915.010134 1740725100.0 `1740725924.009129 1740725100.0 `1740725934.010132 1740725100.0 `1740725934.010132 1740725100.0 `1740725953.010001 1740725100.0 `1740725953.010001 1740725100.0 `1740725963.010147 1740725100.0 `1740725963.010147 1740725100.0 `1740725973.010136 1740725100.0 `1740726004.010151 1740726000.0 `1740726014.010137 1740726000.0 `1740726024.010139 1740726000.0 `1740726033.009138 1740726000.0 `1740726043.010134 1740726000.0 `1740726053.010137 1740726000.0 `1740726064.010144 1740726000.0 `1740726084.010139 1740726000.0 `1740726094.010133 1740726000.0 `1740726103.009125 1740726000.0 `1740726113.01015 1740726000.0 `1740726123.010142 1740726000.0 `1740726134.010144 1740726000.0 `1740726144.010135 1740726000.0 `1740726154.010134 1740726000.0 `1740726183.010147 1740726000.0 `1740726193.010137 1740726000.0 `1740726203.010137 1740726000.0 `1740726214.010142 1740726000.0 `1740726224.010141 1740726000.0 `1740726234.010138 1740726000.0 `1740726243.009134 1740726000.0 `1740726253.010149 1740726000.0 `1740726263.010138 1740726000.0 `1740726273.010137 1740726000.0 `1740726304.010153 1740726000.0 `1740726314.010134 1740726000.0 `1740726323.009125 1740726000.0 `1740726333.010145 1740726000.0 `1740726343.010142 1740726000.0 `1740726354.010138 1740726000.0 `1740726364.010146 1740726000.0 `1740726374.010142 1740726000.0 `1740726384.010133 1740726000.0 `1740726403.010134 1740726000.0 `1740726413.010134 1740726000.0 `1740726424.010145 1740726000.0 `1740726434.010134 1740726000.0 `1740726444.010135 1740726000.0 `1740726454.010135 1740726000.0 `1740726463.009125 1740726000.0 `1740726483.010168 1740726000.0 `1740726494.010139 1740726000.0 `1740726504.010133 1740726000.0 `1740726514.010135 1740726000.0 `1740726543.010152 1740726000.0 `1740726553.010139 1740726000.0 `1740726563.010143 1740726000.0 `1740726574.010137 1740726000.0 `1740726584.01014 1740726000.0 `1740726594.010135 1740726000.0 `1740726603.009126 1740726000.0 `1740726613.010138 1740726000.0 `1740726623.010135 1740726000.0 `1740726633.010136 1740726000.0 `1740726644.010135 1740726000.0 `1740726674.010134 1740726000.0 `1740726683.00913 1740726000.0 `1740726693.010135 1740726000.0 `1740726703.010137 1740726000.0 `1740726714.010135 1740726000.0 `1740726724.010167 1740726000.0 `1740726734.010139 1740726000.0 `1740726744.010135 1740726000.0 `1740726753.009124 1740726000.0 `1740726763.010139 1740726000.0 `1740726773.010137 1740726000.0 `1740726784.010151 1740726000.0 `1740726794.010134 1740726000.0 `1740726804.010136 1740726000.0 `1740726814.010138 1740726000.0 `1740726823.009125 1740726000.0 `1740726833.010136 1740726000.0 `1740726843.010151 1740726000.0 `1740726853.010136 1740726000.0 `1740726864.010134 1740726000.0 `1740726894.010134 1740726000.0 `1740726903.009138 1740726900.0 `1740726913.01014 1740726900.0 `1740726923.010137 1740726900.0 `1740726934.010135 1740726900.0 `1740726944.010136 1740726900.0 `1740726954.01014 1740726900.0 `1740726964.01014 1740726900.0 `1740726983.010136 1740726900.0 `1740726993.010136 1740726900.0 `1740727004.010137 1740726900.0 `1740727014.010137 1740726900.0 `1740727024.010153 1740726900.0 `1740727034.010137 1740726900.0 `1740727043.009132 1740726900.0 `1740727053.010138 1740726900.0 `1740727063.010138 1740726900.0 `1740727073.010139 1740726900.0 `1740727084.010143 1740726900.0 `1740727113.009124 1740726900.0 `1740727123.010134 1740726900.0 `1740727133.010137 1740726900.0 `1740727143.010147 1740726900.0 `1740727154.010142 1740726900.0 `1740727164.010141 1740726900.0 `1740727174.010143 1740726900.0 `1740727203.010141 1740726900.0 `1740727213.010134 1740726900.0 `1740727224.010134 1740726900.0 `1740727234.010145 1740726900.0 `1740727244.010137 1740726900.0 `1740727254.010139 1740726900.0 `1740727263.009143 1740726900.0 `1740727273.010145 1740726900.0 `1740727283.010143 1740726900.0 `1740727294.010133 1740726900.0 `1740727314.010136 1740726900.0 `1740727324.010178 1740726900.0 `1740727333.009124 1740726900.0 `1740727343.010135 1740726900.0 `1740727353.010135 1740726900.0 `1740727364.010139 1740726900.0 `1740727374.010137 1740726900.0 `1740727384.01015 1740726900.0 `1740727394.010136 1740726900.0 `1740727423.010134 1740726900.0 `1740727433.010136 1740726900.0 `1740727444.010166 1740726900.0 `1740727454.010138 1740726900.0 `1740727464.010134 1740726900.0 `1740727473.009125 1740726900.0 `1740727483.01014 1740726900.0 `1740727493.010142 1740726900.0 `1740727524.01014 1740726900.0 `1740727534.010134 1740726900.0 `1740727543.009128 1740726900.0 `1740727553.010137 1740726900.0 `1740727563.010147 1740726900.0 `1740727573.010147 1740726900.0 `1740727584.010137 1740726900.0 `1740727594.010142 1740726900.0 `1740727614.010136 1740726900.0 `1740727623.009136 1740726900.0 `1740727633.010136 1740726900.0 `1740727643.010136 1740726900.0 `1740727654.010135 1740726900.0 `1740727664.010135 1740726900.0 `1740727674.010136 1740726900.0 `1740727684.010139 1740726900.0 `1740727713.010133 1740726900.0 `1740727723.010136 1740726900.0 `1740727734.010138 1740726900.0 `1740727744.010151 1740726900.0 `1740727754.010135 1740726900.0 `1740727763.009125 1740726900.0 `1740727773.010139 1740726900.0 `1740727793.010135 1740726900.0 `1740727804.010141 1740727800.0 `1740727814.010135 1740727800.0 `1740727824.010136 1740727800.0 `1740727834.010135 1740727800.0 `1740727843.009124 1740727800.0 `1740727853.010136 1740727800.0 `1740727884.010135 1740727800.0 `1740727894.010133 1740727800.0 `1740727904.010138 1740727800.0 `1740727913.009129 1740727800.0 `1740727923.010155 1740727800.0 `1740727933.010144 1740727800.0 `1740727944.010135 1740727800.0 `1740727954.01014 1740727800.0 `1740727964.010141 1740727800.0 `1740727974.010138 1740727800.0 `1740728003.010134 1740727800.0 `1740728013.010134 1740727800.0 `1740728024.010136 1740727800.0 `1740728034.010142 1740727800.0 `1740728044.010158 1740727800.0 `1740728053.009133 1740727800.0 `1740728063.010137 1740727800.0 `1740728073.010142 1740727800.0 `1740728114.01014 1740727800.0 `1740728123.009131 1740727800.0 `1740728133.010142 1740727800.0 `1740728143.010145 1740727800.0 `1740728153.010141 1740727800.0 `1740728164.010147 1740727800.0 `1740728174.010137 1740727800.0 `1740728184.010137 1740727800.0 `1740728193.009126 1740727800.0 `1740728203.010136 1740727800.0 `1740728213.010137 1740727800.0 `1740728223.010141 1740727800.0 `1740728254.010133 1740727800.0 `1740728264.010137 1740727800.0 `1740728273.009127 1740727800.0 `1740728283.010141 1740727800.0 `1740728293.010141 1740727800.0 `1740728304.010134 1740727800.0 `1740728314.010141 1740727800.0 `1740728324.010139 1740727800.0 `1740728334.010138 1740727800.0 `1740728374.010142 1740727800.0 `1740728384.010138 1740727800.0 `1740728394.010138 1740727800.0 `1740728404.010142 1740727800.0 `1740728413.009125 1740727800.0 `1740728423.010136 1740727800.0 `1740728433.010136 1740727800.0 `1740728464.010146 1740727800.0 `1740728474.010135 1740727800.0 `1740728483.009133 1740727800.0 `1740728493.010139 1740727800.0 `1740728503.010141 1740727800.0 `1740728513.010136 1740727800.0 `1740728524.010151 1740727800.0 `1740728534.010141 1740727800.0 `1740728563.010135 1740727800.0 `1740728573.010143 1740727800.0 `1740728583.010151 1740727800.0 `1740728594.010136 1740727800.0 `1740728604.010136 1740727800.0 `1740728614.010139 1740727800.0 `1740728623.009134 1740727800.0 `1740728653.010137 1740727800.0 `1740728664.010134 1740727800.0 `1740728674.010136 1740727800.0 `1740728684.010138 1740727800.0 `1740728694.010137 1740727800.0 `1740728703.009141 1740728700.0 `1740728713.010142 1740728700.0 `1740728723.010144 1740728700.0 `1740728734.010139 1740728700.0 `1740728744.010138 1740728700.0 `1740728764.010154 1740728700.0 `1740728773.009127 1740728700.0 `1740728783.010137 1740728700.0 `1740728793.010137 1740728700.0 `1740728804.010135 1740728700.0 `1740728814.010136 1740728700.0 `1740728824.01016 1740728700.0 `1740728834.010134 1740728700.0 `1740728843.009127 1740728700.0 `1740728863.010133 1740728700.0 `1740728873.010135 1740728700.0 `1740728884.010151 1740728700.0 `1740728894.010139 1740728700.0 `1740728904.010134 1740728700.0 `1740728913.009126 1740728700.0 `1740728923.010137 1740728700.0 `1740728933.010138 1740728700.0 `1740728943.01016 1740728700.0 `1740728963.009583 1740728700.0 `1740728973.010133 1740728700.0 `1740728983.010135 1740728700.0 `1740728994.010138 1740728700.0 `1740729004.010169 1740728700.0 `1740729014.010137 1740728700.0 `1740729023.009125 1740728700.0 `1740729033.010135 1740728700.0 `1740729064.01015 1740728700.0 `1740729074.010133 1740728700.0 `1740729084.010139 1740728700.0 `1740729094.010135 1740728700.0 `1740729103.009127 1740728700.0 `1740729113.010137 1740728700.0 `1740729123.010159 1740728700.0 `1740729134.010136 1740728700.0 `1740729154.010133 1740728700.0 `1740729164.010135 1740728700.0 `1740729173.009125 1740728700.0 `1740729183.010154 1740728700.0 `1740729193.010142 1740728700.0 `1740729204.010138 1740728700.0 `1740729214.010137 1740728700.0 `1740729224.010142 1740728700.0 `1740729234.010138 1740728700.0 `1740729263.010135 1740728700.0 `1740729274.010135 1740728700.0 `1740729284.010139 1740728700.0 `1740729294.010139 1740728700.0 `1740729304.01015 1740728700.0 `1740729313.00913 1740728700.0 `1740729323.010139 1740728700.0 `1740729333.010141 1740728700.0 `1740729343.010142 1740728700.0 `1740729364.010149 1740728700.0 `1740729374.010142 1740728700.0 `1740729383.009126 1740728700.0 `1740729393.010137 1740728700.0 `1740729403.010139 1740728700.0 list printed: [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89], [90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165], [166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225], [226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295], [296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372], [373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448], [449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520], [521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.02167201042175293 ***** 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': '28022025', 'map_nb_amount': {0: 2, 1: 8, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 119.99999690055847, 'nb_balles_papier': 0.0001, 'begin_time_port': 'image_28022025_06_57_54_010137m0.jpg 6e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0001 We reject this portfolio because of the condition_save_data : 2025-02-28 06:57:54.010137 result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 7, 1: 72, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 891.0, 'nb_balles_papier': 0.0008000000000000014, 'begin_time_port': 'image_28022025_07_00_04_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.0008000000000000014 We reject this portfolio because of the condition_save_data : 2025-02-28 07:00:04.010137 result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 7, 1: 66, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999740123749, 'nb_balles_papier': 0.0007600000000000013, 'begin_time_port': 'image_28022025_07_15_04_009148m0.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-02-28 07:15:04.009148 ERROR missing amount info result_one_balle_Type_JRM:{'day': '28022025', 'map_nb_amount': {0: 5, 1: 53, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.0000059604645, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_28022025_07_30_14_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.0005900000000000009 We reject this portfolio because of the condition_save_data : 2025-02-28 07:30:14.010132 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': '28022025', 'map_nb_amount': {0: 13, 1: 51, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 868.999993801117, 'nb_balles_papier': 0.000640000000000001, 'begin_time_port': 'image_28022025_07_45_04_010142m0.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.000640000000000001 We reject this portfolio because of the condition_save_data : 2025-02-28 07:45:04.010142 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '28022025', 'map_nb_amount': {0: 9, 1: 56, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999830722809, 'nb_balles_papier': 0.0006700000000000011, 'begin_time_port': 'image_28022025_08_00_04_10151.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 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '28022025', 'map_nb_amount': {0: 4, 1: 33, 2: 3, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 890.0009968280792, 'nb_balles_papier': 0.0004000000000000004, 'begin_time_port': 'image_28022025_08_15_03_009138m0.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.0004000000000000004 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '28022025', 'map_nb_amount': {0: 5, 1: 32, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 889.9999961853027, 'nb_balles_papier': 0.0004100000000000004, 'begin_time_port': 'image_28022025_08_30_04_10141.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004100000000000004 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '28022025', 'map_nb_amount': {0: 1, 1: 18, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 700.0009980201721, 'nb_balles_papier': 0.00021, 'begin_time_port': 'image_28022025_08_45_03_009141m0.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 ! Still a lot to verify ! Still a lot to verify ! We need to add photos : {1340099618, 1340099718, 1340099594, 1340099665, 1340099667, 1340099605, 1340099669, 1340099607, 1340099705, 1340099707, 1340099613} Still a lot to verify ! Qualite : 0.091494975935373 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`=20915703 AND mptpi.`type`=3726 To do Qualite : 0.08369197115265549 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`=20916353 AND mptpi.`type`=3726 To do Qualite : 0.07647040179178075 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`=20917018 AND mptpi.`type`=3726 To do Qualite : 0.06941105969177379 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`=20917662 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.7210249900817871 # DISPLAY ALL COLLECTED DATA : {'28022025': {'nb_upload': 583, 'nb_taggue_class': 1791, 'nb_taggue_densite': 1791}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340099718, 1340099707, 1340099705, 1340099669, 1340099667, 1340099665, 1340099618, 1340099613, 1340099607, 1340099605, 1340099594, 1340099548, 1340099537, 1340099530, 1340099523, 1340099488, 1340099457, 1340099455, 1340099410, 1340099408, 1340099399, 1340099190, 1340099187, 1340099184, 1340099139, 1340099113, 1340098497, 1340098354, 1340098256, 1340098209, 1340098207, 1340098205, 1340098042, 1340098039, 1340098036, 1340098033, 1340098001, 1340097997, 1340097988, 1340097986, 1340097978, 1340097952, 1340097949, 1340097938, 1340097929, 1340097926, 1340097917, 1340097804, 1340097801, 1340097794, 1340097791, 1340097789, 1340097766, 1340097760, 1340097753, 1340097744, 1340097743, 1340097739, 1340097687, 1340097682, 1340097679, 1340097677, 1340097675, 1340097649, 1340097645, 1340097641, 1340097639, 1340097637, 1340097608, 1340097605, 1340097601, 1340097599, 1340097594, 1340097563, 1340097559, 1340097556, 1340097550, 1340097471, 1340097464, 1340097461, 1340097456, 1340097448, 1340097442, 1340097416, 1340097412, 1340097409, 1340097407, 1340097368, 1340097366, 1340097362, 1340097339, 1340097333, 1340097330, 1340097327, 1340097325, 1340097323, 1340097182, 1340097164, 1340097115, 1340097111] Looping around the photos to save general results len do output : 1 /20899997Didn'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, '2622853') ('4876', '20899997', '1340099718', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099707', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099705', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099669', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099667', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099665', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099618', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099613', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099607', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099605', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099594', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099548', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099537', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099530', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099523', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099488', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099457', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099455', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099410', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099408', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099399', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099190', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099187', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099184', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099139', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340099113', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340098497', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340098354', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340098256', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340098209', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340098207', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340098205', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340098042', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340098039', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340098036', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340098033', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340098001', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097997', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097988', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097986', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097978', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097952', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097949', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097938', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097929', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097926', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097917', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097804', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097801', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097794', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097791', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097789', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097766', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097760', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097753', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097744', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097743', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097739', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097687', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097682', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097679', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097677', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097675', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097649', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097645', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097641', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097639', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097637', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097608', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097605', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097601', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097599', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097594', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097563', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097559', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097556', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097550', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097471', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097464', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097461', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097456', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097448', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097442', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097416', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097412', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097409', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097407', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097368', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097366', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097362', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097339', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097333', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097330', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097327', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097325', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097323', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097182', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097164', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097115', None, None, None, None, None, '2622853') ('4876', None, None, None, None, None, None, None, '2622853') ('4876', '20899997', '1340097111', None, None, None, None, None, '2622853') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.028304576873779297 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0830307006835938 time spend to save output : 0.029211044311523438 total time spend for step 1 : 1.1122417449951172 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.20user 0.33system 0:05.16elapsed 29%CPU (0avgtext+0avgdata 104264maxresident)k 0inputs+144outputs (32major+49845minor)pagefaults 0swaps