python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4887 -l 20 --fifo' -s datou_current_sts -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 3390683 load datou : 4887 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 42>20 please execute split_portfolio.py -i 22852109 -l 20 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4887, datou_cur_ids : ['2816203'] with mtr_portfolio_ids : ['22852109'] and first list_photo_ids : [] new path : /proc/3390683/ 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 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.01746964454650879 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Sat May 10 08:38:08 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': 3892, 'mtr_user_id': 31, 'name': 'learn_MM_generique_26022025', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,emr,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '17736100,17736101,17736102,17736103,17736104,20837895,20837896,17736107,17736108,17736109,17736110,18876169', 'photo_hashtag_type': 4989, 'photo_desc_type': 6092, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,616987804,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'}] (('01', 7), ('00', 9), ('02', 11), ('03', 6), ('04', 8), ('05', 1)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 42} 10052025 22852109 Nombre de photos uploadées : 42 / 23040 (0%) 10052025 22852109 Nombre de photos taguées (types de déchets): 42 / 42 (100%) 10052025 22852109 Nombre de photos taguées (volume) : 42 / 42 (100%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 2.574920654296875e-05 elapsed_time : fill_and_build_computed_from_old_data 0.002607107162475586 elapsed_time : insert_dashboard_record_day_entry 0.02740192413330078 Creating list_photo_total elapsed_time : select_descriptors 2.639599323272705 10052025 22852109 Nombre de photos avec descriptors (type 6092) : 42 / 42 (100%) ERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 0 vs 1280 photo_id : 1357347312 photo_id_prec : 0 0:00:00|ON:0:00:00|OFF:0:20:36.000069|ON:0:05:23.999930|OFF:0:25:42.999999|ON:0:10:46.999998|OFF:1:07:41.999999|ON:0:00:00|OFF:0:00:54.000002|ON:0:19:48.000029|OFF:0:19:18.999996|ON:0:02:58.999973|OFF:1:12:23.999031|ON:0:26:17.999810|OFF:0:09:53.999978|ON:0:09:54.001218|OFF: 10052025 Removing 30 photos because of the 'same image' condition Total on : 4510.0009580000005 list_time_on Total off : 12991.999074 list_time_off dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 42 time used for this insertion : 0.011993169784545898 photos_removed : len 30 elapsed_time : remove_photo_duplicate 0.041591644287109375 Creating list_photo_total XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXtime_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 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 elapsed_time : count_sum_diff_and_build_graph 0.00453948974609375 Total photos : 42 ..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 Total photos : 42 Number of lists : 1 counter photos in port : 12 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) : 0 photos in 0 portfolios ! hashtag : jrm(495916461) : 12 photos in 1 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) : 0 photos in 0 portfolios ! hashtag : refus(538914404) : 0 photos in 0 portfolios ! hashtag : tapis_vide(2107748999) : 0 photos in 0 portfolios ! elapsed_time : group_photo_by_moyenne_exp 0.0024411678314208984 elapsed_time : compute_and_correct_tag_with_moyenne_mobile 2.86102294921875e-06 today str has not a value , we define it as the date of the first image todaystr_first : 10052025 attention , prev_timestamp is 0 , we do nothing o*o***************o** BIG TIME 1188.0000290870667 (48.00117897987366, 5, 0, 0, 0, 0, 0, 0.83419687, 0, 0, 0, 0, 0, 0, 0.7865999996900559, 0.0021, 0.0, 1.9, 0.10200118088722229, -0.09000000317891439) on 2 1357352963 2025-05-10 02:31:22.006232 id_data : 21 * BIG TIME 323.9987919330597 (48.00117897987366, 5, 0, 0, 0, 0, 0, 0.83419687, 0, 0, 0, 0, 0, 0, 0.7865999996900559, 0.0021, 0.0, 1.9, 0.10200118088722229, -0.09000000317891439) on 2 1357353894 2025-05-10 02:36:46.005024 id_data : 22 * BIG TIME 432.00117897987366 (48.00117897987366, 5, 0, 0, 0, 0, 0, 0.83419687, 0, 0, 0, 0, 0, 0, 0.7865999996900559, 0.0021, 0.0, 1.9, 0.10200118088722229, -0.09000000317891439) on 2 1357354414 2025-05-10 02:43:58.006203 id_data : 23 * BIG TIME 403.0000250339508 (48.00117897987366, 5, 0, 0, 0, 0, 0, 0.83419687, 0, 0, 0, 0, 0, 0, 0.7865999996900559, 0.0021, 0.0, 1.9, 0.10200118088722229, -0.09000000317891439) on 2 1357355293 2025-05-10 02:50:41.006228 id_data : 24 *** BIG TIME 594.0000009536743 (102.00118088722229, 5, 0, 0, 0, 0, 0, 0.8223093, 0, 0, 0, 0, 0, 0, 1.0277999999046326, 0.0026, 0.0, 1.9, 0.1670011579990387, -0.11000000675519317) on 3 1357358010 2025-05-10 03:03:34.006202 id_data : 27 * BIG TIME 594.0000140666962 (102.00118088722229, 5, 0, 0, 0, 0, 0, 0.8223093, 0, 0, 0, 0, 0, 0, 1.0277999999046326, 0.0026, 0.0, 1.9, 0.1670011579990387, -0.11000000675519317) on 3 1357361011 2025-05-10 03:13:28.006216 id_data : 28 * BIG TIME 593.9999849796295 (102.00118088722229, 5, 0, 0, 0, 0, 0, 0.8223093, 0, 0, 0, 0, 0, 0, 1.0277999999046326, 0.0026, 0.0, 1.9, 0.1670011579990387, -0.11000000675519317) on 3 1357361380 2025-05-10 03:23:22.006201 id_data : 29 * BIG TIME 593.9988179206848 (102.00118088722229, 5, 0, 0, 0, 0, 0, 0.8223093, 0, 0, 0, 0, 0, 0, 1.0277999999046326, 0.0026, 0.0, 1.9, 0.1670011579990387, -0.11000000675519317) on 3 1357362027 2025-05-10 03:33:16.005019 id_data : 30 * BIG TIME 594.001188993454 (102.00118088722229, 5, 0, 0, 0, 0, 0, 0.8223093, 0, 0, 0, 0, 0, 0, 1.0277999999046326, 0.0026, 0.0, 1.9, 0.1670011579990387, -0.11000000675519317) on 3 1357362598 2025-05-10 03:43:10.006208 id_data : 31 * BIG TIME 594.9999430179596 (102.00118088722229, 5, 0, 0, 0, 0, 0, 0.8223093, 0, 0, 0, 0, 0, 0, 1.0277999999046326, 0.0026, 0.0, 1.9, 0.1670011579990387, -0.11000000675519317) on 3 1357363248 2025-05-10 03:53:05.006151 id_data : 32 * BIG TIME 593.0000491142273 (102.00118088722229, 5, 0, 0, 0, 0, 0, 0.8223093, 0, 0, 0, 0, 0, 0, 1.0277999999046326, 0.0026, 0.0, 1.9, 0.1670011579990387, -0.11000000675519317) on 3 1357366057 2025-05-10 04:02:58.006200 id_data : 33 * BIG TIME 157.00003385543823 (102.00118088722229, 5, 0, 0, 0, 0, 0, 0.8223093, 0, 0, 0, 0, 0, 0, 1.0277999999046326, 0.0026, 0.0, 1.9, 0.1670011579990387, -0.11000000675519317) on 3 1357367159 2025-05-10 04:05:35.006234 id_data : 34 * BIG TIME 396.00097489356995 (167.0011579990387, 5, 0, 0, 0, 0, 0, 0.888183, 0, 0, 0, 0, 0, 0, 1.4735999026060105, 0.0036, 0.011399999594688416, 1.9, 0.19600015616416933, -0.53999838511149) on 4 1357367708 2025-05-10 04:12:40.006207 id_data : 36 * BIG TIME 594.0000200271606 (167.0011579990387, 5, 0, 0, 0, 0, 0, 0.888183, 0, 0, 0, 0, 0, 0, 1.4735999026060105, 0.0036, 0.011399999594688416, 1.9, 0.19600015616416933, -0.53999838511149) on 4 1357368016 2025-05-10 04:22:34.006227 id_data : 37 * BIG TIME 587.9988150596619 (167.0011579990387, 5, 0, 0, 0, 0, 0, 0.888183, 0, 0, 0, 0, 0, 0, 1.4735999026060105, 0.0036, 0.011399999594688416, 1.9, 0.19600015616416933, -0.53999838511149) on 4 1357368309 2025-05-10 04:32:22.005042 id_data : 38 * BIG TIME 593.9999778270721 (167.0011579990387, 5, 0, 0, 0, 0, 0, 0.888183, 0, 0, 0, 0, 0, 0, 1.4735999026060105, 0.0036, 0.011399999594688416, 1.9, 0.19600015616416933, -0.53999838511149) on 4 1357369064 2025-05-10 04:42:16.005020 id_data : 39 * BIG TIME 594.0012180805206 (167.0011579990387, 5, 0, 0, 0, 0, 0, 0.888183, 0, 0, 0, 0, 0, 0, 1.4735999026060105, 0.0036, 0.011399999594688416, 1.9, 0.19600015616416933, -0.53999838511149) on 4 1357369471 2025-05-10 04:52:10.006238 id_data : 40 * BIG TIME 593.9987490177155 (167.0011579990387, 5, 0, 0, 0, 0, 0, 0.888183, 0, 0, 0, 0, 0, 0, 1.4735999026060105, 0.0036, 0.011399999594688416, 1.9, 0.19600015616416933, -0.53999838511149) on 4 1357372289 2025-05-10 05:02:04.004987 id_data : 41 Count Time bigger than 30s : 37 #Number Photos for regression : {'10052025': {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: 0, 2107751016: 0, 2107751017: 0}, 495916461: {2107751013: 0, 2107751014: 0, 2107751015: 196.0001561641693, 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: 0, 2107751016: 0, 2107751017: 0}, 2107755846: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 538914404: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 2107748999: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}}} 10052025|aluminium, 05102018_papier_non_papier_dense:0 10052025|aluminium, 05102018_papier_non_papier_peu_dense:0 10052025|aluminium, 05102018_papier_non_papier_presque_vide:0 10052025|aluminium, 05102018_papier_non_papier_tres_dense:0 10052025|aluminium, 05102018_papier_non_papier_tres_peu_dense:0 10052025|ela, 05102018_papier_non_papier_dense:0 10052025|ela, 05102018_papier_non_papier_peu_dense:0 10052025|ela, 05102018_papier_non_papier_presque_vide:0 10052025|ela, 05102018_papier_non_papier_tres_dense:0 10052025|ela, 05102018_papier_non_papier_tres_peu_dense:0 10052025|emr, 05102018_papier_non_papier_dense:0 10052025|emr, 05102018_papier_non_papier_peu_dense:0 10052025|emr, 05102018_papier_non_papier_presque_vide:0 10052025|emr, 05102018_papier_non_papier_tres_dense:0 10052025|emr, 05102018_papier_non_papier_tres_peu_dense:0 10052025|film_pedb, 05102018_papier_non_papier_dense:0 10052025|film_pedb, 05102018_papier_non_papier_peu_dense:0 10052025|film_pedb, 05102018_papier_non_papier_presque_vide:0 10052025|film_pedb, 05102018_papier_non_papier_tres_dense:0 10052025|film_pedb, 05102018_papier_non_papier_tres_peu_dense:0 10052025|flux_dev, 05102018_papier_non_papier_dense:0 10052025|flux_dev, 05102018_papier_non_papier_peu_dense:0 10052025|flux_dev, 05102018_papier_non_papier_presque_vide:0 10052025|flux_dev, 05102018_papier_non_papier_tres_dense:0 10052025|flux_dev, 05102018_papier_non_papier_tres_peu_dense:0 10052025|jrm, 05102018_papier_non_papier_dense:0 10052025|jrm, 05102018_papier_non_papier_peu_dense:0 10052025|jrm, 05102018_papier_non_papier_presque_vide:196.0001561641693 10052025|jrm, 05102018_papier_non_papier_tres_dense:0 10052025|jrm, 05102018_papier_non_papier_tres_peu_dense:0 10052025|pcm, 05102018_papier_non_papier_dense:0 10052025|pcm, 05102018_papier_non_papier_peu_dense:0 10052025|pcm, 05102018_papier_non_papier_presque_vide:0 10052025|pcm, 05102018_papier_non_papier_tres_dense:0 10052025|pcm, 05102018_papier_non_papier_tres_peu_dense:0 10052025|pcnc, 05102018_papier_non_papier_dense:0 10052025|pcnc, 05102018_papier_non_papier_peu_dense:0 10052025|pcnc, 05102018_papier_non_papier_presque_vide:0 10052025|pcnc, 05102018_papier_non_papier_tres_dense:0 10052025|pcnc, 05102018_papier_non_papier_tres_peu_dense:0 10052025|pehd_pp, 05102018_papier_non_papier_dense:0 10052025|pehd_pp, 05102018_papier_non_papier_peu_dense:0 10052025|pehd_pp, 05102018_papier_non_papier_presque_vide:0 10052025|pehd_pp, 05102018_papier_non_papier_tres_dense:0 10052025|pehd_pp, 05102018_papier_non_papier_tres_peu_dense:0 10052025|pet_clair, 05102018_papier_non_papier_dense:0 10052025|pet_clair, 05102018_papier_non_papier_peu_dense:0 10052025|pet_clair, 05102018_papier_non_papier_presque_vide:0 10052025|pet_clair, 05102018_papier_non_papier_tres_dense:0 10052025|pet_clair, 05102018_papier_non_papier_tres_peu_dense:0 10052025|refus, 05102018_papier_non_papier_dense:0 10052025|refus, 05102018_papier_non_papier_peu_dense:0 10052025|refus, 05102018_papier_non_papier_presque_vide:0 10052025|refus, 05102018_papier_non_papier_tres_dense:0 10052025|refus, 05102018_papier_non_papier_tres_peu_dense:0 10052025|tapis_vide, 05102018_papier_non_papier_dense:0 10052025|tapis_vide, 05102018_papier_non_papier_peu_dense:0 10052025|tapis_vide, 05102018_papier_non_papier_presque_vide:0 10052025|tapis_vide, 05102018_papier_non_papier_tres_dense:0 10052025|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 ! 10052025_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 0 Number amount portfolio for this type of dechet : jrm 4 https://marlene.fotonower.com/api/v1/secured/portfolio/new?name=10052025_jrm_05102018_papier_non_papier_presque_vide&access_token=08f99e4316eab7bf4779f7398f9aa5cd Created to study and clean : 22857192 with name like 10052025_jrm_05102018_papier_non_papier_presque_vide 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 0 Number amount portfolio for this type of dechet : pet_clair 0 Number amount portfolio for this type of dechet : refus 0 Number amount portfolio for this type of dechet : tapis_vide 0 begin to remove the low_density images haven't found thcl_volume NUMBER BATCH : 1 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 : ['emr', 'pcm', 'pcnc', 'jrm', 'ela', 'pet_clair', 'film_pedb', 'pehd_pp', 'flux_dev', 'aluminium', 'tapis_vide', 'refus'] 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 ! result_one_balle_Type_jrm:{'day': '10052025', 'map_nb_amount': {0: 0, 1: 12, 2: 0, 3: 0, 4: 0}, 'map_time_amount': {0: 0, 1: 196.0001561641693, 2: 0, 3: 0, 4: 0}, 'duration': 16907.99881386757, 'nb_balles_papier': 0.20400015616416933, 'begin_time_port': 'image_10052025_00_00_28_006206m0.jpg 0.001 for time 1, id_amount 2 this amount prod time diff : 0.001'} Production hashtag (incorrect ponderation at 20-10-18) : 0.20400015616416933 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 have rejected 0 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 1 list_same_port_ids : [22856961] find same portfolio which already exist 22856961 , we will use it Qualite : 0.03977901460009508 # 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 ! 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 11449 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 11452 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Step 11452 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11453 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 11453 merge_mask_thcl_custom is not consistent : 4 used against 2 in the step definition ! WARNING : number of inputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11454 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11478 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11478 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11456 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11455 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11455 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11458 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! 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 11449 doesn't seem to be define in the database( WARNING : type of input 2 of step 11452 doesn't seem to be define in the database( WARNING : output 1 of step 11449 have datatype=2 whereas input 1 of step 11453 have datatype=7 WARNING : type of output 2 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11454 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 3 of step 11453 doesn't seem to be define in the database( WARNING : type of input 1 of step 11456 doesn't seem to be define in the database( WARNING : type of output 1 of step 11456 doesn't seem to be define in the database( WARNING : type of input 3 of step 11455 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11456 have datatype=10 whereas input 3 of step 11458 have datatype=6 WARNING : type of input 5 of step 11458 doesn't seem to be define in the database( WARNING : output 0 of step 11477 have datatype=11 whereas input 5 of step 11458 have datatype=None WARNING : output 0 of step 11456 have datatype=10 whereas input 0 of step 11477 have datatype=18 WARNING : type of input 2 of step 11478 doesn't seem to be define in the database( WARNING : output 1 of step 11454 have datatype=7 whereas input 2 of step 11478 have datatype=None WARNING : type of output 3 of step 11478 doesn't seem to be define in the database( WARNING : type of input 2 of step 11456 doesn't seem to be define in the database( WARNING : output 0 of step 11453 have datatype=1 whereas input 0 of step 11454 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`=22856961 AND mptpi.`type`=3726 To do elapsed_time : count_nb_balles_and_create_portfolio 0.9273734092712402 # DISPLAY ALL COLLECTED DATA : {'10052025': {'nb_upload': 42, 'nb_taggue_class': 42, 'nb_taggue_densite': 42, 'nb_descriptors': 42, 'number_port': 1, 'count_photo_in_port': 12, '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': 0, 'nb_portfolios': 0}, 'jrm': {'nb_photos': 12, 'nb_portfolios': 1}, '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': 0, 'nb_portfolios': 0}, 'refus': {'nb_photos': 0, 'nb_portfolios': 0}, 'tapis_vide': {'nb_photos': 0, 'nb_portfolios': 0}}}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1357372289, 1357369471, 1357369064, 1357368309, 1357368034, 1357368016, 1357367708, 1357367159, 1357366807, 1357366057, 1357363248, 1357362598, 1357362027, 1357361380, 1357361011, 1357358010, 1357355730, 1357355293, 1357354683, 1357354414] Looping around the photos to save general results len do output : 1 /22852109Didn'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 ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357372289', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357369471', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357369064', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357368309', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357368034', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357368016', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357367708', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357367159', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357366807', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357366057', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357363248', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357362598', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357362027', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357361380', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357361011', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357358010', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357355730', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357355293', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357354683', None, None, None, None, None, '2816203') ('4887', None, None, None, None, None, None, None, '2816203') ('4887', '22852109', '1357354414', None, None, None, None, None, '2816203') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.10225033760070801 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.7214889526367188 time spend to save output : 0.10260915756225586 total time spend for step 1 : 3.8240981101989746 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.11user 0.87system 0:06.73elapsed 29%CPU (0avgtext+0avgdata 101464maxresident)k 416inputs+416outputs (3major+63484minor)pagefaults 0swaps