python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4189' -s datou_current_4189 -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 : 121467 load datou : 4189 # 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 updating current state to 1 list_input_json: [] Date 2026-07-09 08:35:30.328821 Current got : datou_id : 4189, datou_cur_ids : ['4390372'] with mtr_portfolio_ids : ['31210492'] and first list_photo_ids : [] new path : /proc/121467/ 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.16407322883605957 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Jul 9 08:35:30 2026 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'}] (('10', 221),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 204} L03072026 31210492 Nombre de photos uploadées : 221 / 23040 (0%) 03072026 31210492 Nombre de photos taguées (types de déchets): 204 / 221 (92%) 03072026 31210492 Nombre de photos taguées (volume) : 204 / 221 (92%) elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 9.703636169433594e-05 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.012769460678100586 LCatched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.05963611602783203 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 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 elapsed_time : list_photo_by_hashtags 0.011148691177368164 Creating list_photo_total elapsed_time : select_descriptors 17.758166074752808 03072026 31210492 Nombre de photos avec descriptors (type 5680) : 198 / 215 (92%) Missing descriptors for photos 0 and 1420702826 L0:00:00|ON:Missing descriptors for photos 1420702826 and 1420702827 LMissing descriptors for photos 1420702827 and 1420702828 LMissing descriptors for photos 1420702828 and 1420702830 LMissing descriptors for photos 1420702830 and 1420702833 LMissing descriptors for photos 1420702833 and 1420703121 LMissing descriptors for photos 1420703121 and 1420703136 LMissing descriptors for photos 1420703136 and 1420703139 LMissing descriptors for photos 1420703139 and 1420703141 LMissing descriptors for photos 1420703141 and 1420703143 LMissing descriptors for photos 1420703143 and 1420703144 LMissing descriptors for photos 1420703144 and 1420703148 LMissing descriptors for photos 1420703148 and 1420703150 LMissing descriptors for photos 1420703150 and 1420703152 LMissing descriptors for photos 1420703152 and 1420703154 LMissing descriptors for photos 1420703154 and 1420703155 LMissing descriptors for photos 1420703155 and 1420703156 LERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 0 vs 1280 photo_id : 1420703162 photo_id_prec : 1420703156 LLMissing descriptors for photos 1420703776 and 1420703829 LMissing descriptors for photos 1420703829 and 1420703855 LLLLL0:15:02.974851|OFF:0:00:56.785236|ON:LL0:03:01.160157|OFF:0:00:58.931648|ON:LL0:05:00.235475|OFF:0:00:59.823420|ON:LL0:02:00.536831|OFF:0:00:59.779133|ON:LLLLLLLLLLLLLLL0:01:59.722399|OFF:L0:00:59.871321|ON:LLLLLLLLLL 03072026 Removing 5 photos because of the 'same image' condition Total on : 1624.629713 list_time_on Total off : 295.190758 list_time_off dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 221 time used for this insertion : 0.04436135292053223 photos_removed : len 5 elapsed_time : remove_photo_duplicate 0.06828904151916504 To do, maybe not at the correct place ! .L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L...................L..L.L.L..L..L.....................................................L.........................L.........................................L........................L..........L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.Lforce hashtag to JRM elapsed_time : CREATE_PORT_BATCH_BY_HOUR 0.009360790252685547 NUMBER BATCH : 3 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] LLLLLLLLLLLLLLLLLLERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info Lresult_one_balle_Type_JRM:{'day': '03072026', 'map_nb_amount': {0: 3, 1: 56, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 841.1845579147339, 'nb_balles_papier': 0.0006700000000000011, 'begin_time_port': 'image_03072026_10_00_02_469840_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0006700000000000011 LLLresult_one_balle_Type_JRM:{'day': '03072026', 'map_nb_amount': {0: 15, 1: 76, 2: 0, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 837.2518999576569, 'nb_balles_papier': 0.001030000000000002, 'begin_time_port': 'image_03072026_10_15_05_444691m0.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.001030000000000002 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '03072026', 'map_nb_amount': {0: 1, 1: 17, 2: 0, 3: 3, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 179.7412178516388, 'nb_balles_papier': 0.00023, 'begin_time_port': 'image_03072026_10_30_02_543342_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00023 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 3 list_same_port_ids : [31212091] find same portfolio which already exist 31212091 , we will use it list_same_port_ids : [31213313] find same portfolio which already exist 31213313 , we will use it list_same_port_ids : [] Qualite : 0.12473842735145202 # 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 ! 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 ! 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 have datatype=2 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`=31212091 AND mptpi.`type`=3726 To do Qualite : 0.08819359834039149 # 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 ! 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 ! 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 have datatype=2 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`=31213313 AND mptpi.`type`=3726 To do # 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 ! 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 ! 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 ! 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 12489 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 12499 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12500 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 12492 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 12492 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! WARNING : number of outputs for step 12493 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12494 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 12502 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 12502 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 12496 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 12495 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 12495 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! 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 ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 2 of step 12492 doesn't seem to be define in the database( WARNING : output 1 of step 12489 have datatype=2 whereas input 1 of step 12493 have datatype=7 WARNING : type of output 2 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12494 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 12493 doesn't seem to be define in the database( WARNING : type of input 1 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12496 doesn't seem to be define in the database( WARNING : type of input 3 of step 12495 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12500 doesn't seem to be define in the database( WARNING : type of output 2 of step 12489 doesn't seem to be define in the database( WARNING : type of input 1 of step 12499 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 12496 have datatype=10 whereas input 3 of step 12498 have datatype=6 WARNING : type of input 5 of step 12498 doesn't seem to be define in the database( WARNING : output 0 of step 12501 have datatype=11 whereas input 5 of step 12498 have datatype=None WARNING : output 0 of step 12496 have datatype=10 whereas input 0 of step 12501 have datatype=18 WARNING : type of input 2 of step 12502 doesn't seem to be define in the database( WARNING : output 1 of step 12494 have datatype=7 whereas input 2 of step 12502 have datatype=None WARNING : type of output 3 of step 12502 doesn't seem to be define in the database( WARNING : type of input 2 of step 12496 doesn't seem to be define in the database( WARNING : type of output 1 of step 12499 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : type of output 1 of step 12500 doesn't seem to be define in the database( WARNING : type of input 3 of step 12492 doesn't seem to be define in the database( WARNING : output 0 of step 12493 have datatype=1 whereas input 0 of step 12494 have datatype=2 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`=31244507 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 3.753398895263672 # DISPLAY ALL COLLECTED DATA : {'03072026': {'nb_upload': 221, 'nb_taggue_class': 204, 'nb_taggue_densite': 204, 'nb_descriptors': 198}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1420737745, 1420737744, 1420736987, 1420736986, 1420736985, 1420736984, 1420736983, 1420736972, 1420735907, 1420735904, 1420735902, 1420735900, 1420735899, 1420735292, 1420735291, 1420735290, 1420735289, 1420735287, 1420735284, 1420732846, 1420732806, 1420732698, 1420732696, 1420732693, 1420732691, 1420730233, 1420730232, 1420730230, 1420730227, 1420730221, 1420730217, 1420729324, 1420729320, 1420729318, 1420729316, 1420729257, 1420727576, 1420727572, 1420727569, 1420727565, 1420727564, 1420727563, 1420727296, 1420727295, 1420727294, 1420727292, 1420727290, 1420727287, 1420727112, 1420727110, 1420727108, 1420727105, 1420727103, 1420727102, 1420726314, 1420726118, 1420726117, 1420726116, 1420726115, 1420726114, 1420722395, 1420722394, 1420722393, 1420722391, 1420722389, 1420722385, 1420721495, 1420721494, 1420721305, 1420721279, 1420721276, 1420721274, 1420718996, 1420718994, 1420718992, 1420718990, 1420718989, 1420718988, 1420717446, 1420717445, 1420717443, 1420717440, 1420717438, 1420717436, 1420717154, 1420717153, 1420717152, 1420717151, 1420717150, 1420717149, 1420716402, 1420716401, 1420716399, 1420716396, 1420716394, 1420716391, 1420715280, 1420715278, 1420715274, 1420715273] Looping around the photos to save general results len do output : 1 /31210492Didn'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 ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420737745', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420737744', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420736987', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420736986', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420736985', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420736984', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420736983', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420736972', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420735907', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420735904', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420735902', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420735900', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420735899', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420735292', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420735291', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420735290', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420735289', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420735287', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420735284', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420732846', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420732806', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420732698', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420732696', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420732693', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420732691', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420730233', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420730232', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420730230', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420730227', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420730221', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420730217', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420729324', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420729320', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420729318', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420729316', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420729257', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727576', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727572', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727569', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727565', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727564', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727563', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727296', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727295', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727294', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727292', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727290', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727287', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727112', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727110', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727108', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727105', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727103', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420727102', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420726314', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420726118', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420726117', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420726116', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420726115', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420726114', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420722395', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420722394', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420722393', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420722391', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420722389', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420722385', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420721495', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420721494', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420721305', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420721279', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420721276', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420721274', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420718996', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420718994', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420718992', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420718990', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420718989', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420718988', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717446', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717445', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717443', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717440', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717438', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717436', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717154', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717153', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717152', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717151', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717150', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420717149', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420716402', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420716401', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420716399', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420716396', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420716394', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420716391', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420715280', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420715278', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420715274', None, None, None, None, None, '4390372') ('4189', None, None, None, None, None, None, None, '4390372') ('4189', '31210492', '1420715273', None, None, None, None, None, '4390372') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.03326869010925293 save_final save missing photos in datou_result : time spend for datou_step_exec : 21.76820397377014 time spend to save output : 0.03396201133728027 total time spend for step 1 : 21.802165985107422 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 2.11user 1.64system 0:26.69elapsed 14%CPU (0avgtext+0avgdata 124848maxresident)k 2072inputs+1688outputs (0major+80611minor)pagefaults 0swaps