Lforce hashtag to JRM elapsed_time : CREATE_PORT_BATCH_BY_HOUR 0.0049114227294921875 NUMBER BATCH : 1 list_ponderation used : [1e-05, 1e-05, 1e-05, 1e-05, 1e-05] , list_hashtag_class_create_as_list : ['jrm'] LLLLLLLLLLLLLLLLLLLLLLLLLLLresult_one_balle_Type_JRM:{'day': '23042025', 'map_nb_amount': {0: 0, 1: 11, 2: 0, 3: 1, 4: 0}, 'map_time_amount': {0: 0, 1: 0, 2: 0, 3: 0, 4: 0}, 'duration': 120.0898129940033, 'nb_balles_papier': 0.00012, 'begin_time_port': 'image_23042025_10_00_02_598778_0000.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.00012 We have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 1 list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=JRM_diff_batch__23042025_10_00_02_598778&access_token=b05576c56a0e42ad0cb9b46155f68f82 # 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`=22338995 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 1.8499045372009277 # DISPLAY ALL COLLECTED DATA : {'23042025': {'nb_upload': 18, 'nb_taggue_class': 18, 'nb_taggue_densite': 18, 'nb_descriptors': 12}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1352989626, 1352989577, 1352989572, 1352989569, 1352989567, 1352989560, 1352988196, 1352988151, 1352988124, 1352988113, 1352988069, 1352988048, 1352986905, 1352986891, 1352986797, 1352986791, 1352986775, 1352986766] Looping around the photos to save general results len do output : 1 /22338052Didn'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, '2752501') ('4189', '22338052', '1352989626', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352989577', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352989572', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352989569', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352989567', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352989560', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352988196', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352988151', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352988124', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352988113', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352988069', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352988048', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352986905', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352986891', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352986797', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352986791', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352986775', None, None, None, None, None, '2752501') ('4189', None, None, None, None, None, None, None, '2752501') ('4189', '22338052', '1352986766', None, None, None, None, None, '2752501') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.018878698348999023 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.97874116897583 time spend to save output : 0.019182205200195312 total time spend for step 1 : 2.9979233741760254 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 1.67user 0.66system 0:07.67elapsed 30%CPU (0avgtext+0avgdata 102252maxresident)k 720inputs+144outputs (6major+49093minor)pagefaults 0swaps