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 : 1825333 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 : 11243>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/1825333/ 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.590693950653076 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 12 07:17: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/1752297448_1825333_1371805760_c781ea3b1542bf8c69b30a2b5ce4c2ce.jpg resize: (1080, 1632) 1371805760 -5.464262288601054 treat image : temp/1752297448_1825333_1371805733_1f67e8e5fd192ef3dfd1021e35d6b8e6.jpg resize: (1080, 1632) 1371805733 -5.465665274712689 treat image : temp/1752297448_1825333_1371805698_8887abf84f9c7794219f46743bf1c838.jpg resize: (1080, 1632) 1371805698 -5.463324380672719 treat image : temp/1752297448_1825333_1371805669_007ce2c321a927e7b99ca7727891c5d3.jpg resize: (1080, 1632) 1371805669 -5.47136848327064 treat image : temp/1752297448_1825333_1371805635_42f03a52243def27123cb2bdad44dcd8.jpg resize: (1080, 1632) 1371805635 -5.461384314111511 treat image : temp/1752297448_1825333_1371805610_0caf3db97d8c94fcbf6571dc10cc59d0.jpg resize: (1080, 1632) 1371805610 -5.467088907647934 treat image : temp/1752297448_1825333_1371805604_6726d692b9a94682d5fa096ba10aec93.jpg resize: (1080, 1632) 1371805604 -5.468881587293875 treat image : temp/1752297448_1825333_1371805603_3a4797e72a4c68545f8f0d469e2b9878.jpg resize: (1080, 1632) 1371805603 -5.463645419296588 treat image : temp/1752297448_1825333_1371805601_850c64891b108d97042de60ef09997fc.jpg resize: (1080, 1632) 1371805601 -5.453587494736874 treat image : temp/1752297448_1825333_1371805598_4f1a38b844b1265381a37ccc160b3498.jpg resize: (1080, 1632) 1371805598 -5.449737887673097 treat image : temp/1752297448_1825333_1371805597_f6ed717a0c0eeb629a2ebff88fe0477e.jpg resize: (1080, 1632) 1371805597 -5.448780043905242 treat image : temp/1752297448_1825333_1371805595_09577d9d49fb229463033d7fdbb2dacc.jpg resize: (1080, 1632) 1371805595 -5.453602277096733 treat image : temp/1752297448_1825333_1371805585_3093ab86caf4c04c9001704335d27a11.jpg resize: (1080, 1632) 1371805585 -5.452822762653529 treat image : temp/1752297448_1825333_1371805578_d007132592c231687e0011914827269f.jpg resize: (1080, 1632) 1371805578 -5.461812034695914 treat image : temp/1752297448_1825333_1371805553_95f0a2cd7a75877970745c1fd02e687e.jpg resize: (1080, 1632) 1371805553 -5.463910933004901 treat image : temp/1752297448_1825333_1371805533_494133aa032090a9346c34e980855940.jpg resize: (1080, 1632) 1371805533 -5.466671633198556 treat image : temp/1752297448_1825333_1371805531_b258a6ea439bf8735753deb011a64b36.jpg resize: (1080, 1632) 1371805531 -5.4666780503942665 treat image : temp/1752297448_1825333_1371805529_9130dada4dc242928345e23c5ff8c88b.jpg resize: (1080, 1632) 1371805529 -5.466989825356618 treat image : temp/1752297448_1825333_1371805150_89013e57d6d220b8acf6fe21ba4c4df4.jpg resize: (1080, 1632) 1371805150 -5.478611260783872 treat image : temp/1752297448_1825333_1371805120_3d7d48c320dd063b0fbe37fc530e018f.jpg resize: (1080, 1632) 1371805120 -5.474392285557048 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.014599323272705078 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.01975560188293457 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.022305727005004883 save missing photos in datou_result : time spend for datou_step_exec : 15.503868818283081 time spend to save output : 0.06135678291320801 total time spend for step 1 : 15.565225601196289 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.22user 3.29system 0:19.98elapsed 87%CPU (0avgtext+0avgdata 137996maxresident)k 176inputs+10568outputs (11major+192546minor)pagefaults 0swaps