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 : 815174 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 : 1424>1000 please execute split_portfolio.py -i 21319625 -l 1000 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4876, datou_cur_ids : ['2661346'] with mtr_portfolio_ids : ['21319625'] and first list_photo_ids : [] new path : /proc/815174/ 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.08045816421508789 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Wed Mar 12 07:22:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('00', 195), ('01', 106), ('02', 207), ('03', 215), ('04', 165), ('05', 181), ('06', 250), ('07', 105)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 1252} 12032025 21319625 Nombre de photos uploadées : 464 / 23040 (2%) 12032025 21319625 Nombre de photos taguées (types de déchets): 1252 / 464 (269%) 12032025 21319625 Nombre de photos taguées (volume) : 1252 / 464 (269%) elapsed_time : load_data_split_time_score 5.0067901611328125e-06 elapsed_time : order_list_meta_photo_and_scores 0.0005667209625244141 ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0495758056640625 elapsed_time : insert_dashboard_record_day_entry 0.023609161376953125 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 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.019232988357543945 photos_removed : len 0 elapsed_time : load_duplicate_info 0.03787565231323242 ***** BEGIN SPLIT TIME ***** True 1741737600.0 `1741753253.009125 1741752900.0 `1741753263.01017 1741752900.0 `1741753273.010139 1741752900.0 `1741753283.010135 1741752900.0 `1741753294.01014 1741752900.0 `1741753304.010141 1741752900.0 `1741753314.010137 1741752900.0 `1741753323.009129 1741752900.0 `1741753333.010139 1741752900.0 `1741753343.010137 1741752900.0 `1741753374.010135 1741752900.0 `1741753384.010143 1741752900.0 `1741753393.009125 1741752900.0 `1741753403.010136 1741752900.0 `1741753413.010136 1741752900.0 `1741753423.010139 1741752900.0 `1741753433.010139 1741752900.0 `1741753444.010153 1741752900.0 `1741753454.010139 1741752900.0 `1741753463.009126 1741752900.0 `1741753473.010138 1741752900.0 `1741753483.010138 1741752900.0 `1741753493.010142 1741752900.0 `1741753503.010151 1741752900.0 `1741753514.010145 1741752900.0 `1741753524.010141 1741752900.0 `1741753534.010133 1741752900.0 `1741753563.010151 1741752900.0 `1741753573.010139 1741752900.0 `1741753584.010134 1741752900.0 `1741753594.01014 1741752900.0 `1741753604.010139 1741752900.0 `1741753613.009127 1741752900.0 `1741753623.010153 1741752900.0 `1741753633.01014 1741752900.0 `1741753643.010135 1741752900.0 `1741753654.010135 1741752900.0 `1741753664.010142 1741752900.0 `1741753674.010139 1741752900.0 `1741753683.009157 1741752900.0 `1741753693.010141 1741752900.0 `1741753703.010136 1741752900.0 `1741753713.010137 1741752900.0 `1741753724.010137 1741752900.0 `1741753734.010134 1741752900.0 `1741753773.010135 1741752900.0 `1741753814.010138 1741753800.0 `1741753824.010134 1741753800.0 `1741753833.009131 1741753800.0 `1741753853.010138 1741753800.0 `1741753863.010163 1741753800.0 `1741753874.01014 1741753800.0 `1741753884.010141 1741753800.0 `1741753894.010135 1741753800.0 `1741753903.009126 1741753800.0 `1741753923.010154 1741753800.0 `1741753933.01014 1741753800.0 `1741753944.010142 1741753800.0 `1741753964.010136 1741753800.0 `1741753983.010146 1741753800.0 `1741754003.010135 1741753800.0 `1741754014.010137 1741753800.0 `1741754024.010141 1741753800.0 `1741754034.010139 1741753800.0 `1741754073.010134 1741753800.0 `1741754094.010139 1741753800.0 `1741754104.01014 1741753800.0 `1741754113.009131 1741753800.0 `1741754153.010141 1741753800.0 `1741754183.009129 1741753800.0 `1741754223.010163 1741753800.0 `1741754234.01014 1741753800.0 `1741754244.010144 1741753800.0 `1741754483.010142 1741753800.0 `1741754543.009126 1741753800.0 `1741754563.010142 1741753800.0 `1741754573.01014 1741753800.0 `1741754584.010143 1741753800.0 `1741754604.010136 1741753800.0 `1741754623.010139 1741753800.0 `1741754654.01014 1741753800.0 `1741754664.010134 1741753800.0 `1741754703.010157 1741754700.0 `1741754724.010143 1741754700.0 `1741754744.010143 1741754700.0 `1741754874.010139 1741754700.0 `1741754884.010142 1741754700.0 `1741754893.009128 1741754700.0 `1741754913.010142 1741754700.0 `1741754923.010139 1741754700.0 `1741754933.010137 1741754700.0 `1741754944.01015 1741754700.0 `1741754954.010133 1741754700.0 `1741754973.010136 1741754700.0 `1741754983.010142 1741754700.0 `1741755024.010136 1741754700.0 `1741755034.010138 1741754700.0 `1741755094.010143 1741754700.0 `1741755164.010142 1741754700.0 `1741755174.010135 1741754700.0 `1741755413.010142 1741754700.0 `1741755423.01014 1741754700.0 `1741755454.010142 1741754700.0 `1741755463.009133 1741754700.0 `1741755473.010137 1741754700.0 `1741755483.010192 1741754700.0 `1741755504.010137 1741754700.0 `1741755524.010143 1741754700.0 `1741755533.009132 1741754700.0 `1741755614.010204 1741755600.0 `1741755624.010141 1741755600.0 `1741755665.010149 1741755600.0 `1741755674.009123 1741755600.0 `1741755684.010142 1741755600.0 `1741755694.010143 1741755600.0 `1741755704.010142 1741755600.0 `1741755714.01014 1741755600.0 `1741755725.01016 1741755600.0 `1741755735.010136 1741755600.0 `1741755744.009126 1741755600.0 `1741755754.010137 1741755600.0 `1741755764.010136 1741755600.0 `1741755774.010138 1741755600.0 `1741755784.010139 1741755600.0 `1741755794.010143 1741755600.0 `1741755805.01014 1741755600.0 `1741755844.01015 1741755600.0 `1741755854.010138 1741755600.0 `1741755864.010133 1741755600.0 `1741755875.010137 1741755600.0 `1741755885.010138 1741755600.0 `1741755894.00913 1741755600.0 `1741755904.010194 1741755600.0 `1741755914.010135 1741755600.0 `1741755924.010136 1741755600.0 `1741755934.010134 1741755600.0 `1741755945.010134 1741755600.0 `1741755955.010136 1741755600.0 `1741755964.009131 1741755600.0 `1741755984.010135 1741755600.0 `1741755994.010137 1741755600.0 `1741756025.010143 1741755600.0 `1741756034.009125 1741755600.0 `1741756074.010135 1741755600.0 `1741756084.010149 1741755600.0 `1741756095.010138 1741755600.0 `1741756104.009124 1741755600.0 `1741756114.01014 1741755600.0 `1741756124.01014 1741755600.0 `1741756134.010146 1741755600.0 `1741756144.010152 1741755600.0 `1741756154.010134 1741755600.0 `1741756165.010135 1741755600.0 `1741756175.010134 1741755600.0 `1741756184.009131 1741755600.0 `1741756194.010135 1741755600.0 `1741756204.010152 1741755600.0 `1741756245.010133 1741755600.0 `1741756254.009125 1741755600.0 `1741756264.010158 1741755600.0 `1741756274.010136 1741755600.0 `1741756284.010136 1741755600.0 `1741756294.010144 1741755600.0 `1741756305.010139 1741755600.0 `1741756315.010141 1741755600.0 `1741756344.010136 1741755600.0 `1741756354.010136 1741755600.0 `1741756364.010135 1741755600.0 `1741756375.010136 1741755600.0 `1741756404.010144 1741755600.0 `1741756424.010142 1741755600.0 `1741756434.010137 1741755600.0 `1741756484.010139 1741755600.0 `1741756514.010134 1741756500.0 `1741756535.010142 1741756500.0 `1741756544.009127 1741756500.0 `1741756554.010135 1741756500.0 `1741756574.010133 1741756500.0 `1741756595.010137 1741756500.0 `1741756605.010143 1741756500.0 `1741756624.010164 1741756500.0 `1741756644.010134 1741756500.0 `1741756665.010138 1741756500.0 `1741756675.010139 1741756500.0 `1741756684.00915 1741756500.0 `1741756704.010135 1741756500.0 `1741756714.010136 1741756500.0 `1741756754.009124 1741756500.0 `1741756764.010134 1741756500.0 `1741756774.010147 1741756500.0 `1741756784.010139 1741756500.0 `1741756794.010138 1741756500.0 `1741756804.010153 1741756500.0 `1741756834.01014 1741756500.0 `1741756864.010181 1741756500.0 `1741756874.010156 1741756500.0 `1741756885.010137 1741756500.0 `1741756894.009124 1741756500.0 `1741756904.010598 1741756500.0 `1741756914.010138 1741756500.0 `1741756925.010148 1741756500.0 `1741756934.009125 1741756500.0 `1741756944.010135 1741756500.0 `1741756954.010137 1741756500.0 `1741756995.010134 1741756500.0 `1741757005.010133 1741756500.0 `1741757024.010144 1741756500.0 `1741757044.010141 1741756500.0 `1741757054.010137 1741756500.0 `1741757065.010137 1741756500.0 `1741757075.010142 1741756500.0 `1741757084.00913 1741756500.0 `1741757094.010137 1741756500.0 `1741757104.010149 1741756500.0 `1741757114.010138 1741756500.0 `1741757124.010138 1741756500.0 `1741757135.010138 1741756500.0 `1741757145.010137 1741756500.0 `1741757154.009128 1741756500.0 `1741757164.010147 1741756500.0 `1741757194.010135 1741756500.0 `1741757205.010134 1741756500.0 `1741757215.010137 1741756500.0 `1741757224.009146 1741756500.0 `1741757234.010135 1741756500.0 `1741757244.010135 1741756500.0 `1741757254.01014 1741756500.0 `1741757264.010136 1741756500.0 `1741757274.010138 1741756500.0 `1741757285.010133 1741756500.0 `1741757295.010136 1741756500.0 `1741757304.009125 1741756500.0 `1741757314.010134 1741756500.0 `1741757324.010135 1741756500.0 `1741757334.010136 1741756500.0 `1741757374.009123 1741756500.0 `1741757384.010133 1741756500.0 `1741757394.010137 1741756500.0 `1741757414.010134 1741757400.0 `1741757424.010134 1741757400.0 `1741757435.010146 1741757400.0 `1741757444.009126 1741757400.0 `1741757454.010139 1741757400.0 `1741757464.010151 1741757400.0 `1741757474.010134 1741757400.0 `1741757484.010134 1741757400.0 `1741757494.010134 1741757400.0 `1741757505.010136 1741757400.0 `1741757515.010136 1741757400.0 `1741757524.009144 1741757400.0 `1741757534.01014 1741757400.0 `1741757544.010134 1741757400.0 `1741757575.010142 1741757400.0 `1741757585.010154 1741757400.0 `1741757594.009125 1741757400.0 `1741757614.010137 1741757400.0 `1741757624.010139 1741757400.0 `1741757634.010138 1741757400.0 `1741757655.010134 1741757400.0 `1741757664.009123 1741757400.0 `1741757674.010135 1741757400.0 `1741757684.010136 1741757400.0 `1741757694.010136 1741757400.0 `1741757704.010148 1741757400.0 `1741757714.010138 1741757400.0 `1741757725.010137 1741757400.0 `1741757734.009126 1741757400.0 `1741757774.010137 1741757400.0 `1741757784.010133 1741757400.0 `1741757795.010134 1741757400.0 `1741757805.010137 1741757400.0 `1741757814.009126 1741757400.0 `1741757834.010142 1741757400.0 `1741757854.010134 1741757400.0 `1741757865.010136 1741757400.0 `1741757875.010135 1741757400.0 `1741757894.010135 1741757400.0 `1741757914.010135 1741757400.0 `1741757924.010135 1741757400.0 `1741757945.010162 1741757400.0 `1741757954.009124 1741757400.0 `1741757964.010139 1741757400.0 `1741757994.010137 1741757400.0 `1741758004.01015 1741757400.0 `1741758024.009124 1741757400.0 `1741758044.010139 1741757400.0 `1741758054.010136 1741757400.0 `1741758064.010142 1741757400.0 `1741758074.010137 1741757400.0 `1741758085.010135 1741757400.0 `1741758095.010138 1741757400.0 `1741758104.009131 1741757400.0 `1741758114.010137 1741757400.0 `1741758124.010143 1741757400.0 `1741758144.010136 1741757400.0 `1741758155.010136 1741757400.0 `1741758184.010144 1741757400.0 `1741758194.010134 1741757400.0 `1741758204.010135 1741757400.0 `1741758214.010142 1741757400.0 `1741758225.010138 1741757400.0 `1741758235.010137 1741757400.0 `1741758244.009137 1741757400.0 `1741758254.010134 1741757400.0 `1741758274.010134 1741757400.0 `1741758284.010136 1741757400.0 `1741758294.010136 1741757400.0 `1741758305.010155 1741758300.0 `1741758314.009126 1741758300.0 `1741758324.010139 1741758300.0 `1741758334.010133 1741758300.0 `1741758344.010137 1741758300.0 `1741758354.010138 1741758300.0 `1741758364.010139 1741758300.0 `1741758375.010136 1741758300.0 `1741758414.010135 1741758300.0 `1741758434.010133 1741758300.0 `1741758445.010134 1741758300.0 `1741758455.01014 1741758300.0 `1741758464.00913 1741758300.0 `1741758494.01014 1741758300.0 `1741758514.010136 1741758300.0 `1741758525.010136 1741758300.0 `1741758544.010167 1741758300.0 `1741758574.010136 1741758300.0 `1741758584.010136 1741758300.0 `1741758595.010137 1741758300.0 `1741758624.010136 1741758300.0 `1741758634.010139 1741758300.0 `1741758644.010138 1741758300.0 `1741758654.010135 1741758300.0 `1741758665.010145 1741758300.0 `1741758675.010136 1741758300.0 `1741758714.010135 1741758300.0 `1741758724.010134 1741758300.0 `1741758735.010136 1741758300.0 `1741758754.009131 1741758300.0 `1741758774.010138 1741758300.0 `1741758784.010143 1741758300.0 `1741758804.010135 1741758300.0 `1741758824.009127 1741758300.0 `1741758834.010138 1741758300.0 `1741758844.01016 1741758300.0 `1741758854.010138 1741758300.0 `1741758864.010134 1741758300.0 `1741758885.010139 1741758300.0 `1741758894.009127 1741758300.0 `1741758914.010139 1741758300.0 `1741758924.01014 1741758300.0 `1741758934.010135 1741758300.0 `1741758944.010138 1741758300.0 `1741758964.009152 1741758300.0 `1741759035.010136 1741758300.0 `1741759074.010136 1741758300.0 `1741759095.010137 1741758300.0 `1741759105.010135 1741758300.0 `1741759114.009138 1741758300.0 `1741759124.01014 1741758300.0 `1741759134.010137 1741758300.0 `1741759214.010205 1741759200.0 `1741759224.010142 1741759200.0 `1741759234.010148 1741759200.0 `1741759244.01014 1741759200.0 `1741759265.010158 1741759200.0 `1741759274.009128 1741759200.0 `1741759284.010144 1741759200.0 `1741759294.010146 1741759200.0 `1741759325.010156 1741759200.0 `1741759335.010136 1741759200.0 `1741759344.009124 1741759200.0 `1741759354.010141 1741759200.0 `1741759364.010142 1741759200.0 `1741759374.010138 1741759200.0 `1741759394.010135 1741759200.0 `1741759405.010136 1741759200.0 `1741759414.009125 1741759200.0 `1741759434.010137 1741759200.0 `1741759444.010165 1741759200.0 `1741759464.010143 1741759200.0 `1741759475.010138 1741759200.0 `1741759484.009127 1741759200.0 `1741759494.010137 1741759200.0 `1741759504.01015 1741759200.0 `1741759514.010137 1741759200.0 `1741759545.010133 1741759200.0 `1741759555.010136 1741759200.0 `1741759574.010136 1741759200.0 `1741759594.01014 1741759200.0 `1741759604.01014 1741759200.0 `1741759625.010137 1741759200.0 `1741759634.009124 1741759200.0 `1741759644.010134 1741759200.0 `1741759654.010146 1741759200.0 `1741759664.010216 1741759200.0 `1741759674.010138 1741759200.0 `1741759674.010138 1741759200.0 `1741759685.010161 1741759200.0 `1741759685.010161 1741759200.0 `1741759695.010137 1741759200.0 `1741759695.010137 1741759200.0 `1741759704.009123 1741759200.0 `1741759704.009123 1741759200.0 `1741759734.010134 1741759200.0 `1741759744.01016 1741759200.0 `1741759755.010137 1741759200.0 `1741759765.010137 1741759200.0 `1741759774.009131 1741759200.0 `1741759784.010136 1741759200.0 `1741759794.010138 1741759200.0 `1741759804.01014 1741759200.0 `1741759814.010136 1741759200.0 `1741759825.010137 1741759200.0 `1741759835.010136 1741759200.0 `1741759844.009126 1741759200.0 `1741759854.010135 1741759200.0 `1741759864.010147 1741759200.0 `1741759874.010136 1741759200.0 `1741759884.010133 1741759200.0 `1741759924.010148 1741759200.0 `1741759924.010148 1741759200.0 `1741759934.010138 1741759200.0 `1741759934.010138 1741759200.0 `1741759944.010136 1741759200.0 `1741759944.010136 1741759200.0 `1741759964.010157 1741759200.0 `1741759975.010141 1741759200.0 `1741759994.010136 1741759200.0 `1741760004.010135 1741759200.0 `1741760014.010136 1741759200.0 `1741760024.010136 1741759200.0 `1741760034.010135 1741759200.0 `1741760034.010135 1741759200.0 `1741760055.010135 1741759200.0 `1741760055.010135 1741759200.0 `1741760064.009124 1741759200.0 `1741760064.009124 1741759200.0 `1741760084.010145 1741759200.0 `1741760104.010152 1741760100.0 `1741760125.010134 1741760100.0 `1741760144.010134 1741760100.0 `1741760154.010135 1741760100.0 `1741760174.010137 1741760100.0 `1741760184.010136 1741760100.0 `1741760224.010144 1741760100.0 `1741760234.010136 1741760100.0 `1741760244.010133 1741760100.0 `1741760254.010134 1741760100.0 `1741760265.010139 1741760100.0 `1741760275.010137 1741760100.0 `1741760284.009129 1741760100.0 `1741760294.010139 1741760100.0 `1741760304.010138 1741760100.0 `1741760314.010137 1741760100.0 `1741760324.010137 1741760100.0 `1741760335.010137 1741760100.0 `1741760345.010145 1741760100.0 `1741760354.009124 1741760100.0 `1741760364.010136 1741760100.0 `1741760374.010142 1741760100.0 `1741760404.010143 1741760100.0 `1741760415.010136 1741760100.0 `1741760424.009124 1741760100.0 `1741760434.010133 1741760100.0 `1741760444.010136 1741760100.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]] forced_hashtag: JRM force hashtag to JRM elapsed_time : SPLIT_TIME 0.018831253051757812 ***** 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 result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 3, 1: 38, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 520.0010099411011, 'nb_balles_papier': 0.00045000000000000053, 'begin_time_port': 'image_12032025_05_20_53_009125m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00045000000000000053 We reject this portfolio because of the condition_save_data : 2025-03-12 05:20:53.009125 ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 3, 1: 31, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 849.9999959468842, 'nb_balles_papier': 0.00034000000000000024, 'begin_time_port': 'image_12032025_05_30_14_010138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00034000000000000024 We reject this portfolio because of the condition_save_data : 2025-03-12 05:30:14.010138 ERROR missing amount info ERROR missing amount info ERROR missing amount info result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 2, 1: 22, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 829.9989748001099, 'nb_balles_papier': 0.00024, 'begin_time_port': 'image_12032025_05_45_03_010157m0.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.00024 We reject this portfolio because of the condition_save_data : 2025-03-12 05:45:03.010157 ERROR missing amount info result_one_balle_Type_JRM:{'day': '12032025', 'map_nb_amount': {0: 9, 1: 48, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999349117279, 'nb_balles_papier': 0.000630000000000001, 'begin_time_port': 'image_12032025_06_00_14_010204m0.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.000630000000000001 We reject this portfolio because of the condition_save_data : 2025-03-12 06:00:14.010204 ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '12032025', 'map_nb_amount': {0: 4, 1: 46, 2: 6, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.0000030994415, 'nb_balles_papier': 0.0005600000000000008, 'begin_time_port': 'image_12032025_06_15_14_010134m0.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.0005600000000000008 We reject this portfolio because of the condition_save_data : 2025-03-12 06:15:14.010134 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '12032025', 'map_nb_amount': {0: 8, 1: 31, 2: 5, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 880.0000019073486, 'nb_balles_papier': 0.0004400000000000005, 'begin_time_port': 'image_12032025_06_30_14_010134m0.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.0004400000000000005 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '12032025', 'map_nb_amount': {0: 3, 1: 21, 2: 4, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 828.9999821186066, 'nb_balles_papier': 0.0002800000000000001, 'begin_time_port': 'image_12032025_06_45_05_10155.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0002800000000000001 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '12032025', 'map_nb_amount': {0: 1, 1: 12, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 869.9999399185181, 'nb_balles_papier': 0.00014000000000000001, 'begin_time_port': 'image_12032025_07_00_14_010205m0.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.00014000000000000001 ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info 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': '12032025', 'map_nb_amount': {0: 0, 1: 2, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 339.9999837875366, 'nb_balles_papier': 2e-05, 'begin_time_port': 'image_12032025_07_15_04_10152.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 2e-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 ! We need to add photos : {1343316032, 1343316192, 1343316098, 1343316005, 1343316037, 1343316105, 1343316075, 1343316091, 1343316014, 1343316080, 1343316018, 1343316086, 1343316027, 1343316188} Still a lot to verify ! Still a lot to verify ! list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__12032025_07_15_04_010152&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 Qualite : 0.08693420372638028 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`=21331343 AND mptpi.`type`=3726 To do Qualite : 0.08122098901730798 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`=21331770 AND mptpi.`type`=3726 To do Qualite : 0.06672863734111766 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`=21332333 AND mptpi.`type`=3726 To do There was a bug due to new port without datou_current_id # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21332849 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 4.792240858078003 # DISPLAY ALL COLLECTED DATA : {'12032025': {'nb_upload': 464, 'nb_taggue_class': 1252, 'nb_taggue_densite': 1252}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1343316279, 1343316266, 1343316240, 1343316230, 1343316223, 1343316215, 1343316192, 1343316188, 1343316186, 1343316168, 1343316160, 1343316153, 1343316129, 1343316126, 1343316123, 1343316121, 1343316119, 1343316116, 1343316105, 1343316098, 1343316091, 1343316086, 1343316080, 1343316075, 1343316065, 1343316060, 1343316055, 1343316052, 1343316050, 1343316048, 1343316037, 1343316032, 1343316027, 1343316018, 1343316014, 1343316005, 1343315991, 1343315988, 1343315986, 1343315984, 1343315980, 1343315975, 1343315951, 1343315945, 1343315938, 1343315931, 1343315927, 1343315920, 1343315902, 1343315899, 1343315894, 1343315890, 1343315888, 1343315883, 1343315880, 1343315875, 1343315871, 1343315870, 1343315864, 1343315863, 1343315856, 1343315846, 1343315839, 1343315816, 1343315804, 1343315794, 1343315791, 1343315786, 1343315770, 1343315764, 1343315619, 1343315596, 1343315577, 1343315565, 1343315561, 1343315554, 1343315451, 1343315448, 1343315433, 1343315234, 1343315230, 1343315225, 1343315221, 1343315151, 1343315079, 1343315051, 1343315028, 1343314938, 1343314624, 1343314596, 1343314577, 1343314554, 1343314338, 1343314313, 1343314283, 1343314238, 1343314212, 1343314187, 1343314079, 1343314065] Looping around the photos to save general results len do output : 1 /21319625Didn'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, '2661346') ('4876', '21319625', '1343316279', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316266', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316240', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316230', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316223', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316215', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316192', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316188', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316186', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316168', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316160', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316153', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316129', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316126', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316123', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316121', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316119', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316116', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316105', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316098', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316091', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316086', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316080', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316075', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316065', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316060', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316055', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316052', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316050', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316048', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316037', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316032', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316027', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316018', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316014', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343316005', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315991', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315988', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315986', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315984', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315980', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315975', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315951', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315945', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315938', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315931', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315927', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315920', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315902', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315899', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315894', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315890', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315888', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315883', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315880', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315875', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315871', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315870', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315864', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315863', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315856', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315846', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315839', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315816', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315804', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315794', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315791', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315786', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315770', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315764', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315619', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315596', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315577', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315565', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315561', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315554', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315451', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315448', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315433', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315234', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315230', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315225', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315221', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315151', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315079', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315051', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343315028', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314938', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314624', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314596', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314577', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314554', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314338', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314313', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314283', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314238', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314212', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314187', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314079', None, None, None, None, None, '2661346') ('4876', None, None, None, None, None, None, None, '2661346') ('4876', '21319625', '1343314065', None, None, None, None, None, '2661346') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.026174068450927734 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.135746717453003 time spend to save output : 0.02715921401977539 total time spend for step 1 : 5.162905931472778 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.44user 0.57system 0:09.38elapsed 21%CPU (0avgtext+0avgdata 103708maxresident)k 0inputs+136outputs (17major+49478minor)pagefaults 0swaps