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 : 2301300 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 : 1124>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/2301300/ 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 : 5.29749059677124 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 May 22 10:02:31 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/1747900946_2301300_1360480952_40ccb14cdaf4fe5ab2d18b872feaaabf.jpg resize: (1080, 1632) 1360480952 -6.610264293469278 treat image : temp/1747900946_2301300_1360480905_10282ee147503e5475a306006665ffe8.jpg resize: (1080, 1632) 1360480905 -4.154629147958614 treat image : temp/1747900946_2301300_1360480856_cfc55b23bf0b49d2e16f8a8333886126.jpg resize: (1080, 1632) 1360480856 -3.4076716692923306 treat image : temp/1747900946_2301300_1360480805_afa79044e8a12863822eb27f6a1f0530.jpg resize: (1080, 1632) 1360480805 -1.238266556149953 treat image : temp/1747900946_2301300_1360480757_49198fcae1f769409bf8a0dc25cdbfb9.jpg resize: (1080, 1632) 1360480757 -1.3100589126758238 treat image : temp/1747900946_2301300_1360480591_640c9389e5a31934a8424b21bce03802.jpg resize: (1080, 1632) 1360480591 -5.9307914075281625 treat image : temp/1747900946_2301300_1360480533_7777b0a2af4d36474ae41f4f6e44d465.jpg resize: (1080, 1632) 1360480533 -1.9852497809771312 treat image : temp/1747900946_2301300_1360480480_7c500bd1c8cd0d8f8f42493ba4f06d7e.jpg resize: (1080, 1632) 1360480480 -4.210635683309068 treat image : temp/1747900946_2301300_1360480393_bfad7a1c56cd4f825bf74c5e49107264.jpg resize: (1080, 1632) 1360480393 -3.515194769778657 treat image : temp/1747900946_2301300_1360480196_3c3418fde215828846e5546b61a3b848.jpg resize: (1080, 1632) 1360480196 -2.977391716578327 treat image : temp/1747900946_2301300_1360480164_e92d9ace8cc9380ef4f8ff6863a1cdf4.jpg resize: (1080, 1632) 1360480164 -5.865189855067146 treat image : temp/1747900946_2301300_1360480126_7ef43c85fd5cd9265c7a93c2ad8e5445.jpg resize: (1080, 1632) 1360480126 -5.42770446713212 treat image : temp/1747900946_2301300_1360480093_9192b0576a2705daa228b565e51cba98.jpg resize: (1080, 1632) 1360480093 -6.216811046663981 treat image : temp/1747900946_2301300_1360480056_7d8874eaa740ae5f2651547d184cd70e.jpg resize: (1080, 1632) 1360480056 -3.9197669842740868 treat image : temp/1747900946_2301300_1360479972_452ede43e46aad50ec1917f01637e1f7.jpg resize: (1080, 1632) 1360479972 -6.712166921759216 treat image : temp/1747900946_2301300_1360479711_52fedc7ce35218aec6e5c5f5969fee63.jpg resize: (1080, 1632) 1360479711 -4.777117392371377 treat image : temp/1747900946_2301300_1360479709_897a7617a9631f94c960acde75d0e502.jpg resize: (1080, 1632) 1360479709 -3.4045906412439857 treat image : temp/1747900946_2301300_1360479688_bc623f213303b6bda6319a53d6ab8580.jpg resize: (1080, 1632) 1360479688 -4.108047752978951 treat image : temp/1747900946_2301300_1360479675_8660189a1aab57e26ceac86ddf583489.jpg resize: (1080, 1632) 1360479675 -3.6329972134536925 treat image : temp/1747900946_2301300_1360479673_d9a8c103183fc9c6aa3f6b783d904d1f.jpg resize: (1080, 1632) 1360479673 -1.474652362891395 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.012836933135986328 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.06194806098937988 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0672616958618164 save missing photos in datou_result : time spend for datou_step_exec : 15.776712894439697 time spend to save output : 0.14665627479553223 total time spend for step 1 : 15.92336916923523 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 4.25system 0:23.43elapsed 79%CPU (0avgtext+0avgdata 137988maxresident)k 1712inputs+9880outputs (33major+256616minor)pagefaults 0swaps