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 : ['2744745'] with mtr_portfolio_ids : ['22264378'] and first list_photo_ids : [] new path : /proc/89630/ 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.02416706085205078 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Fri Apr 11 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', 230),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 218} 11042025 22264378 Nombre de photos uploadées : 230 / 23040 (0%) 11042025 22264378 Nombre de photos taguées (types de déchets): 218 / 230 (94%) 11042025 22264378 Nombre de photos taguées (volume) : 218 / 230 (94%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 0.00011610984802246094 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL???????????? elapsed_time : fill_and_build_computed_from_old_data 0.011541604995727539 elapsed_time : insert_dashboard_record_day_entry 0.03310108184814453 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 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 elapsed_time : list_photo_by_hashtags 0.025971412658691406 Creating list_photo_total elapsed_time : select_descriptors 9.1205735206604 11042025 22264378 Nombre de photos avec descriptors (type 5680) : 172 / 184 (93%) ERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 0 vs 1280 photo_id : 1351555374 photo_id_prec : 0 0:00:00|ON:LLMissing descriptors for photos 1351573995 and 1351574067 LMissing descriptors for photos 1351574067 and 1351574138 LMissing descriptors for photos 1351574138 and 1351574245 LMissing descriptors for photos 1351574245 and 1351574280 LMissing descriptors for photos 1351574280 and 1351574333 LMissing descriptors for photos 1351574333 and 1351577738 LMissing descriptors for photos 1351577738 and 1351577762 LMissing descriptors for photos 1351577762 and 1351577829 LMissing descriptors for photos 1351577829 and 1351577872 LMissing descriptors for photos 1351577872 and 1351577886 LMissing descriptors for photos 1351577886 and 1351577903 LMissing descriptors for photos 1351577903 and 1351581360 LMissing descriptors for photos 1351581360 and 1351581432 LMissing descriptors for photos 1351581432 and 1351581473 LMissing descriptors for photos 1351581473 and 1351581555 LMissing descriptors for photos 1351581555 and 1351581608 LMissing descriptors for photos 1351581608 and 1351581644 LMissing descriptors for photos 1351581644 and 1351583555 LMissing descriptors for photos 1351583555 and 1351583588 LMissing descriptors for photos 1351583588 and 1351583609 LMissing descriptors for photos 1351583609 and 1351586166 LMissing descriptors for photos 1351586166 and 1351586233 LMissing descriptors for photos 1351586233 and 1351586336 LMissing descriptors for photos 1351586336 and 1351586382 LMissing descriptors for photos 1351586382 and 1351586426 LMissing descriptors for photos 1351586426 and 1351586472 LMissing descriptors for photos 1351586472 and 1351590200 LMissing descriptors for photos 1351590200 and 1351590243 LMissing descriptors for photos 1351590243 and 1351590289 LLMissing descriptors for photos 1351590362 and 1351590365 LMissing descriptors for photos 1351590365 and 1351594116 LMissing descriptors for photos 1351594116 and 1351594386 LLMissing descriptors for photos 1351594897 and 1351595066 LMissing descriptors for photos 1351595066 and 1351595333 LMissing descriptors for photos 1351595333 and 1351599037 LMissing descriptors for photos 1351599037 and 1351599099 LMissing descriptors for photos 1351599099 and 1351599158 LMissing descriptors for photos 1351599158 and 1351599249 LMissing descriptors for photos 1351599249 and 1351599308 LMissing descriptors for photos 1351599308 and 1351599557 LLMissing descriptors for photos 1351604660 and 1351604735 LLLL0:33:00.536130|OFF:L0:00:00|ON:LLLLLLLLLLERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 1280 vs 0 photo_id : 1351678170 photo_id_prec : 1351675488 LMissing descriptors for photos 1351678170 and 1351678184 LMissing descriptors for photos 1351678184 and 1351678231 LMissing descriptors for photos 1351678231 and 1351678253 LMissing descriptors for photos 1351678253 and 1351678285 LMissing descriptors for photos 1351678285 and 1351678293 LMissing descriptors for photos 1351678293 and 1351680257 LMissing descriptors for photos 1351680257 and 1351680340 LMissing descriptors for photos 1351680340 and 1351680408 LMissing descriptors for photos 1351680408 and 1351680472 LMissing descriptors for photos 1351680472 and 1351680891 LMissing descriptors for photos 1351680891 and 1351681026 L 11042025 Removing 1 photos because of the 'same image' condition Total on : 1980.53613 list_time_on Warning in study_and_display_distrib_list : min=max : 1980.53613 1980.53613 Total off : 0.0 list_time_off Warning in study_and_display_distrib_list : min=max : 0.0 0.0 dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 230 time used for this insertion : 6.891749143600464 photos_removed : len 1 elapsed_time : remove_photo_duplicate 6.936042308807373 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.Lforce hashtag to JRM elapsed_time : CREATE_PORT_BATCH_BY_HOUR 0.012917041778564453 NUMBER BATCH : 3 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': '11042025', 'map_nb_amount': {0: 6, 1: 40, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.155769109726, 'nb_balles_papier': 0.0004700000000000006, 'begin_time_port': 'image_11042025_10_00_02_313268m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'} Production hashtag (incorrect ponderation at 20-10-18) : 0.0004700000000000006 result_one_balle_Type_JRM:{'day': '11042025', 'map_nb_amount': {0: 13, 1: 75, 2: 1, 3: 4, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 840.8738949298859, 'nb_balles_papier': 0.0009400000000000018, 'begin_time_port': 'image_11042025_10_15_02_192950m0.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.0009400000000000018 LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info ERROR missing amount info Lresult_one_balle_Type_JRM:{'day': '11042025', 'map_nb_amount': {0: 5, 1: 25, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 360.2156398296356, 'nb_balles_papier': 0.00030000000000000014, 'begin_time_port': 'image_11042025_10_30_02_744419m0.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.00030000000000000014 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 3 list_same_port_ids : [22272899] find same portfolio which already exist 22272899 , we will use it list_same_port_ids : [22277154] find same portfolio which already exist 22277154 , we will use it list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__11042025_10_30_02_744419&access_token=b05576c56a0e42ad0cb9b46155f68f82 Qualite : 0.14350152350129933 # 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`=22272899 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`=22277154 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`=22278263 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 2.6876003742218018 # DISPLAY ALL COLLECTED DATA : {'11042025': {'nb_upload': 230, 'nb_taggue_class': 218, 'nb_taggue_densite': 218, 'nb_descriptors': 172}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1351681026, 1351680891, 1351680472, 1351680408, 1351680340, 1351680257, 1351678293, 1351678285, 1351678253, 1351678231, 1351678184, 1351678170, 1351675488, 1351675436, 1351675384, 1351675315, 1351675200, 1351675119, 1351672724, 1351672683, 1351672659, 1351672625, 1351672598, 1351672538, 1351669280, 1351668120, 1351668080, 1351668046, 1351668001, 1351667974, 1351667926, 1351664530, 1351664498, 1351664469, 1351664441, 1351664405, 1351664346, 1351660825, 1351660788, 1351660764, 1351660749, 1351660735, 1351660730, 1351659552, 1351659545, 1351659541, 1351659536, 1351659529, 1351659524, 1351659004, 1351658997, 1351658991, 1351658985, 1351658979, 1351658976, 1351657950, 1351657925, 1351657895, 1351657845, 1351657827, 1351657822, 1351656526, 1351656476, 1351656405, 1351656347, 1351656265, 1351656217, 1351652909, 1351652874, 1351652871, 1351652866, 1351652854, 1351652852, 1351650736, 1351650658, 1351650578, 1351650531, 1351650455, 1351650417, 1351647739, 1351647708, 1351647622, 1351647585, 1351647548, 1351647533, 1351646137, 1351646126, 1351646079, 1351646049, 1351646011, 1351646007, 1351643782, 1351643698, 1351643665, 1351643636, 1351643539, 1351643332, 1351639256, 1351639071, 1351638872] Looping around the photos to save general results len do output : 1 /22264378Didn'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, '2744745') ('4189', '22264378', '1351681026', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351680891', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351680472', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351680408', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351680340', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351680257', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351678293', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351678285', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351678253', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351678231', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351678184', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351678170', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351675488', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351675436', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351675384', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351675315', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351675200', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351675119', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351672724', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351672683', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351672659', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351672625', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351672598', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351672538', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351669280', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351668120', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351668080', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351668046', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351668001', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351667974', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351667926', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351664530', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351664498', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351664469', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351664441', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351664405', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351664346', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351660825', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351660788', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351660764', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351660749', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351660735', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351660730', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351659552', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351659545', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351659541', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351659536', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351659529', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351659524', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351659004', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351658997', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351658991', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351658985', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351658979', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351658976', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351657950', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351657925', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351657895', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351657845', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351657827', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351657822', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351656526', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351656476', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351656405', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351656347', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351656265', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351656217', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351652909', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351652874', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351652871', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351652866', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351652854', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351652852', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351650736', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351650658', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351650578', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351650531', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351650455', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351650417', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351647739', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351647708', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351647622', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351647585', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351647548', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351647533', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351646137', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351646126', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351646079', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351646049', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351646011', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351646007', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351643782', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351643698', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351643665', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351643636', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351643539', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351643332', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351639256', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351639071', None, None, None, None, None, '2744745') ('4189', None, None, None, None, None, None, None, '2744745') ('4189', '22264378', '1351638872', None, None, None, None, None, '2744745') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 101 time used for this insertion : 0.02751612663269043 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.490065097808838 time spend to save output : 0.028278827667236328 total time spend for step 1 : 19.518343925476074 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.16user 0.86system 0:24.14elapsed 12%CPU (0avgtext+0avgdata 103204maxresident)k 1424inputs+1496outputs (7major+49433minor)pagefaults 0swaps