dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 68 time used for this insertion : 0.0175778865814209 photos_removed : len 0 elapsed_time : remove_photo_duplicate 0.07436537742614746 Creating list_photo_total Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average time_diff is bigger than the limit of interval, we ignore the result of this image in moving average ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! elapsed_time : count_sum_diff_and_build_graph 0.007902383804321289 Total photos : 68 .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .can't find max_score_info .Change port : 0 hashtag : 2107755846 photo_id =1358216450 : pet_clair .........can't find max_score_info .Change port : 9 hashtag : 2107760238 photo_id =1358217732 : flux_dev ..Change port : 2 hashtag : 2107755846 photo_id =1358218420 : pet_clair ..... Total photos : 68 Number of lists : 4 counter photos in port : 17 hashtag : aluminium(493546845) : 0 photos in 0 portfolios ! hashtag : ela(492741797) : 0 photos in 0 portfolios ! hashtag : emr(616987804) : 0 photos in 0 portfolios ! hashtag : film_pedb(2107760237) : 0 photos in 0 portfolios ! hashtag : flux_dev(2107760238) : 2 photos in 1 portfolios ! hashtag : jrm(495916461) : 0 photos in 0 portfolios ! hashtag : pcm(560181804) : 0 photos in 0 portfolios ! hashtag : pcnc(1284539308) : 0 photos in 0 portfolios ! hashtag : pehd_pp(2107760239) : 0 photos in 0 portfolios ! hashtag : pet_clair(2107755846) : 15 photos in 2 portfolios ! hashtag : refus(538914404) : 0 photos in 0 portfolios ! hashtag : tapis_vide(2107748999) : 0 photos in 1 portfolios ! elapsed_time : group_photo_by_moyenne_exp 0.002535581588745117 elapsed_time : compute_and_correct_tag_with_moyenne_mobile 2.6226043701171875e-06 today str has not a value , we define it as the date of the first image todaystr_first : 14052025 attention , prev_timestamp is 0 , we do nothing *o***o*ooooo*oo*ooooooooo*o*o*o*o*****Unexpected type of data : ({'photo_id': 1358218575, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/344d6ed6a62a2c70d96135e1c963343b.jpg', 'username': None, 'uploaded_at': 1747225849, 'text': 'image_14052025_14_28_54_10003.jpg', 'time': 1747232934.010003}, 'different') Unexpected type of data : ({'photo_id': 1358218570, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/07d53140cacbc1f691cb5001957c8820.jpg', 'username': None, 'uploaded_at': 1747225849, 'text': 'image_14052025_14_29_04_10095.jpg', 'time': 1747232944.010095}, 'different') Unexpected type of data : ({'photo_id': 1358218565, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/2767a885c9c81bd338cb348fc7e1f1a2.jpg', 'username': None, 'uploaded_at': 1747225849, 'text': 'image_14052025_14_29_14_10039.jpg', 'time': 1747232954.010039}, 'different') Unexpected type of data : ({'photo_id': 1358218559, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/26dccf1623ffe675882fc689a55367a0.jpg', 'username': None, 'uploaded_at': 1747225849, 'text': 'image_14052025_14_29_24_10044.jpg', 'time': 1747232964.010044}, 'different') Unexpected type of data : ({'photo_id': 1358218555, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/32bb730ee56908919023f684eab6fbec.jpg', 'username': None, 'uploaded_at': 1747225849, 'text': 'image_14052025_14_29_34_10066.jpg', 'time': 1747232974.010066}, 'different') Unexpected type of data : ({'photo_id': 1358218550, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/a722187fc6a6c81b70d8f9ec5930f77b.jpg', 'username': None, 'uploaded_at': 1747225849, 'text': 'image_14052025_14_29_44_9997.jpg', 'time': 1747232984.009997}, 'different') Count Time bigger than 30s : 16 #Number Photos for regression : {'14052025': {493546845: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 492741797: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 616987804: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 2107760237: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 2107760238: {2107751013: 0, 2107751014: 0, 2107751015: 29.99999499320984, 2107751016: 0, 2107751017: 0}, 495916461: {2107751013: 0, 2107751014: 0, 2107751015: 9.999965190887451, 2107751016: 0, 2107751017: 0}, 560181804: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 1284539308: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 2107760239: {2107751013: 0, 2107751014: 0, 2107751015: 9.999876976013184, 2107751016: 0, 2107751017: 0}, 2107755846: {2107751013: 0, 2107751014: 0, 2107751015: 481.0003967285156, 2107751016: 0, 2107751017: 0}, 538914404: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 2107748999: {2107751013: 0, 2107751014: 0, 2107751015: 748.9984178543091, 2107751016: 0, 2107751017: 0}}} 14052025|aluminium, 05102018_papier_non_papier_dense:0 14052025|aluminium, 05102018_papier_non_papier_peu_dense:0 14052025|aluminium, 05102018_papier_non_papier_presque_vide:0 14052025|aluminium, 05102018_papier_non_papier_tres_dense:0 14052025|aluminium, 05102018_papier_non_papier_tres_peu_dense:0 14052025|ela, 05102018_papier_non_papier_dense:0 14052025|ela, 05102018_papier_non_papier_peu_dense:0 14052025|ela, 05102018_papier_non_papier_presque_vide:0 14052025|ela, 05102018_papier_non_papier_tres_dense:0 14052025|ela, 05102018_papier_non_papier_tres_peu_dense:0 14052025|emr, 05102018_papier_non_papier_dense:0 14052025|emr, 05102018_papier_non_papier_peu_dense:0 14052025|emr, 05102018_papier_non_papier_presque_vide:0 14052025|emr, 05102018_papier_non_papier_tres_dense:0 14052025|emr, 05102018_papier_non_papier_tres_peu_dense:0 14052025|film_pedb, 05102018_papier_non_papier_dense:0 14052025|film_pedb, 05102018_papier_non_papier_peu_dense:0 14052025|film_pedb, 05102018_papier_non_papier_presque_vide:0 14052025|film_pedb, 05102018_papier_non_papier_tres_dense:0 14052025|film_pedb, 05102018_papier_non_papier_tres_peu_dense:0 14052025|flux_dev, 05102018_papier_non_papier_dense:0 14052025|flux_dev, 05102018_papier_non_papier_peu_dense:0 14052025|flux_dev, 05102018_papier_non_papier_presque_vide:29.99999499320984 14052025|flux_dev, 05102018_papier_non_papier_tres_dense:0 14052025|flux_dev, 05102018_papier_non_papier_tres_peu_dense:0 14052025|jrm, 05102018_papier_non_papier_dense:0 14052025|jrm, 05102018_papier_non_papier_peu_dense:0 14052025|jrm, 05102018_papier_non_papier_presque_vide:9.999965190887451 14052025|jrm, 05102018_papier_non_papier_tres_dense:0 14052025|jrm, 05102018_papier_non_papier_tres_peu_dense:0 14052025|pcm, 05102018_papier_non_papier_dense:0 14052025|pcm, 05102018_papier_non_papier_peu_dense:0 14052025|pcm, 05102018_papier_non_papier_presque_vide:0 14052025|pcm, 05102018_papier_non_papier_tres_dense:0 14052025|pcm, 05102018_papier_non_papier_tres_peu_dense:0 14052025|pcnc, 05102018_papier_non_papier_dense:0 14052025|pcnc, 05102018_papier_non_papier_peu_dense:0 14052025|pcnc, 05102018_papier_non_papier_presque_vide:0 14052025|pcnc, 05102018_papier_non_papier_tres_dense:0 14052025|pcnc, 05102018_papier_non_papier_tres_peu_dense:0 14052025|pehd_pp, 05102018_papier_non_papier_dense:0 14052025|pehd_pp, 05102018_papier_non_papier_peu_dense:0 14052025|pehd_pp, 05102018_papier_non_papier_presque_vide:9.999876976013184 14052025|pehd_pp, 05102018_papier_non_papier_tres_dense:0 14052025|pehd_pp, 05102018_papier_non_papier_tres_peu_dense:0 14052025|pet_clair, 05102018_papier_non_papier_dense:0 14052025|pet_clair, 05102018_papier_non_papier_peu_dense:0 14052025|pet_clair, 05102018_papier_non_papier_presque_vide:481.0003967285156 14052025|pet_clair, 05102018_papier_non_papier_tres_dense:0 14052025|pet_clair, 05102018_papier_non_papier_tres_peu_dense:0 14052025|refus, 05102018_papier_non_papier_dense:0 14052025|refus, 05102018_papier_non_papier_peu_dense:0 14052025|refus, 05102018_papier_non_papier_presque_vide:0 14052025|refus, 05102018_papier_non_papier_tres_dense:0 14052025|refus, 05102018_papier_non_papier_tres_peu_dense:0 14052025|tapis_vide, 05102018_papier_non_papier_dense:0 14052025|tapis_vide, 05102018_papier_non_papier_peu_dense:0 14052025|tapis_vide, 05102018_papier_non_papier_presque_vide:748.9984178543091 14052025|tapis_vide, 05102018_papier_non_papier_tres_dense:0 14052025|tapis_vide, 05102018_papier_non_papier_tres_peu_dense:0 #Number Photos for regression amount gros magasin papier (time_diff then nb_photo) : We have not displayed the number of photos removed for one material since Rungis_Papier wasn't in the thcl used ! 14052025_time_diff_distrib Number amount portfolio for this type of dechet : aluminium 0 Number amount portfolio for this type of dechet : ela 0 Number amount portfolio for this type of dechet : emr 0 Number amount portfolio for this type of dechet : film_pedb 0 Number amount portfolio for this type of dechet : flux_dev 3 Number amount portfolio for this type of dechet : jrm 1 Number amount portfolio for this type of dechet : pcm 0 Number amount portfolio for this type of dechet : pcnc 0 Number amount portfolio for this type of dechet : pehd_pp 1 https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=14052025_pehd_pp_05102018_papier_non_papier_presque_vide&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 Created to study and clean : 22964202 with name like 14052025_pehd_pp_05102018_papier_non_papier_presque_vide Number amount portfolio for this type of dechet : pet_clair 12 https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=14052025_pet_clair_05102018_papier_non_papier_presque_vide&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 Created to study and clean : 22964203 with name like 14052025_pet_clair_05102018_papier_non_papier_presque_vide Number amount portfolio for this type of dechet : refus 0 Number amount portfolio for this type of dechet : tapis_vide 38 https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=14052025_tapis_vide_05102018_papier_non_papier_presque_vide&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 Created to study and clean : 22964207 with name like 14052025_tapis_vide_05102018_papier_non_papier_presque_vide NUMBER BATCH : 4 list_ponderation used : [0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001, 0.001] , list_hashtag_class_create_as_list : ['pcnc', 'gm', 'emr', 'ela', 'pet_clair', 'film_pedb', 'pehd_pp', 'flux_dev_rigide', 'aluminium', 'tapis_vide', 'refus', 'gros_cartons', 'gm', 'flux_dev_rigide', 'gros_cartons'] We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! hashtag non trouvé ! We filter photos on hashtag condition ! hashtag non trouvé ! hashtag non trouvé ! We filter photos on hashtag condition ! result_one_balle_Type_pet_clair:{'day': '14052025', 'map_nb_amount': {0: 0, 1: 9, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 291.0002329349518, 2: 0, 3: 0, 4: 0}, 'duration': 170.000009059906, 'nb_balles_papier': 0.29100023293495175, 'begin_time_port': 'image_14052025_14_20_45_010192m0.jpg 0.12100022387504578 for time 121.00022387504578, id_amount 2 this amount prod time diff : 0.12100022387504578'} Production hashtag (incorrect ponderation at 20-10-18) : 0.29100023293495175 We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! hashtag non trouvé ! We filter photos on hashtag condition ! hashtag non trouvé ! hashtag non trouvé ! We filter photos on hashtag condition ! result_one_balle_Type_pet_clair:{'day': '14052025', 'map_nb_amount': {0: 0, 1: 6, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 179.99999713897705, 2: 0, 3: 0, 4: 0}, 'duration': 49.99998116493225, 'nb_balles_papier': 0.17999999713897705, 'begin_time_port': 'image_14052025_14_26_55_10028.jpg'} Production hashtag (incorrect ponderation at 20-10-18) : 0.17999999713897705 We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We filter photos on hashtag condition ! We have rejected 2 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 2 list_same_port_ids : [22964099] find same portfolio which already exist 22964099 , we will use it list_same_port_ids : [] https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=pet_clair_diff_batch__14052025_14_26_55_010028&access_token=3e00c8f3e5af383c48e3c68940ba6fe7 # 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 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 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 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 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`=22964099 AND mptpi.`type`=3327 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 11560 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11567 mask_detect have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11567 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11563 crop_condition is not consistent : 4 used against 2 in the step definition ! Step 11563 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11564 merge_mask_thcl_custom have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11564 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11565 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11573 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11573 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11568 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11566 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11566 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 11560 doesn't seem to be define in the database( WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 1 of step 11560 have datatype=2 whereas input 1 of step 11564 have datatype=7 WARNING : type of output 2 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11565 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11567 doesn't seem to be define in the database( WARNING : type of input 3 of step 11563 doesn't seem to be define in the database( WARNING : type of output 3 of step 11564 doesn't seem to be define in the database( WARNING : type of input 1 of step 11568 doesn't seem to be define in the database( WARNING : type of output 1 of step 11568 doesn't seem to be define in the database( WARNING : type of input 3 of step 11566 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11570 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of input 2 of step 11563 doesn't seem to be define in the database( WARNING : output 0 of step 11569 have datatype=6 whereas input 2 of step 11563 have datatype=None WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11570 doesn't seem to be define in the database( WARNING : type of output 2 of step 11560 doesn't seem to be define in the database( WARNING : type of input 1 of step 11569 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11568 have datatype=10 whereas input 3 of step 11571 have datatype=6 WARNING : type of input 2 of step 11573 doesn't seem to be define in the database( WARNING : output 1 of step 11565 have datatype=7 whereas input 2 of step 11573 have datatype=None WARNING : type of output 3 of step 11573 doesn't seem to be define in the database( WARNING : type of input 3 of step 11568 doesn't seem to be define in the database( WARNING : output 0 of step 11568 have datatype=10 whereas input 0 of step 11587 have datatype=18 WARNING : type of input 5 of step 11571 doesn't seem to be define in the database( WARNING : output 0 of step 11587 have datatype=11 whereas input 5 of step 11571 have datatype=None WARNING : output 0 of step 11564 have datatype=1 whereas input 0 of step 11565 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`=22964211 AND mptpi.`type`=3327 To do elapsed_time : count_nb_balles_and_create_portfolio 16.0671808719635 # DISPLAY ALL COLLECTED DATA : {'14052025': {'nb_upload': 68, 'nb_taggue_class': 62, 'nb_taggue_densite': 62, 'nb_descriptors': 17, 'number_port': 4, 'count_photo_in_port': 17, 'nb_port_per_class': {'aluminium': {'nb_photos': 0, 'nb_portfolios': 0}, 'ela': {'nb_photos': 0, 'nb_portfolios': 0}, 'emr': {'nb_photos': 0, 'nb_portfolios': 0}, 'film_pedb': {'nb_photos': 0, 'nb_portfolios': 0}, 'flux_dev': {'nb_photos': 2, 'nb_portfolios': 1}, 'jrm': {'nb_photos': 0, 'nb_portfolios': 0}, 'pcm': {'nb_photos': 0, 'nb_portfolios': 0}, 'pcnc': {'nb_photos': 0, 'nb_portfolios': 0}, 'pehd_pp': {'nb_photos': 0, 'nb_portfolios': 0}, 'pet_clair': {'nb_photos': 15, 'nb_portfolios': 2}, 'refus': {'nb_photos': 0, 'nb_portfolios': 0}, 'tapis_vide': {'nb_photos': 0, 'nb_portfolios': 1}}}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1358218575, 1358218570, 1358218565, 1358218559, 1358218555, 1358218550, 1358218420, 1358218416, 1358218412, 1358218405, 1358218399, 1358218393, 1358217732, 1358217727, 1358217637, 1358217628, 1358217590, 1358217558, 1358217552, 1358217282] Looping around the photos to save general results len do output : 1 /22962323Didn'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 ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218575', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218570', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218565', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218559', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218555', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218550', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218420', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218416', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218412', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218405', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218399', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358218393', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358217732', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358217727', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358217637', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358217628', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358217590', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358217558', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358217552', None, None, None, None, None, '2848948') ('4323', None, None, None, None, None, None, None, '2848948') ('4323', '22962323', '1358217282', None, None, None, None, None, '2848948') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.017337322235107422 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.293242931365967 time spend to save output : 0.017673254013061523 total time spend for step 1 : 17.31091618537903 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.30user 0.92system 0:18.97elapsed 11%CPU (0avgtext+0avgdata 102300maxresident)k 736inputs+248outputs (3major+49465minor)pagefaults 0swaps