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 : 429403 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 : 8849>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/429403/ 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.5566680431365967 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 Fri Jul 11 21:57: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/1752263848_429403_1371675353_03a230267fe8e2eb702a02a9245dce81.jpg resize: (1080, 1632) 1371675353 -5.817873722640917 treat image : temp/1752263848_429403_1371675351_dfba3b91a14a655c1bff0b6deba13ab0.jpg resize: (1080, 1632) 1371675351 -5.723360710662539 treat image : temp/1752263848_429403_1371675347_cf7ca28247b7197b98e335666c102bdf.jpg resize: (1080, 1632) 1371675347 -4.9074140665460195 treat image : temp/1752263848_429403_1371675341_5ef90d8e56a648b39de11ebb7ab7cb85.jpg resize: (1080, 1632) 1371675341 -5.38737137612933 treat image : temp/1752263848_429403_1371675325_098073973fd4617e3fceba454e775a23.jpg resize: (1080, 1632) 1371675325 -1.3149371351254597 treat image : temp/1752263848_429403_1371675321_78688cacc1a9736b57901d44efaa8259.jpg resize: (1080, 1632) 1371675321 -1.8439968762718166 treat image : temp/1752263848_429403_1371675320_39e7341919c5a4bedc494032c952cec1.jpg resize: (1080, 1632) 1371675320 -2.906038698466882 treat image : temp/1752263848_429403_1371675317_d637f64f38a377b13dcf7073952367a9.jpg resize: (1080, 1632) 1371675317 -2.88489742320877 treat image : temp/1752263848_429403_1371675315_3a19bb56a509a84ab635773c160279b3.jpg resize: (1080, 1632) 1371675315 -2.292826916225589 treat image : temp/1752263848_429403_1371675313_afb4dc316b8a91bc384a1f3fd072d79e.jpg resize: (1080, 1632) 1371675313 -4.40422312003782 treat image : temp/1752263848_429403_1371675302_5265253c34f6197b4393b734fdef25d1.jpg resize: (1080, 1632) 1371675302 -4.929691546339913 treat image : temp/1752263848_429403_1371675297_54b3520f2debe353f953e5c09c13975f.jpg resize: (1080, 1632) 1371675297 -4.9332233392797935 treat image : temp/1752263848_429403_1371675293_d41f7ba298973bd2f672fd3651565757.jpg resize: (1080, 1632) 1371675293 -4.970314852557702 treat image : temp/1752263848_429403_1371675288_50bcb5d6aa8ea1b8c4b1a1550b1c1bb4.jpg resize: (1080, 1632) 1371675288 -4.963738208734056 treat image : temp/1752263848_429403_1371675278_d7e90e26f71b1faab3a461f7a9b83a14.jpg resize: (1080, 1632) 1371675278 -4.972551959340102 treat image : temp/1752263848_429403_1371675269_c64fd90add60275ad3f29c4a94dd6da7.jpg resize: (1080, 1632) 1371675269 -4.986706273991248 treat image : temp/1752263848_429403_1371577128_4172bdbb7aced52aeaae68df085513e8.jpg resize: (1080, 1632) 1371577128 -5.147128914039102 treat image : temp/1752263848_429403_1371577122_a05b53218bdaeb7e49e57fa92f5e810e.jpg resize: (1080, 1632) 1371577122 -5.705139706694955 treat image : temp/1752263848_429403_1371577059_9eea42615a455bd1ae8cbe10f78e8117.jpg resize: (1080, 1632) 1371577059 -5.155249499735556 treat image : temp/1752263848_429403_1371576965_80f6687c53b1633d38d4e436edafe418.jpg resize: (1080, 1632) 1371576965 -6.351168663360794 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.015584468841552734 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.015939950942993164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018825769424438477 save missing photos in datou_result : time spend for datou_step_exec : 15.782969951629639 time spend to save output : 0.055318593978881836 total time spend for step 1 : 15.83828854560852 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.99user 4.08system 0:22.12elapsed 81%CPU (0avgtext+0avgdata 139984maxresident)k 64inputs+9464outputs (1major+259345minor)pagefaults 0swaps