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 : 776738 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 : ['2587555'] with mtr_portfolio_ids : ['20550732'] and first list_photo_ids : [] new path : /proc/776738/ 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.03290104866027832 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Feb 14 14:30:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 357), ('14', 167)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 476} 14022025 20550732 Nombre de photos uploadées : 524 / 23040 (2%) 14022025 20550732 Nombre de photos taguées (types de déchets): 476 / 524 (90%) 14022025 20550732 Nombre de photos taguées (volume) : 476 / 524 (90%) elapsed_time : load_data_split_time_score 3.814697265625e-06 elapsed_time : order_list_meta_photo_and_scores 0.00016021728515625 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL???????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.06580066680908203 elapsed_time : insert_dashboard_record_day_entry 0.034546852111816406 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL Creating list_photo_by_hashtags Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None Hashtag is None elapsed_time : list_photo_by_hashtags 0.04989266395568848 Creating list_photo_total elapsed_time : select_descriptors 26.774128913879395 14022025 20550732 Nombre de photos avec descriptors (type 5680) : 418 / 466 (89%) ERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 0 vs 1280 photo_id : 1337584894 photo_id_prec : 0 0:00:00|ON:LL0:03:59.799653|OFF:LL0:00:00|ON:LL0:05:00.558790|OFF:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL0:07:00.098537|ON:LL0:00:59.716614|OFF:0:00:59.766646|ON:LL0:09:00.336045|OFF:0:00:00|ON:LL0:04:59.329527|OFF:LL0:01:00.766494|ON:LL0:00:59.687602|OFF:LL0:00:59.689809|ON:LLL0:10:00.120784|OFF:LL0:00:59.687747|ON:LMissing descriptors for photos 1337594816 and 1337594859 LMissing descriptors for photos 1337594859 and 1337594862 LLLL0:07:00.500979|OFF:0:00:59.627051|ON:LLLLLLLLLL3:07:00.708250|OFF:L0:00:00|ON:Missing descriptors for photos 1337622195 and 1337622196 LLLLLL0:00:59.877050|OFF:L0:00:00|ON:Missing descriptors for photos 1337622297 and 1337622339 LMissing descriptors for photos 1337622339 and 1337622402 LMissing descriptors for photos 1337622402 and 1337622423 LLLLLL0:00:59.855992|OFF:LLLLL0:00:59.890153|ON:LLLLL0:00:00|OFF:LLL0:00:59.823968|ON:LLL0:00:00|OFF:L0:00:00|ON:LLLLL0:00:59.903233|OFF:LLLLLLL0:00:00|ON:Missing descriptors for photos 1337623920 and 1337624042 LMissing descriptors for photos 1337624042 and 1337624066 LLLL0:00:59.857410|OFF:LLLLLLLLL0:00:59.876114|ON:LLMissing descriptors for photos 1337624223 and 1337624539 LLLL0:01:00.941060|OFF:LLL0:00:00|ON:LLL0:00:00|OFF:L0:00:59.817970|ON:Missing descriptors for photos 1337624767 and 1337624799 LLLL0:00:00|OFF:LLL0:00:00|ON:LLMissing descriptors for photos 1337624881 and 1337624884 LMissing descriptors for photos 1337624884 and 1337624885 LLLL0:00:59.891103|OFF:L0:00:59.893136|ON:Missing descriptors for photos 1337624915 and 1337624919 LMissing descriptors for photos 1337624919 and 1337624923 LMissing descriptors for photos 1337624923 and 1337624925 LMissing descriptors for photos 1337624925 and 1337624928 LLLL0:00:59.817399|OFF:L0:00:00|ON:Missing descriptors for photos 1337625146 and 1337625150 LLLL0:00:00|OFF:LLL0:00:59.818436|ON:LLL0:00:00|OFF:L0:00:00|ON:Missing descriptors for photos 1337625235 and 1337625239 LMissing descriptors for photos 1337625239 and 1337625261 LLLL0:00:59.856526|OFF:LLL0:00:00|ON:Missing descriptors for photos 1337625289 and 1337625294 LLLL0:01:00.824552|OFF:L0:00:00|ON:LLMissing descriptors for photos 1337625727 and 1337625737 LLLMissing descriptors for photos 1337625872 and 1337625873 LLLMissing descriptors for photos 1337625878 and 1337625880 LLLL0:01:59.776187|OFF:LLL0:00:00|ON:Missing descriptors for photos 1337625914 and 1337625918 LMissing descriptors for photos 1337625918 and 1337625922 LLLL0:00:59.863458|OFF:LLLLL0:00:00|ON:LERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 1280 vs 0 photo_id : 1337626650 photo_id_prec : 1337626629 LMissing descriptors for photos 1337626650 and 1337626821 LMissing descriptors for photos 1337626821 and 1337626826 LMissing descriptors for photos 1337626826 and 1337626873 LMissing descriptors for photos 1337626873 and 1337626892 LMissing descriptors for photos 1337626892 and 1337626917 LMissing descriptors for photos 1337626917 and 1337626943 LMissing descriptors for photos 1337626943 and 1337626950 LMissing descriptors for photos 1337626950 and 1337626957 LMissing descriptors for photos 1337626957 and 1337626993 LMissing descriptors for photos 1337626993 and 1337627000 LMissing descriptors for photos 1337627000 and 1337627012 LMissing descriptors for photos 1337627012 and 1337627041 LMissing descriptors for photos 1337627041 and 1337627061 LMissing descriptors for photos 1337627061 and 1337627065 LMissing descriptors for photos 1337627065 and 1337627069 LMissing descriptors for photos 1337627069 and 1337627113 LMissing descriptors for photos 1337627113 and 1337627118 LMissing descriptors for photos 1337627118 and 1337627137 LMissing descriptors for photos 1337627137 and 1337627141 LMissing descriptors for photos 1337627141 and 1337627146 LMissing descriptors for photos 1337627146 and 1337627152 LMissing descriptors for photos 1337627152 and 1337627156 LMissing descriptors for photos 1337627156 and 1337627162 LMissing descriptors for photos 1337627162 and 1337627175 LMissing descriptors for photos 1337627175 and 1337627178 LMissing descriptors for photos 1337627178 and 1337627181 LMissing descriptors for photos 1337627181 and 1337627185 LMissing descriptors for photos 1337627185 and 1337627204 LMissing descriptors for photos 1337627204 and 1337627274 LMissing descriptors for photos 1337627274 and 1337627361 LMissing descriptors for photos 1337627361 and 1337627365 LMissing descriptors for photos 1337627365 and 1337627371 LMissing descriptors for photos 1337627371 and 1337627376 LMissing descriptors for photos 1337627376 and 1337627382 LMissing descriptors for photos 1337627382 and 1337627389 LMissing descriptors for photos 1337627389 and 1337627490 LMissing descriptors for photos 1337627490 and 1337627613 LMissing descriptors for photos 1337627613 and 1337627738 LMissing descriptors for photos 1337627738 and 1337627875 LMissing descriptors for photos 1337627875 and 1337627999 LMissing descriptors for photos 1337627999 and 1337628126 LMissing descriptors for photos 1337628126 and 1337628445 LMissing descriptors for photos 1337628445 and 1337628449 LMissing descriptors for photos 1337628449 and 1337628451 LMissing descriptors for photos 1337628451 and 1337628453 LMissing descriptors for photos 1337628453 and 1337628507 LMissing descriptors for photos 1337628507 and 1337628512 L 14022025 Removing 88 photos because of the 'same image' condition Total on : 14461.222213999996 list_time_on Total off : 1078.756061 list_time_off dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 524 time used for this insertion : 0.09367537498474121 photos_removed : len 88 elapsed_time : remove_photo_duplicate 0.15479278564453125 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.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.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.019088029861450195 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': '14022025', 'map_nb_amount': {0: 4, 1: 47, 2: 0, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 540.3584430217743, 'nb_balles_papier': 0.0005200000000000007, 'begin_time_port': 'image_14022025_10_00_02_767938m0.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.0005200000000000007 result_one_balle_Type_JRM:{'day': '14022025', 'map_nb_amount': {0: 10, 1: 70, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 779.1860852241516, 'nb_balles_papier': 0.0008100000000000015, 'begin_time_port': 'image_14022025_10_16_03_224918m0.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.0008100000000000015 result_one_balle_Type_JRM:{'day': '14022025', 'map_nb_amount': {0: 10, 1: 71, 2: 0, 3: 3, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.9503998756409, 'nb_balles_papier': 0.0008500000000000016, 'begin_time_port': 'image_14022025_10_30_03_045253m0.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.0008500000000000016 LLLresult_one_balle_Type_JRM:{'day': '14022025', 'map_nb_amount': {0: 6, 1: 71, 2: 3, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.1056749820709, 'nb_balles_papier': 0.0008100000000000015, 'begin_time_port': 'image_14022025_10_45_02_638439m0.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.0008100000000000015 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '14022025', 'map_nb_amount': {0: 0, 1: 22, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.1906208992004, 'nb_balles_papier': 0.00023, 'begin_time_port': 'image_14022025_14_00_02_234869_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00023 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info LLresult_one_balle_Type_JRM:{'day': '14022025', 'map_nb_amount': {0: 0, 1: 8, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 720.5893139839172, 'nb_balles_papier': 8e-05, 'begin_time_port': 'image_14022025_14_15_02_282016_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 8e-05 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 6 list_same_port_ids : [20551920] find same portfolio which already exist 20551920 , we will use it list_same_port_ids : [20553017] find same portfolio which already exist 20553017 , we will use it list_same_port_ids : [20554393] find same portfolio which already exist 20554393 , we will use it list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__14022025_10_45_02_638439&access_token=b05576c56a0e42ad0cb9b46155f68f82 list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__14022025_14_00_02_234869&access_token=b05576c56a0e42ad0cb9b46155f68f82 list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__14022025_14_15_02_282016&access_token=b05576c56a0e42ad0cb9b46155f68f82 Qualite : 0.12688593194964148 # 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`=20551920 AND mptpi.`type`=3726 To do Qualite : 0.11267466792228975 # 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`=20553017 AND mptpi.`type`=3726 To do Qualite : 0.0966749533638519 # 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`=20554393 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`=20558650 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`=20558651 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`=20558653 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 5.973776578903198 # DISPLAY ALL COLLECTED DATA : {'14022025': {'nb_upload': 524, 'nb_taggue_class': 476, 'nb_taggue_densite': 476, 'nb_descriptors': 418}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1337628512, 1337628507, 1337628453, 1337628451, 1337628449, 1337628445, 1337628126, 1337627999, 1337627875, 1337627738, 1337627613, 1337627490, 1337627389, 1337627382, 1337627376, 1337627371, 1337627365, 1337627361, 1337627274, 1337627204, 1337627185, 1337627181, 1337627178, 1337627175, 1337627162, 1337627156, 1337627152, 1337627146, 1337627141, 1337627137, 1337627118, 1337627113, 1337627069, 1337627065, 1337627061, 1337627041, 1337627012, 1337627000, 1337626993, 1337626957, 1337626950, 1337626943, 1337626917, 1337626892, 1337626873, 1337626826, 1337626821, 1337626650, 1337626629, 1337626625, 1337626562, 1337626293, 1337626075, 1337625946, 1337625922, 1337625918, 1337625914, 1337625911, 1337625909, 1337625908, 1337625880, 1337625878, 1337625876, 1337625873, 1337625872, 1337625869, 1337625737, 1337625727, 1337625725, 1337625700, 1337625617, 1337625590, 1337625294, 1337625289, 1337625283, 1337625279, 1337625264, 1337625261, 1337625239, 1337625235, 1337625231, 1337625225, 1337625218, 1337625209, 1337625172, 1337625168, 1337625150, 1337625146, 1337625142, 1337625133, 1337624928, 1337624925, 1337624923, 1337624919, 1337624915, 1337624909, 1337624888, 1337624885, 1337624884, 1337624881] Looping around the photos to save general results len do output : 1 /20550732Didn'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, '2587555') ('4189', '20550732', '1337628512', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337628507', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337628453', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337628451', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337628449', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337628445', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337628126', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627999', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627875', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627738', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627613', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627490', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627389', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627382', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627376', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627371', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627365', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627361', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627274', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627204', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627185', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627181', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627178', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627175', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627162', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627156', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627152', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627146', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627141', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627137', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627118', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627113', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627069', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627065', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627061', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627041', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627012', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337627000', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626993', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626957', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626950', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626943', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626917', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626892', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626873', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626826', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626821', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626650', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626629', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626625', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626562', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626293', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337626075', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625946', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625922', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625918', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625914', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625911', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625909', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625908', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625880', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625878', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625876', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625873', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625872', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625869', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625737', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625727', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625725', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625700', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625617', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625590', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625294', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625289', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625283', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625279', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625264', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625261', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625239', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625235', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625231', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625225', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625218', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625209', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625172', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625168', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625150', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625146', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625142', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337625133', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337624928', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337624925', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337624923', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337624919', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337624915', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337624909', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337624888', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337624885', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337624884', None, None, None, None, None, '2587555') ('4189', None, None, None, None, None, None, None, '2587555') ('4189', '20550732', '1337624881', None, None, None, None, None, '2587555') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02625894546508789 save_final save missing photos in datou_result : time spend for datou_step_exec : 33.20858597755432 time spend to save output : 0.027321577072143555 total time spend for step 1 : 33.235907554626465 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.62user 0.67system 0:37.46elapsed 8%CPU (0avgtext+0avgdata 105632maxresident)k 656inputs+3504outputs (2major+50066minor)pagefaults 0swaps