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 : 2830419 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 no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4189, datou_cur_ids : ['3711808'] with mtr_portfolio_ids : ['26782131'] and first list_photo_ids : [] new path : /proc/2830419/ 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.028188705444335938 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Sep 12 14:30:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 281), ('14', 167)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 430} L12092025 26782131 Nombre de photos uploadées : 448 / 23040 (1%) 12092025 26782131 Nombre de photos taguées (types de déchets): 430 / 448 (95%) 12092025 26782131 Nombre de photos taguées (volume) : 430 / 448 (95%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 0.00011014938354492188 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL?????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.019796133041381836 LCatched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20702481269836426 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 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 elapsed_time : list_photo_by_hashtags 0.04495954513549805 Creating list_photo_total elapsed_time : select_descriptors 20.831512928009033 12092025 26782131 Nombre de photos avec descriptors (type 5680) : 368 / 386 (95%) Missing descriptors for photos 0 and 1383369844 L0:00:00|ON:LL0:09:23.497759|OFF:LL0:00:00|ON:LL0:29:59.922268|OFF:0:00:00|ON:LL0:00:00|OFF:0:00:00|ON:LL0:00:59.694293|OFF:0:00:00|ON:LMissing descriptors for photos 1383378610 and 1383378680 LMissing descriptors for photos 1383378680 and 1383378754 LMissing descriptors for photos 1383378754 and 1383378806 LLLMissing descriptors for photos 1383379092 and 1383379108 LMissing descriptors for photos 1383379108 and 1383379136 LMissing descriptors for photos 1383379136 and 1383379355 LMissing descriptors for photos 1383379355 and 1383379408 LMissing descriptors for photos 1383379408 and 1383379468 LMissing descriptors for photos 1383379468 and 1383379679 LMissing descriptors for photos 1383379679 and 1383379868 LMissing descriptors for photos 1383379868 and 1383458622 LLLL3:06:59.654961|OFF:L0:00:00|ON:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLMissing descriptors for photos 1383460745 and 1383460749 LMissing descriptors for photos 1383460749 and 1383460756 LMissing descriptors for photos 1383460756 and 1383460774 LMissing descriptors for photos 1383460774 and 1383460780 LMissing descriptors for photos 1383460780 and 1383460787 LMissing descriptors for photos 1383460787 and 1383460793 LMissing descriptors for photos 1383460793 and 1383460796 LMissing descriptors for photos 1383460796 and 1383460800 LMissing descriptors for photos 1383460800 and 1383460836 LMissing descriptors for photos 1383460836 and 1383460838 LMissing descriptors for photos 1383460838 and 1383460843 LMissing descriptors for photos 1383460843 and 1383460847 LMissing descriptors for photos 1383460847 and 1383460851 LMissing descriptors for photos 1383460851 and 1383460857 LMissing descriptors for photos 1383460857 and 1383460904 LMissing descriptors for photos 1383460904 and 1383460909 LMissing descriptors for photos 1383460909 and 1383460920 LMissing descriptors for photos 1383460920 and 1383460924 LMissing descriptors for photos 1383460924 and 1383460926 LMissing descriptors for photos 1383460926 and 1383460933 LMissing descriptors for photos 1383460933 and 1383460959 LLLMissing descriptors for photos 1383460969 and 1383460977 LMissing descriptors for photos 1383460977 and 1383460982 LMissing descriptors for photos 1383460982 and 1383460986 LMissing descriptors for photos 1383460986 and 1383460997 LMissing descriptors for photos 1383460997 and 1383460999 LMissing descriptors for photos 1383460999 and 1383461003 LMissing descriptors for photos 1383461003 and 1383461005 LMissing descriptors for photos 1383461005 and 1383461016 LMissing descriptors for photos 1383461016 and 1383461021 LMissing descriptors for photos 1383461021 and 1383461063 LMissing descriptors for photos 1383461063 and 1383461085 LMissing descriptors for photos 1383461085 and 1383461101 LMissing descriptors for photos 1383461101 and 1383461108 LMissing descriptors for photos 1383461108 and 1383461113 LMissing descriptors for photos 1383461113 and 1383461118 LMissing descriptors for photos 1383461118 and 1383461135 LMissing descriptors for photos 1383461135 and 1383461138 LMissing descriptors for photos 1383461138 and 1383461143 LMissing descriptors for photos 1383461143 and 1383461148 LMissing descriptors for photos 1383461148 and 1383461151 LMissing descriptors for photos 1383461151 and 1383461158 LMissing descriptors for photos 1383461158 and 1383461196 LMissing descriptors for photos 1383461196 and 1383461202 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 1280 vs 0 photo_id : 1383462715 photo_id_prec : 1383462530 LMissing descriptors for photos 1383462715 and 1383462755 LMissing descriptors for photos 1383462755 and 1383462789 LMissing descriptors for photos 1383462789 and 1383462815 LMissing descriptors for photos 1383462815 and 1383462817 LMissing descriptors for photos 1383462817 and 1383462826 LMissing descriptors for photos 1383462826 and 1383462877 LMissing descriptors for photos 1383462877 and 1383462893 LMissing descriptors for photos 1383462893 and 1383462897 LMissing descriptors for photos 1383462897 and 1383462907 LMissing descriptors for photos 1383462907 and 1383462912 LMissing descriptors for photos 1383462912 and 1383462914 LMissing descriptors for photos 1383462914 and 1383462939 LMissing descriptors for photos 1383462939 and 1383462959 LMissing descriptors for photos 1383462959 and 1383462995 LMissing descriptors for photos 1383462995 and 1383463037 LMissing descriptors for photos 1383463037 and 1383463086 LMissing descriptors for photos 1383463086 and 1383463129 L 12092025 Removing 6 photos because of the 'same image' condition Total on : 13642.769281 list_time_on Total off : 0.0 list_time_off Warning in study_and_display_distrib_list : min=max : 0.0 0.0 dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 448 time used for this insertion : 0.07505202293395996 photos_removed : len 6 elapsed_time : remove_photo_duplicate 0.23180007934570312 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.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.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.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.01801609992980957 NUMBER BATCH : 6 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] result_one_balle_Type_JRM:{'day': '12092025', 'map_nb_amount': {0: 0, 1: 10, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 83.57738018035889, 'nb_balles_papier': 0.00011, 'begin_time_port': 'image_12092025_10_12_39_435299m0.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.00011 result_one_balle_Type_JRM:{'day': '12092025', 'map_nb_amount': {0: 8, 1: 77, 2: 2, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.776004076004, 'nb_balles_papier': 0.0008800000000000017, 'begin_time_port': 'image_12092025_10_15_02_812295m0.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.0008800000000000017 result_one_balle_Type_JRM:{'day': '12092025', 'map_nb_amount': {0: 12, 1: 73, 2: 3, 3: 2, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.0441250801086, 'nb_balles_papier': 0.0009000000000000017, 'begin_time_port': 'image_12092025_10_30_02_337061m0.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.0009000000000000017 result_one_balle_Type_JRM:{'day': '12092025', 'map_nb_amount': {0: 6, 1: 63, 2: 2, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 780.7918300628662, 'nb_balles_papier': 0.0007200000000000012, 'begin_time_port': 'image_12092025_10_45_02_270180m0.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.0007200000000000012 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '12092025', 'map_nb_amount': {0: 0, 1: 41, 2: 0, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.6926620006561, 'nb_balles_papier': 0.00042000000000000045, 'begin_time_port': 'image_12092025_14_00_02_204580_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00042000000000000045 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info LLresult_one_balle_Type_JRM:{'day': '12092025', 'map_nb_amount': {0: 3, 1: 53, 2: 1, 3: 2, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 719.9469718933105, 'nb_balles_papier': 0.0005900000000000009, 'begin_time_port': 'image_12092025_14_15_02_724214_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005900000000000009 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 6 list_same_port_ids : [26782559] find same portfolio which already exist 26782559 , we will use it list_same_port_ids : [26782560] find same portfolio which already exist 26782560 , we will use it list_same_port_ids : [26784000] find same portfolio which already exist 26784000 , we will use it list_same_port_ids : [26786079] find same portfolio which already exist 26786079 , we will use it list_same_port_ids : [] list_same_port_ids : [] # 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`=26782559 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`=26782560 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`=26784000 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`=26786079 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`=26792833 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`=26792835 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 6.447237253189087 # DISPLAY ALL COLLECTED DATA : {'12092025': {'nb_upload': 448, 'nb_taggue_class': 430, 'nb_taggue_densite': 430, 'nb_descriptors': 368}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1383463129, 1383463086, 1383463037, 1383462995, 1383462959, 1383462939, 1383462914, 1383462912, 1383462907, 1383462897, 1383462893, 1383462877, 1383462826, 1383462817, 1383462815, 1383462789, 1383462755, 1383462715, 1383462530, 1383462481, 1383462441, 1383462403, 1383462359, 1383462322, 1383462124, 1383462078, 1383462031, 1383461991, 1383461951, 1383461907, 1383461748, 1383461746, 1383461745, 1383461740, 1383461734, 1383461730, 1383461701, 1383461698, 1383461694, 1383461659, 1383461653, 1383461650, 1383461623, 1383461617, 1383461616, 1383461611, 1383461605, 1383461598, 1383461544, 1383461533, 1383461518, 1383461512, 1383461511, 1383461497, 1383461460, 1383461454, 1383461450, 1383461444, 1383461439, 1383461434, 1383461390, 1383461385, 1383461381, 1383461377, 1383461373, 1383461371, 1383461350, 1383461346, 1383461343, 1383461333, 1383461326, 1383461320, 1383461286, 1383461280, 1383461276, 1383461272, 1383461268, 1383461265, 1383461228, 1383461220, 1383461211, 1383461206, 1383461202, 1383461196, 1383461158, 1383461151, 1383461148, 1383461143, 1383461138, 1383461135, 1383461118, 1383461113, 1383461108, 1383461101, 1383461085, 1383461063, 1383461021, 1383461016, 1383461005, 1383461003] Looping around the photos to save general results len do output : 1 /26782131Didn'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, '3711808') ('4189', '26782131', '1383463129', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383463086', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383463037', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462995', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462959', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462939', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462914', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462912', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462907', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462897', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462893', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462877', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462826', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462817', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462815', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462789', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462755', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462715', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462530', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462481', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462441', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462403', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462359', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462322', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462124', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462078', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383462031', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461991', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461951', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461907', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461748', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461746', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461745', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461740', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461734', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461730', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461701', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461698', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461694', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461659', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461653', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461650', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461623', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461617', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461616', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461611', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461605', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461598', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461544', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461533', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461518', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461512', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461511', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461497', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461460', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461454', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461450', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461444', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461439', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461434', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461390', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461385', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461381', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461377', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461373', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461371', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461350', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461346', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461343', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461333', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461326', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461320', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461286', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461280', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461276', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461272', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461268', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461265', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461228', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461220', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461211', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461206', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461202', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461196', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461158', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461151', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461148', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461143', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461138', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461135', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461118', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461113', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461108', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461101', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461085', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461063', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461021', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461016', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461005', None, None, None, None, None, '3711808') ('4189', None, None, None, None, None, None, None, '3711808') ('4189', '26782131', '1383461003', None, None, None, None, None, '3711808') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02643275260925293 save_final save missing photos in datou_result : time spend for datou_step_exec : 28.000720500946045 time spend to save output : 0.027296066284179688 total time spend for step 1 : 28.028016567230225 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.77user 1.05system 0:31.44elapsed 12%CPU (0avgtext+0avgdata 105276maxresident)k 1880inputs+3096outputs (81major+50189minor)pagefaults 0swaps