python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4323 -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 : 2446752 load datou : 4323 # 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 : 179>20 please execute split_portfolio.py -i 25975740 -l 20 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4323, datou_cur_ids : ['3532242'] with mtr_portfolio_ids : ['25975740'] and first list_photo_ids : [] new path : /proc/2446752/ 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.019994258880615234 About to test input to load Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:split_time_score Thu Aug 14 11:11:07 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': 3847, 'mtr_user_id': 31, 'name': 'learn_MM_generique_050224', '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': '13096157,13096155,13096163,13096159,13301956,13095886,13096162,13096160,13358264,13096158,5515868,13276803', 'photo_hashtag_type': 4932, 'photo_desc_type': 6032, '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'}] (('00', 65), ('04', 114)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {1: 155} 14082025 25975740 Nombre de photos uploadées : 179 / 23040 (0%) 14082025 25975740 Nombre de photos taguées (types de déchets): 155 / 179 (86%) 14082025 25975740 Nombre de photos taguées (volume) : 155 / 179 (86%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.343292236328125e-05 ???????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.01021718978881836 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21049904823303223 Creating list_photo_total elapsed_time : select_descriptors 4.0663673877716064 14082025 25975740 Nombre de photos avec descriptors (type 6032) : 74 / 98 (75%) Missing descriptors for photos 0 and 1376976961 0:00:00|ON:Missing descriptors for photos 1376976961 and 1376976965 Missing descriptors for photos 1376976965 and 1376976971 Missing descriptors for photos 1376976971 and 1376976976 Missing descriptors for photos 1376976976 and 1376976981 Missing descriptors for photos 1376976981 and 1376976985 Missing descriptors for photos 1376976985 and 1376977102 Missing descriptors for photos 1376977102 and 1376977104 Missing descriptors for photos 1376977104 and 1376977109 Missing descriptors for photos 1376977109 and 1376977114 Missing descriptors for photos 1376977114 and 1376977119 Missing descriptors for photos 1376977119 and 1376977147 Missing descriptors for photos 1376977147 and 1376977404 Missing descriptors for photos 1376977404 and 1376977742 Missing descriptors for photos 1376977742 and 1376977409 Missing descriptors for photos 1376977409 and 1376977746 Missing descriptors for photos 1376977746 and 1376977428 Missing descriptors for photos 1376977428 and 1376977749 Missing descriptors for photos 1376977749 and 1376977476 Missing descriptors for photos 1376977476 and 1376977752 Missing descriptors for photos 1376977752 and 1376977486 Missing descriptors for photos 1376977486 and 1376977757 Missing descriptors for photos 1376977757 and 1376977771 Missing descriptors for photos 1376977771 and 1376977841 Missing descriptors for photos 1376977841 and 1376977843 Missing descriptors for photos 1376977843 and 1376977848 Missing descriptors for photos 1376977848 and 1376977851 Missing descriptors for photos 1376977851 and 1376977854 Missing descriptors for photos 1376977854 and 1376977858 Missing descriptors for photos 1376977858 and 1376977873 Missing descriptors for photos 1376977873 and 1376977876 Missing descriptors for photos 1376977876 and 1376977881 Missing descriptors for photos 1376977881 and 1376977885 Missing descriptors for photos 1376977885 and 1376977888 Missing descriptors for photos 1376977888 and 1376977889 Missing descriptors for photos 1376977889 and 1376978087 Missing descriptors for photos 1376978087 and 1376978135 Missing descriptors for photos 1376978135 and 1376978211 0:07:59.999946|OFF:0:00:10.000002|ON:0:00:00|OFF:0:00:10.000116|ON:0:01:00.000092|OFF:0:00:09.999903|ON:Missing descriptors for photos 1376978734 and 1376978763 Missing descriptors for photos 1376978763 and 1376979006 Missing descriptors for photos 1376979006 and 1376978767 Missing descriptors for photos 1376978767 and 1376979008 Missing descriptors for photos 1376979008 and 1376978776 Missing descriptors for photos 1376978776 and 1376979016 Missing descriptors for photos 1376979016 and 1376978777 Missing descriptors for photos 1376978777 and 1376978778 Missing descriptors for photos 1376978778 and 1376979491 Missing descriptors for photos 1376979491 and 1376979488 Missing descriptors for photos 1376979488 and 1376979481 Missing descriptors for photos 1376979481 and 1376979480 Missing descriptors for photos 1376979480 and 1376979477 Missing descriptors for photos 1376979477 and 1376979473 Missing descriptors for photos 1376979473 and 1376979442 Missing descriptors for photos 1376979442 and 1376979434 Missing descriptors for photos 1376979434 and 1376979432 Missing descriptors for photos 1376979432 and 1376979428 Missing descriptors for photos 1376979428 and 1376979423 Missing descriptors for photos 1376979423 and 1376979413 Missing descriptors for photos 1376979413 and 1376979387 Missing descriptors for photos 1376979387 and 1376979385 Missing descriptors for photos 1376979385 and 1376979377 Missing descriptors for photos 1376979377 and 1376979374 Missing descriptors for photos 1376979374 and 1376979369 Missing descriptors for photos 1376979369 and 1376979364 Missing descriptors for photos 1376979364 and 1376979303 Missing descriptors for photos 1376979303 and 1376979291 Missing descriptors for photos 1376979291 and 1376979289 Missing descriptors for photos 1376979289 and 1376979281 Missing descriptors for photos 1376979281 and 1376979280 Missing descriptors for photos 1376979280 and 1376979274 ERROR : Hum hum, what can we do for different size of descriptors (ignore the difference ) : 0 vs 1280 photo_id : 1376979207 photo_id_prec : 1376979274 4:27:21.000332|OFF:0:00:09.999470|ON:0:00:00|OFF:0:00:19.000116|ON:0:00:00|OFF:0:00:10.000005|ON:0:01:30.000149|OFF:0:00:09.999888|ON:0:01:00.000112|OFF:0:00:10.999979|ON:0:00:08.998823|OFF:0:00:10.001136|ON:0:00:20.000076|OFF:0:00:10.999886|ON:0:00:00|OFF:0:00:17.999745|ON:Missing descriptors for photos 1376978562 and 1376978554 Missing descriptors for photos 1376978554 and 1376978541 Missing descriptors for photos 1376978541 and 1376978538 Missing descriptors for photos 1376978538 and 1376978522 Missing descriptors for photos 1376978522 and 1376978491 Missing descriptors for photos 1376978491 and 1376978490 Missing descriptors for photos 1376978490 and 1376978487 Missing descriptors for photos 1376978487 and 1376978478 Missing descriptors for photos 1376978478 and 1376978476 Missing descriptors for photos 1376978476 and 1376978475 Missing descriptors for photos 1376978475 and 1376978177 Missing descriptors for photos 1376978177 and 1376978125 Missing descriptors for photos 1376978125 and 1376978174 Missing descriptors for photos 1376978174 and 1376978117 Missing descriptors for photos 1376978117 and 1376978170 0:02:42.000072|OFF:0:00:10.000009|ON:0:00:00|OFF:0:00:10.000063|ON:0:00:00|OFF:0:00:07.998869|ON:Missing descriptors for photos 1376977938 and 1376977936 Missing descriptors for photos 1376977936 and 1376977934 Missing descriptors for photos 1376977934 and 1376977932 Missing descriptors for photos 1376977932 and 1376977923 Missing descriptors for photos 1376977923 and 1376977920 Missing descriptors for photos 1376977920 and 1376977633 Missing descriptors for photos 1376977633 and 1376977631 Missing descriptors for photos 1376977631 and 1376977040 Missing descriptors for photos 1376977040 and 1376977553 Missing descriptors for photos 1376977553 and 1376977034 Missing descriptors for photos 1376977034 and 1376977551 Missing descriptors for photos 1376977551 and 1376977026 Missing descriptors for photos 1376977026 and 1376977548 Missing descriptors for photos 1376977548 and 1376977019 Missing descriptors for photos 1376977019 and 1376977086 Missing descriptors for photos 1376977086 and 1376977490 Missing descriptors for photos 1376977490 and 1376977545 14082025 Removing 18 photos because of the 'same image' condition Total on : 16921.999602 list_time_on Total off : 156.99918700000003 list_time_off dist_desc begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 179 time used for this insertion : 0.04442191123962402 photos_removed : len 18 elapsed_time : remove_photo_duplicate 0.11896991729736328 Creating list_photo_total XXXXXXXXXXXXXXXXXXWarning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null Warning list_scores null 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 ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! ERROR ! elapsed_time : count_sum_diff_and_build_graph 0.028963565826416016 Total photos : 179 .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 : 616987804 photo_id =1376978140 : emr .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 : 15 hashtag : 2107760237 photo_id =1376979207 : film_pedb ...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 : 26 hashtag : 616987804 photo_id =1376978116 : emr .can't find max_score_info ..can't find max_score_info .Change port : 2 hashtag : 560181804 photo_id =1376978114 : pcm .can't find max_score_info .Change port : 1 hashtag : 616987804 photo_id =1376978051 : emr ............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 : 179 Number of lists : 6 counter photos in port : 56 hashtag : aluminium(493546845) : 0 photos in 0 portfolios ! hashtag : ela(492741797) : 0 photos in 0 portfolios ! hashtag : emr(616987804) : 29 photos in 3 portfolios ! hashtag : film_pedb(2107760237) : 26 photos in 1 portfolios ! hashtag : flux_dev(2107760238) : 0 photos in 0 portfolios ! hashtag : jrm(495916461) : 0 photos in 0 portfolios ! hashtag : pcm(560181804) : 1 photos in 1 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 1 portfolios ! elapsed_time : group_photo_by_moyenne_exp 0.006100893020629883 elapsed_time : compute_and_correct_tag_with_moyenne_mobile 5.0067901611328125e-06 today str has not a value , we define it as the date of the first image todaystr_first : 14082025 attention , prev_timestamp is 0 , we do nothing ooooo*oooooooUnexpected type of data : ({'photo_id': 1376979491, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e76c92e5c70f91241edaf597fa394a15.jpg', 'username': None, 'uploaded_at': 1755162621, 'text': 'image_14082025_04_32_35_10115.jpg', 'time': 1755145955.010115}, 'different') Unexpected type of data : ({'photo_id': 1376979488, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b3ad79dc10a04d2f70fe26d6f8f4f715.jpg', 'username': None, 'uploaded_at': 1755162621, 'text': 'image_14082025_04_32_45_10161.jpg', 'time': 1755145965.010161}, 'different') Unexpected type of data : ({'photo_id': 1376979481, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/74483c3d64e07c58a1279c9718243399.jpg', 'username': None, 'uploaded_at': 1755162621, 'text': 'image_14082025_04_32_55_10134.jpg', 'time': 1755145975.010134}, 'different') Unexpected type of data : ({'photo_id': 1376979480, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e20aae3c5fd5507d8b12a845ed7b700e.jpg', 'username': None, 'uploaded_at': 1755162621, 'text': 'image_14082025_04_33_05_9022.jpg', 'time': 1755145985.009022}, 'different') Unexpected type of data : ({'photo_id': 1376979477, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/8751d9790fc9e0c80c5d6832a0f50677.jpg', 'username': None, 'uploaded_at': 1755162621, 'text': 'image_14082025_04_33_15_10108.jpg', 'time': 1755145995.010108}, 'different') Unexpected type of data : ({'photo_id': 1376979473, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/d0e465245354ac66a7a5924ef5d5e414.jpg', 'username': None, 'uploaded_at': 1755162621, 'text': 'image_14082025_04_33_25_10141.jpg', 'time': 1755146005.010141}, 'different') Unexpected type of data : ({'photo_id': 1376979442, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/16d4b5ab526bb2cf7618f76e3943b800.jpg', 'username': None, 'uploaded_at': 1755162558, 'text': 'image_14082025_04_33_35_10079.jpg', 'time': 1755146015.010079}, 'different') Unexpected type of data : ({'photo_id': 1376979434, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/389eecc648d8a680c28d884c9eb74f49.jpg', 'username': None, 'uploaded_at': 1755162558, 'text': 'image_14082025_04_33_45_10133.jpg', 'time': 1755146025.010133}, 'different') Unexpected type of data : ({'photo_id': 1376979432, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a3a20e862d4a12748a5b1335ac4ae5bb.jpg', 'username': None, 'uploaded_at': 1755162558, 'text': 'image_14082025_04_33_55_10232.jpg', 'time': 1755146035.010232}, 'different') Unexpected type of data : ({'photo_id': 1376979428, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/25987182128b2610caf2e49c0d900265.jpg', 'username': None, 'uploaded_at': 1755162558, 'text': 'image_14082025_04_34_05_10144.jpg', 'time': 1755146045.010144}, 'different') Unexpected type of data : ({'photo_id': 1376979423, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/f2395e494c7a64d6803b7a917ce80bed.jpg', 'username': None, 'uploaded_at': 1755162558, 'text': 'image_14082025_04_34_15_9478.jpg', 'time': 1755146055.009478}, 'different') Unexpected type of data : ({'photo_id': 1376979413, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/0dda94ca0716ce320dc739fcc7e1b649.jpg', 'username': None, 'uploaded_at': 1755162558, 'text': 'image_14082025_04_34_25_9995.jpg', 'time': 1755146065.009995}, 'different') Unexpected type of data : ({'photo_id': 1376979387, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a2e330461f8eb2610eec45efd12c09d9.jpg', 'username': None, 'uploaded_at': 1755162500, 'text': 'image_14082025_04_34_35_10010.jpg', 'time': 1755146075.01001}, 'different') Unexpected type of data : ({'photo_id': 1376979385, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/457e1a28185811c59ccaf01b9db63586.jpg', 'username': None, 'uploaded_at': 1755162500, 'text': 'image_14082025_04_34_45_10031.jpg', 'time': 1755146085.010031}, 'different') Unexpected type of data : ({'photo_id': 1376979377, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/a948732e9141d51b62185b730d01a1ac.jpg', 'username': None, 'uploaded_at': 1755162500, 'text': 'image_14082025_04_34_55_9991.jpg', 'time': 1755146095.009991}, 'different') Unexpected type of data : ({'photo_id': 1376979374, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/357f10dc17772de67791f99279b0d164.jpg', 'username': None, 'uploaded_at': 1755162500, 'text': 'image_14082025_04_35_05_10212.jpg', 'time': 1755146105.010212}, 'different') Unexpected type of data : ({'photo_id': 1376979369, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/361a735abb4cf37622b8ff233ab5d283.jpg', 'username': None, 'uploaded_at': 1755162500, 'text': 'image_14082025_04_35_15_10028.jpg', 'time': 1755146115.010028}, 'different') Unexpected type of data : ({'photo_id': 1376979364, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/b0de7be7cb6dd38ac6676b742ea91e51.jpg', 'username': None, 'uploaded_at': 1755162500, 'text': 'image_14082025_04_35_25_10015.jpg', 'time': 1755146125.010015}, 'different') Unexpected type of data : ({'photo_id': 1376979303, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/4516b59936e98347fda7d0a2ab2538b5.jpg', 'username': None, 'uploaded_at': 1755162448, 'text': 'image_14082025_04_35_45_9980.jpg', 'time': 1755146145.00998}, 'different') Unexpected type of data : ({'photo_id': 1376979291, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/9d096eb6354263c712475561476f4538.jpg', 'username': None, 'uploaded_at': 1755162448, 'text': 'image_14082025_04_35_55_10034.jpg', 'time': 1755146155.010034}, 'different') Unexpected type of data : ({'photo_id': 1376979289, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/aafb85686c82237bb43e0798d7f6e49d.jpg', 'username': None, 'uploaded_at': 1755162448, 'text': 'image_14082025_04_36_05_10308.jpg', 'time': 1755146165.010308}, 'different') Unexpected type of data : ({'photo_id': 1376979281, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/e2249ff1cb8d741007637dd6f19ade16.jpg', 'username': None, 'uploaded_at': 1755162448, 'text': 'image_14082025_04_36_16_10170.jpg', 'time': 1755146176.01017}, 'different') Unexpected type of data : ({'photo_id': 1376979280, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/6bd3de55171258791f029e05f57654e4.jpg', 'username': None, 'uploaded_at': 1755162448, 'text': 'image_14082025_04_36_24_8922.jpg', 'time': 1755146184.008922}, 'different') Unexpected type of data : ({'photo_id': 1376979274, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/14/1be9c2a39d01a23e03238f124efcd4c3.jpg', 'username': None, 'uploaded_at': 1755162448, 'text': 'image_14082025_04_36_35_10150.jpg', 'time': 1755146195.01015}, 'different') * BIG TIME 15900.000231981277 (139.99983716011047, 6, 0, 0, 0, 0, 0, 0, 0.43682808, 0, 0, 0, 0, 0, 0.06300000569820403, 0.0056, 0.0010000080823898316, 1.9, 0.010000051021575928, -0.0) on 15 1376979207 2025-08-14 04:36:45.010237 id_data : 89 oooooooooooo* BIG TIME 169.99898195266724 (542.003178358078, 2, 0, 0, 0.67546403, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.7189999974966048, 0.0161, 0.005599665141105652, 1.9, 0.029999944925308226, -0.03333328644434611) on 55 1376977923 2025-08-14 04:50:15.009014 id_data : 165 *o*oo*oooCount Time bigger than 30s : 6 #Number Photos for regression : {'14082025': {493546845: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 492741797: {2107751013: 0, 2107751014: 10.999967098236084, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 616987804: {2107751013: 0, 2107751014: 124.99833393096924, 2107751015: 51.9997980594635, 2107751016: 0, 2107751017: 0}, 2107760237: {2107751013: 0, 2107751014: 62.00008296966553, 2107751015: 80.0020010471344, 2107751016: 111.0010073184967, 2107751017: 0}, 2107760238: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 495916461: {2107751013: 0, 2107751014: 10.000009059906006, 2107751015: 0, 2107751016: 0, 2107751017: 0}, 560181804: {2107751013: 0, 2107751014: 30.0020809173584, 2107751015: 39.99990773200989, 2107751016: 0, 2107751017: 0}, 1284539308: {2107751013: 0, 2107751014: 0, 2107751015: 0, 2107751016: 20.999900102615356, 2107751017: 0}, 2107760239: {2107751013: 0, 2107751014: 10.000002145767212, 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: 941.9999103546143, 2107751016: 0, 2107751017: 0}}} 14082025|aluminium, 05102018_papier_non_papier_dense:0 14082025|aluminium, 05102018_papier_non_papier_peu_dense:0 14082025|aluminium, 05102018_papier_non_papier_presque_vide:0 14082025|aluminium, 05102018_papier_non_papier_tres_dense:0 14082025|aluminium, 05102018_papier_non_papier_tres_peu_dense:0 14082025|ela, 05102018_papier_non_papier_dense:0 14082025|ela, 05102018_papier_non_papier_peu_dense:10.999967098236084 14082025|ela, 05102018_papier_non_papier_presque_vide:0 14082025|ela, 05102018_papier_non_papier_tres_dense:0 14082025|ela, 05102018_papier_non_papier_tres_peu_dense:0 14082025|emr, 05102018_papier_non_papier_dense:0 14082025|emr, 05102018_papier_non_papier_peu_dense:124.99833393096924 14082025|emr, 05102018_papier_non_papier_presque_vide:51.9997980594635 14082025|emr, 05102018_papier_non_papier_tres_dense:0 14082025|emr, 05102018_papier_non_papier_tres_peu_dense:0 14082025|film_pedb, 05102018_papier_non_papier_dense:0 14082025|film_pedb, 05102018_papier_non_papier_peu_dense:62.00008296966553 14082025|film_pedb, 05102018_papier_non_papier_presque_vide:80.0020010471344 14082025|film_pedb, 05102018_papier_non_papier_tres_dense:111.0010073184967 14082025|film_pedb, 05102018_papier_non_papier_tres_peu_dense:0 14082025|flux_dev, 05102018_papier_non_papier_dense:0 14082025|flux_dev, 05102018_papier_non_papier_peu_dense:0 14082025|flux_dev, 05102018_papier_non_papier_presque_vide:0 14082025|flux_dev, 05102018_papier_non_papier_tres_dense:0 14082025|flux_dev, 05102018_papier_non_papier_tres_peu_dense:0 14082025|jrm, 05102018_papier_non_papier_dense:0 14082025|jrm, 05102018_papier_non_papier_peu_dense:10.000009059906006 14082025|jrm, 05102018_papier_non_papier_presque_vide:0 14082025|jrm, 05102018_papier_non_papier_tres_dense:0 14082025|jrm, 05102018_papier_non_papier_tres_peu_dense:0 14082025|pcm, 05102018_papier_non_papier_dense:0 14082025|pcm, 05102018_papier_non_papier_peu_dense:30.0020809173584 14082025|pcm, 05102018_papier_non_papier_presque_vide:39.99990773200989 14082025|pcm, 05102018_papier_non_papier_tres_dense:0 14082025|pcm, 05102018_papier_non_papier_tres_peu_dense:0 14082025|pcnc, 05102018_papier_non_papier_dense:0 14082025|pcnc, 05102018_papier_non_papier_peu_dense:0 14082025|pcnc, 05102018_papier_non_papier_presque_vide:0 14082025|pcnc, 05102018_papier_non_papier_tres_dense:20.999900102615356 14082025|pcnc, 05102018_papier_non_papier_tres_peu_dense:0 14082025|pehd_pp, 05102018_papier_non_papier_dense:0 14082025|pehd_pp, 05102018_papier_non_papier_peu_dense:10.000002145767212 14082025|pehd_pp, 05102018_papier_non_papier_presque_vide:0 14082025|pehd_pp, 05102018_papier_non_papier_tres_dense:0 14082025|pehd_pp, 05102018_papier_non_papier_tres_peu_dense:0 14082025|pet_clair, 05102018_papier_non_papier_dense:0 14082025|pet_clair, 05102018_papier_non_papier_peu_dense:0 14082025|pet_clair, 05102018_papier_non_papier_presque_vide:0 14082025|pet_clair, 05102018_papier_non_papier_tres_dense:0 14082025|pet_clair, 05102018_papier_non_papier_tres_peu_dense:0 14082025|refus, 05102018_papier_non_papier_dense:0 14082025|refus, 05102018_papier_non_papier_peu_dense:0 14082025|refus, 05102018_papier_non_papier_presque_vide:0 14082025|refus, 05102018_papier_non_papier_tres_dense:0 14082025|refus, 05102018_papier_non_papier_tres_peu_dense:0 14082025|tapis_vide, 05102018_papier_non_papier_dense:0 14082025|tapis_vide, 05102018_papier_non_papier_peu_dense:0 14082025|tapis_vide, 05102018_papier_non_papier_presque_vide:941.9999103546143 14082025|tapis_vide, 05102018_papier_non_papier_tres_dense:0 14082025|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 ! 14082025_time_diff_distrib Number amount portfolio for this type of dechet : aluminium 0 Number amount portfolio for this type of dechet : ela 1 Created to study and clean : 25976723 with name like 14082025_ela_05102018_papier_non_papier_peu_dense Number amount portfolio for this type of dechet : emr 18 Created to study and clean : 25976726 with name like 14082025_emr_05102018_papier_non_papier_peu_dense Created to study and clean : 25976730 with name like 14082025_emr_05102018_papier_non_papier_presque_vide Number amount portfolio for this type of dechet : film_pedb 25 Created to study and clean : 25976733 with name like 14082025_film_pedb_05102018_papier_non_papier_peu_dense Created to study and clean : 25976736 with name like 14082025_film_pedb_05102018_papier_non_papier_presque_vide Created to study and clean : 25976739 with name like 14082025_film_pedb_05102018_papier_non_papier_tres_dense Number amount portfolio for this type of dechet : flux_dev 0 Number amount portfolio for this type of dechet : jrm 1 Number amount portfolio for this type of dechet : pcm 7 Number amount portfolio for this type of dechet : pcnc 2 Created to study and clean : 25976742 with name like 14082025_pcnc_05102018_papier_non_papier_tres_dense Number amount portfolio for this type of dechet : pehd_pp 1 Created to study and clean : 25976745 with name like 14082025_pehd_pp_05102018_papier_non_papier_peu_dense 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 79 Created to study and clean : 25976748 with name like 14082025_tapis_vide_05102018_papier_non_papier_presque_vide NUMBER BATCH : 6 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 ! result_one_balle_Type_emr:{'day': '14082025', 'map_nb_amount': {0: 7, 1: 7, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 77.00009417533875, 1: 61.99979496002197, 2: 10.999999046325684, 3: 0, 4: 0}, 'duration': 150.00011110305786, 'nb_balles_papier': 0.14999988818168639, 'begin_time_port': 'image_14082025_00_08_15_010069m0.jpg 0.009999857902526856 for time 9.999857902526855, id_amount 2 this amount prod time diff : 0.009999857902526856'} Production hashtag (incorrect ponderation at 20-10-18) : 0.14999988818168639 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 ! 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 ! result_one_balle_Type_film_pedb:{'day': '14082025', 'map_nb_amount': {0: 6, 1: 9, 2: 11, 3: 0, 4: 0}, 'map_time_amount': {0: 62.00008296966553, 1: 80.0020010471344, 2: 111.0010073184967, 3: 0, 4: 0}, 'duration': 298.99966192245483, 'nb_balles_papier': 0.25400309133529664, 'begin_time_port': 'image_14082025_04_36_45_010237m0.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.25400309133529664 hashtag non trouvé ! We filter photos on hashtag condition ! hashtag non trouvé ! hashtag non trouvé ! 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 ! result_one_balle_Type_emr:{'day': '14082025', 'map_nb_amount': {0: 9, 1: 2, 2: 1, 3: 0, 4: 0}, 'map_time_amount': {0: 89.0002269744873, 1: 19.999927043914795, 2: 9.999901056289673, 3: 0, 4: 0}, 'duration': 111.00118589401245, 'nb_balles_papier': 0.11900005507469177, 'begin_time_port': 'image_14082025_04_44_54_008912m0.jpg 0.007998869180679321 for time 7.998869180679321, id_amount 1 this amount prod time diff : 0.007998869180679321'} Production hashtag (incorrect ponderation at 20-10-18) : 0.11900005507469177 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 ! 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 3 photos because of the batch_size condition ! NUMBER BATCH list_of_portfolios_to_create : 3 list_same_port_ids : [25976690] find same portfolio which already exist 25976690 , we will use it list_same_port_ids : [25976693] find same portfolio which already exist 25976693 , we will use it list_same_port_ids : [25976227] find same portfolio which already exist 25976227 , we will use it # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! 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 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 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 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 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`=25976690 AND mptpi.`type`=4207 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 ! 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 11978 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11987 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11986 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11982 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11982 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11985 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 11985 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11979 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11979 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11990 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11990 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11981 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11980 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11980 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11989 split_time_score have less inputs used (1) than in the step definition (2) : 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11981 doesn't seem to be define in the database( WARNING : type of input 3 of step 11980 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11978 doesn't seem to be define in the database( WARNING : type of input 2 of step 11982 doesn't seem to be define in the database( WARNING : output 1 of step 11978 have datatype=2 whereas input 1 of step 11985 have datatype=7 WARNING : type of output 2 of step 11985 doesn't seem to be define in the database( WARNING : type of input 1 of step 11979 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11981 have datatype=10 whereas input 3 of step 11988 have datatype=6 WARNING : type of input 2 of step 11990 doesn't seem to be define in the database( WARNING : output 1 of step 11979 have datatype=7 whereas input 2 of step 11990 have datatype=None WARNING : type of output 3 of step 11990 doesn't seem to be define in the database( WARNING : type of input 1 of step 11981 doesn't seem to be define in the database( WARNING : output 0 of step 11981 have datatype=10 whereas input 0 of step 11991 have datatype=18 WARNING : type of input 5 of step 11988 doesn't seem to be define in the database( WARNING : output 0 of step 11991 have datatype=11 whereas input 5 of step 11988 have datatype=None WARNING : type of output 1 of step 11987 doesn't seem to be define in the database( WARNING : type of input 3 of step 11982 doesn't seem to be define in the database( WARNING : type of output 1 of step 11986 doesn't seem to be define in the database( WARNING : type of input 3 of step 11982 doesn't seem to be define in the database( WARNING : output 0 of step 11985 have datatype=1 whereas input 0 of step 11979 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`=25976693 AND mptpi.`type`=4461 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 ! 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 11500 mask_detect is not consistent : 3 used against 2 in the step definition ! WARNING : number of outputs for step 11508 brightness is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11509 blur_detection is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11504 crop_condition is not consistent : 3 used against 2 in the step definition ! Step 11504 crop_condition have less outputs used (2) than in the step definition (3) : some outputs may be not used ! Step 11507 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 11507 merge_mask_thcl_custom is not consistent : 3 used against 2 in the step definition ! WARNING : number of inputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11501 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! Step 11576 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 11576 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of outputs for step 11503 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11502 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11502 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11511 split_time_score have less inputs used (1) than in the step definition (2) : 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 ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11503 doesn't seem to be define in the database( WARNING : type of input 3 of step 11502 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 2 of step 11500 doesn't seem to be define in the database( WARNING : type of input 2 of step 11504 doesn't seem to be define in the database( WARNING : output 1 of step 11500 have datatype=2 whereas input 1 of step 11507 have datatype=7 WARNING : type of output 2 of step 11507 doesn't seem to be define in the database( WARNING : type of input 1 of step 11501 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11503 have datatype=10 whereas input 3 of step 11510 have datatype=6 WARNING : type of input 2 of step 11576 doesn't seem to be define in the database( WARNING : output 1 of step 11501 have datatype=7 whereas input 2 of step 11576 have datatype=None WARNING : type of output 3 of step 11576 doesn't seem to be define in the database( WARNING : type of input 1 of step 11503 doesn't seem to be define in the database( WARNING : output 0 of step 11503 have datatype=10 whereas input 0 of step 11582 have datatype=18 WARNING : type of input 5 of step 11510 doesn't seem to be define in the database( WARNING : output 0 of step 11582 have datatype=11 whereas input 5 of step 11510 have datatype=None WARNING : type of output 1 of step 11508 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : type of output 1 of step 11509 doesn't seem to be define in the database( WARNING : type of input 3 of step 11504 doesn't seem to be define in the database( WARNING : output 0 of step 11507 have datatype=1 whereas input 0 of step 11501 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`=25976227 AND mptpi.`type`=4207 To do elapsed_time : count_nb_balles_and_create_portfolio 55.55723571777344 # DISPLAY ALL COLLECTED DATA : {'14082025': {'nb_upload': 179, 'nb_taggue_class': 155, 'nb_taggue_densite': 155, 'nb_descriptors': 74, 'number_port': 6, 'count_photo_in_port': 56, 'nb_port_per_class': {'aluminium': {'nb_photos': 0, 'nb_portfolios': 0}, 'ela': {'nb_photos': 0, 'nb_portfolios': 0}, 'emr': {'nb_photos': 29, 'nb_portfolios': 3}, 'film_pedb': {'nb_photos': 26, 'nb_portfolios': 1}, 'flux_dev': {'nb_photos': 0, 'nb_portfolios': 0}, 'jrm': {'nb_photos': 0, 'nb_portfolios': 0}, 'pcm': {'nb_photos': 1, 'nb_portfolios': 1}, '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': 1}}}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1376979491, 1376979488, 1376979481, 1376979480, 1376979477, 1376979473, 1376979442, 1376979434, 1376979432, 1376979428, 1376979423, 1376979413, 1376979387, 1376979385, 1376979377, 1376979374, 1376979369, 1376979364, 1376979303, 1376979291] Looping around the photos to save general results len do output : 1 /25975740Didn'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, '3532242') ('4323', '25975740', '1376979491', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979488', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979481', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979480', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979477', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979473', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979442', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979434', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979432', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979428', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979423', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979413', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979387', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979385', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979377', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979374', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979369', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979364', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979303', None, None, None, None, None, '3532242') ('4323', None, None, None, None, None, None, None, '3532242') ('4323', '25975740', '1376979291', None, None, None, None, None, '3532242') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.015570640563964844 save_final save missing photos in datou_result : time spend for datou_step_exec : 60.10482931137085 time spend to save output : 0.015894412994384766 total time spend for step 1 : 60.120723724365234 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.50user 0.95system 1:03.13elapsed 3%CPU (0avgtext+0avgdata 104972maxresident)k 18608inputs+736outputs (243major+49891minor)pagefaults 0swaps