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 : 2612615 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: {} Date 2026-05-12 21:30:28.560404 Current got : datou_id : 4189, datou_cur_ids : ['4380384'] with mtr_portfolio_ids : ['31057056'] and first list_photo_ids : [] new path : /proc/2612615/ 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.011687040328979492 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Tue May 12 21:30:28 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', 375), ('14', 195)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 564} 12052026 31057056 Nombre de photos uploadées : 570 / 23040 (2%) 12052026 31057056 Nombre de photos taguées (types de déchets): 564 / 570 (98%) 12052026 31057056 Nombre de photos taguées (volume) : 564 / 570 (98%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 0.00017786026000976562 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL?????? elapsed_time : fill_and_build_computed_from_old_data 0.022162437438964844 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.07607531547546387 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL Creating list_photo_by_hashtags 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.015145301818847656 Creating list_photo_total elapsed_time : select_descriptors 24.93692111968994 12052026 31057056 Nombre de photos avec descriptors (type 5680) : 482 / 488 (98%) ERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 0 vs 1280 photo_id : 1416927193 photo_id_prec : 0 0:00:00|ON:LLLL0:16:59.428927|OFF:L0:00:00|ON:LMissing descriptors for photos 1416935124 and 1416935125 LMissing descriptors for photos 1416935125 and 1416935142 LMissing descriptors for photos 1416935142 and 1416935143 LMissing descriptors for photos 1416935143 and 1416935145 LMissing descriptors for photos 1416935145 and 1416935146 LMissing descriptors for photos 1416935146 and 1416935147 LLMissing descriptors for photos 1416936582 and 1416936583 LLMissing descriptors for photos 1416936585 and 1416936602 LLMissing descriptors for photos 1416936604 and 1416936605 LMissing descriptors for photos 1416936605 and 1416936607 LLMissing descriptors for photos 1416936690 and 1416936692 LMissing descriptors for photos 1416936692 and 1416936693 LMissing descriptors for photos 1416936693 and 1416936694 LMissing descriptors for photos 1416936694 and 1416936695 LMissing descriptors for photos 1416936695 and 1416936696 LMissing descriptors for photos 1416936696 and 1416936711 LMissing descriptors for photos 1416936711 and 1416936712 LMissing descriptors for photos 1416936712 and 1416936713 LMissing descriptors for photos 1416936713 and 1416936714 LMissing descriptors for photos 1416936714 and 1416936715 LMissing descriptors for photos 1416936715 and 1416936716 LMissing descriptors for photos 1416936716 and 1416937340 LMissing descriptors for photos 1416937340 and 1416937432 LMissing descriptors for photos 1416937432 and 1416937433 LMissing descriptors for photos 1416937433 and 1416937484 LLMissing descriptors for photos 1416937574 and 1416937575 LMissing descriptors for photos 1416937575 and 1416937576 LMissing descriptors for photos 1416937576 and 1416937578 LLMissing descriptors for photos 1416940804 and 1416940805 LMissing descriptors for photos 1416940805 and 1416940806 LLMissing descriptors for photos 1416940808 and 1416940810 LMissing descriptors for photos 1416940810 and 1416940895 LMissing descriptors for photos 1416940895 and 1416940909 LMissing descriptors for photos 1416940909 and 1416940911 LMissing descriptors for photos 1416940911 and 1416940912 LLMissing descriptors for photos 1416940914 and 1416940915 LMissing descriptors for photos 1416940915 and 1416941118 LMissing descriptors for photos 1416941118 and 1416941119 LMissing descriptors for photos 1416941119 and 1416941120 LMissing descriptors for photos 1416941120 and 1416941121 LMissing descriptors for photos 1416941121 and 1416941124 LLMissing descriptors for photos 1416948105 and 1416948116 LMissing descriptors for photos 1416948116 and 1416948117 LMissing descriptors for photos 1416948117 and 1416948118 LMissing descriptors for photos 1416948118 and 1416948119 LLLLMissing descriptors for photos 1416951127 and 1416951129 LMissing descriptors for photos 1416951129 and 1416951130 LMissing descriptors for photos 1416951130 and 1416951147 LMissing descriptors for photos 1416951147 and 1416951148 LMissing descriptors for photos 1416951148 and 1416951150 LMissing descriptors for photos 1416951150 and 1416951151 LMissing descriptors for photos 1416951151 and 1416951152 LMissing descriptors for photos 1416951152 and 1416951153 LMissing descriptors for photos 1416951153 and 1416952524 LMissing descriptors for photos 1416952524 and 1416952526 LMissing descriptors for photos 1416952526 and 1416952527 LMissing descriptors for photos 1416952527 and 1416952529 LMissing descriptors for photos 1416952529 and 1416952530 LMissing descriptors for photos 1416952530 and 1416952531 LMissing descriptors for photos 1416952531 and 1416953055 LMissing descriptors for photos 1416953055 and 1416953056 LMissing descriptors for photos 1416953056 and 1416953057 LMissing descriptors for photos 1416953057 and 1416953058 LMissing descriptors for photos 1416953058 and 1416953059 LMissing descriptors for photos 1416953059 and 1416953063 LMissing descriptors for photos 1416953063 and 1416953085 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 1280 vs 0 photo_id : 1416959888 photo_id_prec : 1416959887 LMissing descriptors for photos 1416959888 and 1416959891 LMissing descriptors for photos 1416959891 and 1416959892 LMissing descriptors for photos 1416959892 and 1416959893 LMissing descriptors for photos 1416959893 and 1416959894 LMissing descriptors for photos 1416959894 and 1416959895 L 12052026 Removing 1 photos because of the 'same image' condition Total on : 1019.428927 list_time_on Warning in study_and_display_distrib_list : min=max : 1019.428927 1019.428927 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 : 570 time used for this insertion : 0.053780317306518555 photos_removed : len 1 elapsed_time : remove_photo_duplicate 0.1184995174407959 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.Lforce hashtag to JRM elapsed_time : CREATE_PORT_BATCH_BY_HOUR 0.016741514205932617 NUMBER BATCH : 7 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': '12052026', 'map_nb_amount': {0: 17, 1: 75, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.0773401260376, 'nb_balles_papier': 0.0009200000000000018, 'begin_time_port': 'image_12052026_10_00_02_846350m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0009200000000000018 result_one_balle_Type_JRM:{'day': '12052026', 'map_nb_amount': {0: 19, 1: 61, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.0377740859985, 'nb_balles_papier': 0.0008000000000000014, 'begin_time_port': 'image_12052026_10_15_02_677300m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0008000000000000014 result_one_balle_Type_JRM:{'day': '12052026', 'map_nb_amount': {0: 2, 1: 48, 2: 1, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.9387099742889, 'nb_balles_papier': 0.0005300000000000007, 'begin_time_port': 'image_12052026_10_30_02_679048m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0005300000000000007 result_one_balle_Type_JRM:{'day': '12052026', 'map_nb_amount': {0: 21, 1: 71, 2: 3, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.0424449443817, 'nb_balles_papier': 0.0009600000000000019, 'begin_time_port': 'image_12052026_10_45_02_434861m0.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.0009600000000000019 result_one_balle_Type_JRM:{'day': '12052026', 'map_nb_amount': {0: 14, 1: 72, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.6437749862671, 'nb_balles_papier': 0.0008600000000000016, 'begin_time_port': 'image_12052026_14_00_02_911056m0.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.0008600000000000016 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '12052026', 'map_nb_amount': {0: 10, 1: 55, 2: 2, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.5746741294861, 'nb_balles_papier': 0.0006700000000000011, 'begin_time_port': 'image_12052026_14_15_02_360226m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0006700000000000011 LLLLLLLLLLLLLLLLLLLLLERROR 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': '12052026', 'map_nb_amount': {0: 2, 1: 5, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 119.56434392929077, 'nb_balles_papier': 7.000000000000001e-05, 'begin_time_port': 'image_12052026_14_30_02_735343_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 7.000000000000001e-05 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 7 list_same_port_ids : [31057620] find same portfolio which already exist 31057620 , we will use it list_same_port_ids : [31057698] find same portfolio which already exist 31057698 , we will use it list_same_port_ids : [31058177] find same portfolio which already exist 31058177 , we will use it list_same_port_ids : [31058643] find same portfolio which already exist 31058643 , we will use it list_same_port_ids : [31058973] find same portfolio which already exist 31058973 , we will use it list_same_port_ids : [] list_same_port_ids : [] Qualite : 0.1138851567622855 # 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`=31057620 AND mptpi.`type`=3726 To do Qualite : 0.1576627804792281 # 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`=31057698 AND mptpi.`type`=3726 To do Qualite : 0.13770031452777617 # 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`=31058177 AND mptpi.`type`=3726 To do Qualite : 0.2152520199736069 # 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`=31058643 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`=31058973 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`=31059400 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`=31059401 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 4.43801212310791 # DISPLAY ALL COLLECTED DATA : {'12052026': {'nb_upload': 570, 'nb_taggue_class': 564, 'nb_taggue_densite': 564, 'nb_descriptors': 482}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1416959895, 1416959894, 1416959893, 1416959892, 1416959891, 1416959888, 1416959887, 1416959886, 1416959885, 1416959884, 1416959883, 1416959882, 1416959006, 1416959005, 1416959004, 1416959003, 1416959002, 1416959001, 1416958680, 1416958679, 1416958678, 1416958677, 1416958676, 1416958675, 1416958653, 1416958652, 1416958651, 1416958650, 1416958649, 1416958648, 1416958634, 1416958622, 1416958589, 1416958452, 1416958451, 1416958450, 1416957153, 1416957151, 1416957150, 1416957148, 1416957145, 1416956697, 1416956388, 1416956387, 1416956386, 1416956385, 1416956384, 1416956382, 1416955228, 1416955226, 1416955224, 1416955222, 1416955221, 1416955220, 1416954148, 1416954147, 1416954146, 1416954145, 1416954143, 1416954142, 1416954094, 1416954093, 1416954092, 1416954089, 1416954088, 1416954087, 1416953110, 1416953109, 1416953108, 1416953106, 1416953105, 1416953104, 1416953091, 1416953090, 1416953088, 1416953087, 1416953086, 1416953085, 1416953063, 1416953059, 1416953058, 1416953057, 1416953056, 1416953055, 1416952531, 1416952530, 1416952529, 1416952527, 1416952526, 1416952524, 1416951153, 1416951152, 1416951151, 1416951150, 1416951148, 1416951147, 1416951130, 1416951129, 1416951127, 1416951126] Looping around the photos to save general results len do output : 1 /31057056Didn'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, '4380384') ('4189', '31057056', '1416959895', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959894', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959893', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959892', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959891', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959888', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959887', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959886', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959885', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959884', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959883', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959882', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959006', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959005', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959004', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959003', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959002', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416959001', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958680', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958679', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958678', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958677', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958676', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958675', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958653', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958652', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958651', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958650', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958649', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958648', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958634', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958622', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958589', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958452', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958451', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416958450', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416957153', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416957151', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416957150', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416957148', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416957145', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416956697', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416956388', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416956387', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416956386', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416956385', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416956384', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416956382', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416955228', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416955226', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416955224', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416955222', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416955221', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416955220', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954148', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954147', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954146', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954145', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954143', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954142', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954094', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954093', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954092', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954089', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954088', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416954087', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953110', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953109', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953108', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953106', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953105', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953104', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953091', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953090', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953088', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953087', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953086', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953085', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953063', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953059', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953058', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953057', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953056', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416953055', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416952531', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416952530', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416952529', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416952527', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416952526', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416952524', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416951153', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416951152', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416951151', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416951150', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416951148', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416951147', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416951130', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416951129', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416951127', None, None, None, None, None, '4380384') ('4189', None, None, None, None, None, None, None, '4380384') ('4189', '31057056', '1416951126', None, None, None, None, None, '4380384') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.019541501998901367 save_final save missing photos in datou_result : time spend for datou_step_exec : 29.744330883026123 time spend to save output : 0.020476818084716797 total time spend for step 1 : 29.76480770111084 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.87user 0.66system 0:32.19elapsed 10%CPU (0avgtext+0avgdata 117492maxresident)k 5200inputs+4016outputs (9major+54911minor)pagefaults 0swaps