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 : 479333 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 : 8782>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/479333/ 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.2655608654022217 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 Sat Jul 5 20:02: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/1751738547_479333_1370826654_f0f9795ff560bbcbc61bd2d497b9c909.jpg resize: (1080, 1632) 1370826654 -5.4190912633721355 treat image : temp/1751738547_479333_1370826653_087257938fcb439509fd4c6dfa68b91d.jpg resize: (1080, 1632) 1370826653 -5.4190912633721355 treat image : temp/1751738547_479333_1370826648_4fc0674e7abdbb63c1923d3ddf17ff1c.jpg resize: (1080, 1632) 1370826648 -5.406536683405397 treat image : temp/1751738547_479333_1370826630_1ce94681ecb0e7f2eaf1be7b96b83b2e.jpg resize: (1080, 1632) 1370826630 -5.406536683405397 treat image : temp/1751738547_479333_1370826612_81ca49e05fbfbf78c835ef5ed415aa41.jpg resize: (1080, 1632) 1370826612 -5.3952217770879445 treat image : temp/1751738547_479333_1370826591_d3c1b793e57791677c8af2d8b2287210.jpg resize: (1080, 1632) 1370826591 -5.3952217770879445 treat image : temp/1751738547_479333_1370826575_c9bed083ba1b6d0503e84a101c7e3ebf.jpg resize: (1080, 1632) 1370826575 -5.375267034706132 treat image : temp/1751738547_479333_1370826551_dafc0ea764a908e94086396ec07e4ad5.jpg resize: (1080, 1632) 1370826551 -5.375267034706132 treat image : temp/1751738547_479333_1370826531_105a406d1081c16fc859721e3ae1d9c4.jpg resize: (1080, 1632) 1370826531 -5.361348938427736 treat image : temp/1751738547_479333_1370826515_fbd88629d64411b27a8821ff83b2eeb3.jpg resize: (1080, 1632) 1370826515 -5.361348938427736 treat image : temp/1751738547_479333_1370826494_64ce52e047391d644b44fb29abf7819f.jpg resize: (1080, 1632) 1370826494 -5.398916754387069 treat image : temp/1751738547_479333_1370826478_c35c6cb6193d99250c25c8a8a66b264c.jpg resize: (1080, 1632) 1370826478 -5.398916754387069 treat image : temp/1751738547_479333_1370826273_f183f24bf9f4bb7a02309e51eacd360e.jpg resize: (1080, 1632) 1370826273 -5.366339491190538 treat image : temp/1751738547_479333_1370826228_6b740ca66e2f330b4b299117b30b51f9.jpg resize: (1080, 1632) 1370826228 -5.36654599212603 treat image : temp/1751738547_479333_1370826163_8772f6ac4340312327ffbd8482594fcb.jpg resize: (1080, 1632) 1370826163 -5.399479877061261 treat image : temp/1751738547_479333_1370826081_c919f4ea86675d06ccb1ce87fad5958e.jpg resize: (1080, 1632) 1370826081 -5.343245173109103 treat image : temp/1751738547_479333_1370826025_dea56d3bbbd5c8c475fe8fac1cfd7ad2.jpg resize: (1080, 1632) 1370826025 -5.385115864970383 treat image : temp/1751738547_479333_1370825991_bcb005f374a200220efbf4266b6bd80c.jpg resize: (1080, 1632) 1370825991 -5.382815115691224 treat image : temp/1751738547_479333_1370825663_39779c0043d1f4ec5b0bcc8823be031f.jpg resize: (1080, 1632) 1370825663 -5.3556233071647386 treat image : temp/1751738547_479333_1370825614_7684df62c3d26813e445995f79366fc7.jpg resize: (1080, 1632) 1370825614 -5.3941754876547865 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.011887311935424805 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.01170802116394043 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013034820556640625 save missing photos in datou_result : time spend for datou_step_exec : 14.369087934494019 time spend to save output : 0.041175127029418945 total time spend for step 1 : 14.410263061523438 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.37user 3.30system 0:18.87elapsed 88%CPU (0avgtext+0avgdata 137812maxresident)k 0inputs+10672outputs (2major+254984minor)pagefaults 0swaps