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 : 3356891 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 : ['2648629'] with mtr_portfolio_ids : ['21138160'] and first list_photo_ids : [] new path : /proc/3356891/ 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.029807329177856445 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Mar 7 15:30:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec begin split time score 2022-04-13 10:29:59 0 TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcls : [{'id': 3513, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2_tf', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 4557, 'photo_desc_type': 5767, 'type_classification': 'tf_classification2', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('10', 359), ('14', 353)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 712} L07032025 21138160 Nombre de photos uploadées : 712 / 23040 (3%) 07032025 21138160 Nombre de photos taguées (types de déchets): 712 / 712 (100%) 07032025 21138160 Nombre de photos taguées (volume) : 712 / 712 (100%) elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 0.0003447532653808594 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL elapsed_time : fill_and_build_computed_from_old_data 0.0654754638671875 L elapsed_time : insert_dashboard_record_day_entry 0.022191286087036133 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL Creating list_photo_by_hashtags elapsed_time : list_photo_by_hashtags 0.05014967918395996 Creating list_photo_total elapsed_time : select_descriptors 49.194937229156494 07032025 21138160 Nombre de photos avec descriptors (type 5680) : 594 / 594 (100%) Missing descriptors for photos 0 and 1341425217 L0:00:00|ON:LLLMissing descriptors for photos 1341425392 and 1341425397 LMissing descriptors for photos 1341425397 and 1341425401 LMissing descriptors for photos 1341425401 and 1341425404 LLMissing descriptors for photos 1341425796 and 1341426105 LMissing descriptors for photos 1341426105 and 1341426231 LMissing descriptors for photos 1341426231 and 1341426263 LMissing descriptors for photos 1341426263 and 1341426277 LLMissing descriptors for photos 1341426821 and 1341426907 LMissing descriptors for photos 1341426907 and 1341426919 LMissing descriptors for photos 1341426919 and 1341426924 LMissing descriptors for photos 1341426924 and 1341426929 LMissing descriptors for photos 1341426929 and 1341426947 LMissing descriptors for photos 1341426947 and 1341426970 LMissing descriptors for photos 1341426970 and 1341426974 LMissing descriptors for photos 1341426974 and 1341426978 LMissing descriptors for photos 1341426978 and 1341426982 LMissing descriptors for photos 1341426982 and 1341426985 LLMissing descriptors for photos 1341427037 and 1341427043 LMissing descriptors for photos 1341427043 and 1341427053 LLLL0:06:00.853982|OFF:L0:00:58.868846|ON:LMissing descriptors for photos 1341427135 and 1341427233 LMissing descriptors for photos 1341427233 and 1341427341 LMissing descriptors for photos 1341427341 and 1341427366 LMissing descriptors for photos 1341427366 and 1341427375 LMissing descriptors for photos 1341427375 and 1341427380 LMissing descriptors for photos 1341427380 and 1341427388 LMissing descriptors for photos 1341427388 and 1341427393 LMissing descriptors for photos 1341427393 and 1341427400 LMissing descriptors for photos 1341427400 and 1341427425 LMissing descriptors for photos 1341427425 and 1341427430 LMissing descriptors for photos 1341427430 and 1341427454 LMissing descriptors for photos 1341427454 and 1341427480 LMissing descriptors for photos 1341427480 and 1341427485 LMissing descriptors for photos 1341427485 and 1341427493 LMissing descriptors for photos 1341427493 and 1341427527 LMissing descriptors for photos 1341427527 and 1341427532 LMissing descriptors for photos 1341427532 and 1341427542 LLLMissing descriptors for photos 1341427611 and 1341427618 LMissing descriptors for photos 1341427618 and 1341427625 LLL0:04:00.296137|OFF:L0:00:00|ON:LMissing descriptors for photos 1341427694 and 1341427739 LLMissing descriptors for photos 1341428375 and 1341428699 LLMissing descriptors for photos 1341428885 and 1341428892 LLMissing descriptors for photos 1341428908 and 1341428943 LLMissing descriptors for photos 1341429123 and 1341429328 LMissing descriptors for photos 1341429328 and 1341429336 LMissing descriptors for photos 1341429336 and 1341429340 LMissing descriptors for photos 1341429340 and 1341429399 LMissing descriptors for photos 1341429399 and 1341429509 LMissing descriptors for photos 1341429509 and 1341429521 LMissing descriptors for photos 1341429521 and 1341429524 LMissing descriptors for photos 1341429524 and 1341429528 LMissing descriptors for photos 1341429528 and 1341429539 LMissing descriptors for photos 1341429539 and 1341429540 LLL0:08:00.029111|OFF:LL0:00:59.689442|ON:LL0:14:00.291525|OFF:0:00:00|ON:LL0:04:59.491856|OFF:0:00:00|ON:LL0:06:00.567307|OFF:0:00:00|ON:LL0:01:59.441982|OFF:LLLLLLLLLLLLLL0:01:00.728375|ON:LLL3:11:59.902424|OFF:LLLLLLLLLLLLLLLLLLLLLLLLLLLLL0:01:59.750624|ON:LLL0:00:59.763607|OFF:LLLLLLL0:00:00|ON:LLL0:00:59.953187|OFF:L0:00:00|ON:LLL0:00:00|OFF:LLLLLLLLLLL0:01:03.494200|ON:LLL0:00:00|OFF:LLLLLLLLLLL0:00:56.844276|ON:LLL0:00:59.862224|OFF:LLLLLLLLLLLLLLLLLLL0:00:59.815756|ON:LLL0:00:59.837438|OFF:LLLLLLLLLLLLLLL0:01:00.834840|ON:LLL0:00:00|OFF:LLLLLLLLLLLLLLLLLLLLLLLLLLLLL0:02:59.874876|ON:LLL0:00:59.876671|OFF:LLLLLLLLLLLLLLLLLLL0:01:01.071061|ON:LL0:01:02.415614|OFF:LLLLLLLLLLLLLLLLLLLLLLLLLLL0:01:55.887144|ON:LL0:00:00|OFF:LLLLLLLLLLLLLLLLL0:02:03.849826|ON:LL0:00:00|OFF:LLL0:00:00|ON:LL0:00:56.882608|OFF:LLLLLLLLLLL0:00:59.820619|ON:LLLL0:00:59.787566|OFF:L0:00:00|ON:LL0:00:00|OFF:LLLLL0:00:59.882701|ON:Missing descriptors for photos 1341468451 and 1341468457 LLL0:00:00|OFF:LLLLLLLLL0:00:59.953030|ON:LL0:00:00|OFF:LLLLL0:01:00.330782|ON:LLL0:00:59.768066|OFF:LLLLLLLLLLLLLLLLL0:00:59.839563|ON:LLL0:00:59.914452|OFF:LLLLLLLLLLLLLLL0:01:00.903980|ON:LL0:00:00|OFF:LLL0:00:59.873256|ON:LL0:00:00|OFF:LLLLLLL0:01:00.016871|ON:LL0:00:00|OFF:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL0:03:00.166354|ON:LL0:00:00|OFF:LLL0:00:00|ON:LL0:01:00.439406|OFF:LLLLLLLLLLL0:00:58.858994|ON:LL0:00:00|OFF:L0:00:00|ON:LL0:00:59.817186|OFF:LLLLL0:00:00|ON:LL0:00:00|OFF:L0:01:00.226136|ON:LL0:00:00|OFF:LLLLL0:00:59.742478|ON:LL0:00:00|OFF:LLL0:00:00|ON:LL0:00:59.901174|OFF:LLLLLLLLLLL0:01:00.862783|ON:LLL0:00:00|OFF:LLLLLLL0:00:59.835859|ON:LL0:00:00|OFF:LLLLLLLLL0:00:59.579111|ON:Missing descriptors for photos 1341471299 and 1341471301 LLLL0:00:59.807368|OFF:LLLLLLLLLLLLLLL0:01:00.009382|ON:LLL0:01:00.215218|OFF:LLLLL0:00:00|ON:LLL0:00:00|OFF:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL0:02:59.640185|ON:LLL0:01:00.828585|OFF:LLL0:00:00|ON:LLL0:00:00|OFF:LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL0:03:59.136570|ON:Missing descriptors for photos 1341473173 and 1341473179 LLLLLL0:01:00.835951|OFF:LLLLLLLLLLLLL0:01:00.003089|ON:LLL0:00:59.825529|OFF:LLL0:00:00|ON:LLL0:00:00|OFF:LLLLLLLL 07032025 Removing 274 photos because of the 'same image' condition Total on : 15300.606174 list_time_on Total off : 2579.391009 list_time_off dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 712 time used for this insertion : 0.13179659843444824 photos_removed : len 274 elapsed_time : remove_photo_duplicate 0.2812047004699707 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.L.L.L..L.L.L.L..L..L.L.L.L.L.L.L.L.L.L..L..L.L.L.L.L.L.L.L.L..L.L.L..L.L.L.L.L..L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L..L.L.L..L.L.L.L.L.L.L..L.L..L.L.L.L..L.L..L.L.L.L..L.L.L..L.L.L.L.L.L.L..L..L.L.L.L.L..L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.L.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.05821037292480469 NUMBER BATCH : 8 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': '07032025', 'map_nb_amount': {0: 0, 1: 20, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 780.6146309375763, 'nb_balles_papier': 0.00023, 'begin_time_port': 'image_07032025_10_00_02_811897m0.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.00023 result_one_balle_Type_JRM:{'day': '07032025', 'map_nb_amount': {0: 8, 1: 74, 2: 0, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 837.7575678825378, 'nb_balles_papier': 0.0008300000000000015, 'begin_time_port': 'image_07032025_10_15_04_652678m0.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.0008300000000000015 result_one_balle_Type_JRM:{'day': '07032025', 'map_nb_amount': {0: 13, 1: 74, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 838.9862539768219, 'nb_balles_papier': 0.0008800000000000017, 'begin_time_port': 'image_07032025_10_30_03_232280m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0008800000000000017 result_one_balle_Type_JRM:{'day': '07032025', 'map_nb_amount': {0: 5, 1: 72, 2: 1, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 839.8576838970184, 'nb_balles_papier': 0.0008000000000000014, 'begin_time_port': 'image_07032025_10_45_02_900103m0.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': '07032025', 'map_nb_amount': {0: 0, 1: 14, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 838.3319711685181, 'nb_balles_papier': 0.00014000000000000001, 'begin_time_port': 'image_07032025_14_15_03_951644m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00014000000000000001 result_one_balle_Type_JRM:{'day': '07032025', 'map_nb_amount': {0: 0, 1: 14, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 779.7404971122742, 'nb_balles_papier': 0.00014000000000000001, 'begin_time_port': 'image_07032025_14_30_03_187595m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00014000000000000001 We have rejected 18 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 6 list_same_port_ids : [21138950] find same portfolio which already exist 21138950 , we will use it list_same_port_ids : [21139196] find same portfolio which already exist 21139196 , we will use it list_same_port_ids : [21139474] find same portfolio which already exist 21139474 , we will use it list_same_port_ids : [21142356] find same portfolio which already exist 21142356 , we will use it list_same_port_ids : [21143557] find same portfolio which already exist 21143557 , we will use it list_same_port_ids : [21143559] find same portfolio which already exist 21143559 , we will use it # 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`=21138950 AND mptpi.`type`=3726 To do Qualite : 0.1404798494746323 # 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`=21139196 AND mptpi.`type`=3726 To do Qualite : 0.13660447853571409 # 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`=21139474 AND mptpi.`type`=3726 To do Qualite : 0.13153533547779409 # 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`=21142356 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`=21143557 AND mptpi.`type`=3726 To do Qualite : 0.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) 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`=21143559 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 1.7320752143859863 # DISPLAY ALL COLLECTED DATA : {'07032025': {'nb_upload': 712, 'nb_taggue_class': 712, 'nb_taggue_densite': 712, 'nb_descriptors': 594}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1341473670, 1341473666, 1341473663, 1341473660, 1341473657, 1341473646, 1341473611, 1341473607, 1341473603, 1341473600, 1341473594, 1341473589, 1341473545, 1341473542, 1341473391, 1341473388, 1341473378, 1341473347, 1341473255, 1341473242, 1341473216, 1341473179, 1341473173, 1341473158, 1341473091, 1341473068, 1341473043, 1341473011, 1341473004, 1341472992, 1341472890, 1341472861, 1341472848, 1341472838, 1341472831, 1341472814, 1341472787, 1341472776, 1341472727, 1341472720, 1341472709, 1341472703, 1341472666, 1341472663, 1341472657, 1341472646, 1341472637, 1341472627, 1341472582, 1341472500, 1341472492, 1341472467, 1341472450, 1341472430, 1341472386, 1341472347, 1341472297, 1341472274, 1341472268, 1341472246, 1341471791, 1341471785, 1341471777, 1341471772, 1341471756, 1341471728, 1341471640, 1341471635, 1341471627, 1341471611, 1341471583, 1341471564, 1341471510, 1341471497, 1341471477, 1341471462, 1341471453, 1341471450, 1341471418, 1341471405, 1341471398, 1341471393, 1341471391, 1341471388, 1341471331, 1341471317, 1341471308, 1341471301, 1341471299, 1341471295, 1341471235, 1341471229, 1341471214, 1341471207, 1341471203, 1341471197, 1341471142, 1341471123, 1341471118, 1341471109] Looping around the photos to save general results len do output : 1 /21138160Didn'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, '2648629') ('4189', '21138160', '1341473670', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473666', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473663', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473660', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473657', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473646', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473611', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473607', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473603', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473600', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473594', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473589', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473545', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473542', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473391', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473388', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473378', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473347', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473255', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473242', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473216', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473179', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473173', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473158', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473091', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473068', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473043', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473011', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341473004', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472992', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472890', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472861', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472848', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472838', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472831', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472814', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472787', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472776', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472727', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472720', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472709', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472703', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472666', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472663', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472657', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472646', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472637', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472627', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472582', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472500', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472492', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472467', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472450', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472430', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472386', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472347', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472297', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472274', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472268', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341472246', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471791', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471785', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471777', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471772', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471756', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471728', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471640', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471635', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471627', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471611', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471583', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471564', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471510', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471497', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471477', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471462', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471453', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471450', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471418', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471405', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471398', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471393', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471391', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471388', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471331', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471317', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471308', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471301', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471299', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471295', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471235', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471229', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471214', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471207', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471203', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471197', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471142', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471123', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471118', None, None, None, None, None, '2648629') ('4189', None, None, None, None, None, None, None, '2648629') ('4189', '21138160', '1341471109', None, None, None, None, None, '2648629') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.027692079544067383 save_final save missing photos in datou_result : time spend for datou_step_exec : 51.5621542930603 time spend to save output : 0.029781579971313477 total time spend for step 1 : 51.591935873031616 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 3.50user 0.88system 0:56.25elapsed 7%CPU (0avgtext+0avgdata 104616maxresident)k 99768inputs+4904outputs (8280major+57851minor)pagefaults 0swaps