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 : 665820 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 : 5931>100 please execute split_portfolio.py -i 24661193 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3243209'] with mtr_portfolio_ids : ['24661193'] and first list_photo_ids : [] new path : /proc/665820/ 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.219855308532715 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 Jul 7 22: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/1751918847_665820_1371069195_ac04740c2ce6e1ad0178464bb392240c.jpg resize: (1080, 1632) 1371069195 -2.356625763803049 treat image : temp/1751918847_665820_1371069180_961695b548a32f7b767322b3346e53ec.jpg resize: (1080, 1632) 1371069180 -4.194049084419671 treat image : temp/1751918847_665820_1371069171_8faf0635cd611e7f2e77bde0b04a221a.jpg resize: (1080, 1632) 1371069171 -1.8814919673055073 treat image : temp/1751918847_665820_1371069162_2182337168cc1c245b186bfc3ca9378f.jpg resize: (1080, 1632) 1371069162 -1.7194314724005322 treat image : temp/1751918847_665820_1371069159_7ba947b3e45860c6288bfd228c65777e.jpg resize: (1080, 1632) 1371069159 -2.967077302166472 treat image : temp/1751918847_665820_1371069156_a262bd0cd6dc8b9edf572dba78af14a3.jpg resize: (1080, 1632) 1371069156 -2.959315262086289 treat image : temp/1751918847_665820_1371069150_a3e545d62d00b052ea585d3873caa4e7.jpg resize: (1080, 1632) 1371069150 -3.31232663481076 treat image : temp/1751918847_665820_1371069147_319824bd686c6903fdbd32cb7a71aeb7.jpg resize: (1080, 1632) 1371069147 -2.8253332888004206 treat image : temp/1751918847_665820_1371069138_2ce2e42250fb9090820c126da0917456.jpg resize: (1080, 1632) 1371069138 -5.465297186123655 treat image : temp/1751918847_665820_1371069134_04c1fe69b567715b76bd5a58e04bd8e6.jpg resize: (1080, 1632) 1371069134 -3.881097325261376 treat image : temp/1751918847_665820_1371069131_473b1d1ffafe76a5b003021a11c53309.jpg resize: (1080, 1632) 1371069131 -5.218273776150732 treat image : temp/1751918847_665820_1371069126_a8a999e50286b206f1f35ccab1e33465.jpg resize: (1080, 1632) 1371069126 -5.504453155929071 treat image : temp/1751918847_665820_1371068906_0eea39e313249ec2f93c181c173e6af6.jpg resize: (1080, 1632) 1371068906 -4.587832904083734 treat image : temp/1751918847_665820_1371068905_51ab4d8544ec342858943fba31af734d.jpg resize: (1080, 1632) 1371068905 -4.587832904083734 treat image : temp/1751918847_665820_1371068903_cc2020bcaca34f6ad316104336412a59.jpg resize: (1080, 1632) 1371068903 -3.8743237107249873 treat image : temp/1751918847_665820_1371068902_bd28046f939b258f04c29de674b6eb71.jpg resize: (1080, 1632) 1371068902 -3.8743237107249873 treat image : temp/1751918847_665820_1371068895_23b321b0c95121b0806fdea01f9246e6.jpg resize: (1080, 1632) 1371068895 -3.002417375501765 treat image : temp/1751918847_665820_1371068892_fe232915422ffa1de1471a9532a3f3cd.jpg resize: (1080, 1632) 1371068892 -2.708361782568301 treat image : temp/1751918847_665820_1371068888_da0fdd7e452d9d6c0c27038941aceaaf.jpg resize: (1080, 1632) 1371068888 -3.39116090566785 treat image : temp/1751918847_665820_1371068883_96fd253c186b7eee9344987991cadb7f.jpg resize: (1080, 1632) 1371068883 -5.264367448988551 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.012765645980834961 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.011857748031616211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014072179794311523 save missing photos in datou_result : time spend for datou_step_exec : 14.721606016159058 time spend to save output : 0.04331517219543457 total time spend for step 1 : 14.764921188354492 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.65user 3.45system 0:18.71elapsed 91%CPU (0avgtext+0avgdata 138820maxresident)k 1240inputs+8360outputs (44major+249068minor)pagefaults 0swaps