python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -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 : 2061449 load datou : 4871 # 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 : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) 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 : 4327>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/2061449/ 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 : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.5962700843811035 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Thu Feb 6 04:07:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec inside step blur_detection methode: ratio et variance treat image : temp/1738811246_2061449_1335104622_67570ce7ff629297b47fd421a0f6439a.jpg resize: (1080, 1632) 1335104622 -6.377309343099141 treat image : temp/1738811246_2061449_1335104621_909c62d4fc1781d3ea3f8dd828faaad6.jpg resize: (1080, 1632) 1335104621 -5.48556201651569 treat image : temp/1738811246_2061449_1335104620_e720c30e053fadb79607fb7ac042716b.jpg resize: (1080, 1632) 1335104620 -6.084233962832906 treat image : temp/1738811246_2061449_1335104619_a3ecfadcf4c0a76c51bdb9f86fe0e5d5.jpg resize: (1080, 1632) 1335104619 -4.922651074891429 treat image : temp/1738811246_2061449_1335104618_84a9e7893ba5f0f2986dc8babcd45ed7.jpg resize: (1080, 1632) 1335104618 -4.354966650159066 treat image : temp/1738811246_2061449_1335104591_0654f3b91d04b762defd2c7c5bc7d933.jpg resize: (1080, 1632) 1335104591 -5.1170130213393294 treat image : temp/1738811246_2061449_1335104590_db6c565b12908743ad378fdf4b747fe4.jpg resize: (1080, 1632) 1335104590 -6.043387459468392 treat image : temp/1738811246_2061449_1335104588_8795fc5a96b3552c8bf9f751a0213cd1.jpg resize: (1080, 1632) 1335104588 -2.4110453948404884 treat image : temp/1738811246_2061449_1335104586_954570fe8d0aa3ab6326328fedbcb2fa.jpg resize: (1080, 1632) 1335104586 -4.493503678093529 treat image : temp/1738811246_2061449_1335104585_b1fbd36d8c9197500db6e1e3217ca9d3.jpg resize: (1080, 1632) 1335104585 -6.0755091751227726 treat image : temp/1738811246_2061449_1335104583_ece338f872ca1d69b7f12a97506521cc.jpg resize: (1080, 1632) 1335104583 -6.0770196310332425 treat image : temp/1738811246_2061449_1335104561_fa172c2e016005dfcd3317ef876c176d.jpg resize: (1080, 1632) 1335104561 -3.7068741783990906 treat image : temp/1738811246_2061449_1335104555_640c5d32665b4e3599c78b0ae91d10c4.jpg resize: (1080, 1632) 1335104555 -5.556977265493659 treat image : temp/1738811246_2061449_1335104549_e77970362329e62121c4c6ebfd0282a8.jpg resize: (1080, 1632) 1335104549 -3.655509543114486 treat image : temp/1738811246_2061449_1335104545_5937ddccb426d99c6b5995dbce6aee61.jpg resize: (1080, 1632) 1335104545 -5.45189248252243 treat image : temp/1738811246_2061449_1335104533_13f63501de2aeaef9f5454a8ab8fdc1f.jpg resize: (1080, 1632) 1335104533 -3.997604381318506 treat image : temp/1738811246_2061449_1335104527_d6ac4851d21171d38925e5cc2157d100.jpg resize: (1080, 1632) 1335104527 -2.5491457901253023 treat image : temp/1738811246_2061449_1335104395_2a31ef18ebb0c6793981766323f49ed4.jpg resize: (1080, 1632) 1335104395 -2.870463812798665 treat image : temp/1738811246_2061449_1335104393_55efcb55530f9657f5051ed13421b455.jpg resize: (1080, 1632) 1335104393 -4.8058642898218356 treat image : temp/1738811246_2061449_1335104372_7555ff8cc3aed8e5bd94141c569f43ed.jpg resize: (1080, 1632) 1335104372 -4.517940036371551 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.01692342758178711 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.01678323745727539 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02805614471435547 save missing photos in datou_result : time spend for datou_step_exec : 13.339775800704956 time spend to save output : 0.06770086288452148 total time spend for step 1 : 13.407476663589478 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.08user 1.68system 0:17.87elapsed 88%CPU (0avgtext+0avgdata 140256maxresident)k 1304inputs+10360outputs (25major+124750minor)pagefaults 0swaps