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 : 596786 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 : 9461>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/596786/ 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.4197492599487305 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 22: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/1752267449_596786_1371715193_b35f0d3512fa28cd2896eaf04c2b9f11.jpg resize: (1080, 1632) 1371715193 -5.378417154975243 treat image : temp/1752267449_596786_1371715144_3909d5b9d4bdda95fa7787761192355d.jpg resize: (1080, 1632) 1371715144 -5.388464885836819 treat image : temp/1752267449_596786_1371715096_38b4ec11700fb507afa6147edabbe41c.jpg resize: (1080, 1632) 1371715096 -5.387770350744357 treat image : temp/1752267449_596786_1371715043_ee40f197f9665251f0817330531d68ae.jpg resize: (1080, 1632) 1371715043 -5.401363296223569 treat image : temp/1752267449_596786_1371714979_c83e3b22f23b9baac75fe9f3df8b7498.jpg resize: (1080, 1632) 1371714979 -5.399909853160182 treat image : temp/1752267449_596786_1371714903_90e59cc8e928bc1f7604a85e896f3ddd.jpg resize: (1080, 1632) 1371714903 -5.396434618432301 treat image : temp/1752267449_596786_1371713194_0f323e942c02096d8560c3eba333d5bd.jpg resize: (1080, 1632) 1371713194 -5.3503122271681125 treat image : temp/1752267449_596786_1371713112_72e720556f0e1326151971d7d4d7d741.jpg resize: (1080, 1632) 1371713112 -5.342483514148147 treat image : temp/1752267449_596786_1371712980_14dda34578f4446a8e14b800b8cbd38b.jpg resize: (1080, 1632) 1371712980 -5.33120919273331 treat image : temp/1752267449_596786_1371712907_68e9900f2481b56a793875ffb8e1ddfb.jpg resize: (1080, 1632) 1371712907 -5.362711078519536 treat image : temp/1752267449_596786_1371712463_d7a35445b346f8f581b002bed0ce125e.jpg resize: (1080, 1632) 1371712463 -5.344164248722605 treat image : temp/1752267449_596786_1371712311_2b027836b10f44baf0d9017ea31850cd.jpg resize: (1080, 1632) 1371712311 -4.889645252492357 treat image : temp/1752267449_596786_1371712157_568436d211a02b75ff990f0b86b11364.jpg resize: (1080, 1632) 1371712157 -4.5588575520725145 treat image : temp/1752267449_596786_1371711947_885fc130fd4da26d51a65a5f82d3e97b.jpg resize: (1080, 1632) 1371711947 -2.870212052033114 treat image : temp/1752267449_596786_1371711831_0aea862ea0ad97cd34acd72ae0094909.jpg resize: (1080, 1632) 1371711831 -6.1032190561923425 treat image : temp/1752267449_596786_1371711727_44f93c90884dc553ec521642f0391c4e.jpg resize: (1080, 1632) 1371711727 -0.33889856514159555 treat image : temp/1752267449_596786_1371703346_384c1b68e2e90b1ba0794dd54929b6cd.jpg resize: (1080, 1632) 1371703346 -4.974606005861734 treat image : temp/1752267449_596786_1371703274_72347c37861a0b569623c268a616260b.jpg resize: (1080, 1632) 1371703274 -2.8089721404416923 treat image : temp/1752267449_596786_1371703271_259c9f1dfa5833b61d247b296f772608.jpg resize: (1080, 1632) 1371703271 -0.8397329888298724 treat image : temp/1752267449_596786_1371703258_98f0b9387dafe042cd6d8ad8a4ef7327.jpg resize: (1080, 1632) 1371703258 -2.9120877728928853 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.012771368026733398 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.015862703323364258 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017885923385620117 save missing photos in datou_result : time spend for datou_step_exec : 15.890698194503784 time spend to save output : 0.051668643951416016 total time spend for step 1 : 15.9423668384552 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.47user 3.65system 0:22.42elapsed 80%CPU (0avgtext+0avgdata 138372maxresident)k 56inputs+9168outputs (10major+259858minor)pagefaults 0swaps