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 : 1608582 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 : 1096>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1608582/ 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.090120792388916 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 Mon May 12 09:57: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/1747036647_1608582_1357612402_72878be737991bec0d5c2498613ff96c.jpg resize: (1080, 1632) 1357612402 -2.4884514175790207 treat image : temp/1747036647_1608582_1357612400_6a436c5b2df8bd613e7830d0efa333f1.jpg resize: (1080, 1632) 1357612400 -4.94477605003224 treat image : temp/1747036647_1608582_1357612396_dbe3eb4bfaf56f451b930873b1d7eeb2.jpg resize: (1080, 1632) 1357612396 -5.704292260427506 treat image : temp/1747036647_1608582_1357612359_fd624f1cc5c7453c8bd0fe60657afee6.jpg resize: (1080, 1632) 1357612359 -1.0700439669768216 treat image : temp/1747036647_1608582_1357612357_2a227f4c42af785cd6e8a75b65ea9bb4.jpg resize: (1080, 1632) 1357612357 -1.153111906168311 treat image : temp/1747036647_1608582_1357612332_2a3cfae8f4a5c10b6c7861c2616f8c2f.jpg resize: (1080, 1632) 1357612332 -5.371236965864003 treat image : temp/1747036647_1608582_1357612331_8bf8939b2c0831ef9098662499728164.jpg resize: (1080, 1632) 1357612331 -4.860261936221576 treat image : temp/1747036647_1608582_1357612329_0f38f1873bf729d0523e398b2bf67d6d.jpg resize: (1080, 1632) 1357612329 -5.476373956848252 treat image : temp/1747036647_1608582_1357612327_517059efbd42c6a5982c3a3a35aa2625.jpg resize: (1080, 1632) 1357612327 -5.855087516571234 treat image : temp/1747036647_1608582_1357612209_eef13bc8a8120df3344f0cc7c0270aa5.jpg resize: (1080, 1632) 1357612209 -5.755073375714116 treat image : temp/1747036647_1608582_1357612206_7ee444ea663d17023eb77683e60c14e8.jpg resize: (1080, 1632) 1357612206 -5.536901488394051 treat image : temp/1747036647_1608582_1357612204_008c93c0e4289a887d6aecdd868b98b3.jpg resize: (1080, 1632) 1357612204 -5.51479386834587 treat image : temp/1747036647_1608582_1357612203_27aaec1fd681854cc12df9fe17836ce1.jpg resize: (1080, 1632) 1357612203 -4.903091838761661 treat image : temp/1747036647_1608582_1357612112_a741844e1e01108a08494f238341a994.jpg resize: (1080, 1632) 1357612112 -5.279711190428121 treat image : temp/1747036647_1608582_1357612109_239b52c0fa5d9104afc08bccf8fc6007.jpg resize: (1080, 1632) 1357612109 -5.616844022111441 treat image : temp/1747036647_1608582_1357612098_92a644831c42ad7d58358f2fafd5bc98.jpg resize: (1080, 1632) 1357612098 -4.852260239774218 treat image : temp/1747036647_1608582_1357612096_3b662e25699d2f1eb4f93bfa0b0a5ce6.jpg resize: (1080, 1632) 1357612096 -5.926754880259237 treat image : temp/1747036647_1608582_1357612091_85d988ba99fa2ee812eb5d49198da8c3.jpg resize: (1080, 1632) 1357612091 -5.744715572420569 treat image : temp/1747036647_1608582_1357612002_e1c1506a52dbed4a0ecf2d109cf7af2d.jpg resize: (1080, 1632) 1357612002 -1.667490421991709 treat image : temp/1747036647_1608582_1357611981_0b7118b5234f47fee70cdc78137bd9ed.jpg resize: (1080, 1632) 1357611981 -2.7805263139036986 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.01257634162902832 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.011972904205322266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014130592346191406 save missing photos in datou_result : time spend for datou_step_exec : 16.24785041809082 time spend to save output : 0.051733970642089844 total time spend for step 1 : 16.29958438873291 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.48user 4.38system 0:20.45elapsed 92%CPU (0avgtext+0avgdata 138952maxresident)k 5776inputs+9280outputs (38major+260333minor)pagefaults 0swaps