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 : 3249260 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 : 540>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3249260/ 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.1566367149353027 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 Wed Jul 9 14:07:28 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/1752062846_3249260_1371376069_56f48c39f4bfe51a7608e44d651b85aa.jpg resize: (1080, 1632) 1371376069 -6.038230159707509 treat image : temp/1752062846_3249260_1371376058_aad8c51f4b3d0c096a5964d2f835710e.jpg resize: (1080, 1632) 1371376058 -6.042421252970497 treat image : temp/1752062846_3249260_1371376044_0565847bf5e8da9907221d2a22ae91a5.jpg resize: (1080, 1632) 1371376044 -6.041745782872471 treat image : temp/1752062846_3249260_1371376034_fececbc9536c8af3ac897ec7da427f96.jpg resize: (1080, 1632) 1371376034 -6.04207169639191 treat image : temp/1752062846_3249260_1371376032_e996a89f2285eb946abeebb523c048b1.jpg resize: (1080, 1632) 1371376032 -6.04113690465549 treat image : temp/1752062846_3249260_1371376029_33112cf07969bce90ae458c27c76b2aa.jpg resize: (1080, 1632) 1371376029 -6.039035320220667 treat image : temp/1752062846_3249260_1371376012_0f1445d421ffcfa8b3b8c0bc7f3c16ea.jpg resize: (1080, 1632) 1371376012 -2.6271794733248712 treat image : temp/1752062846_3249260_1371376008_14b2c999942e9da75d32a9ea214cafe3.jpg resize: (1080, 1632) 1371376008 -2.6108718403175804 treat image : temp/1752062846_3249260_1371375999_6028bb865b74b82094489065f82a090d.jpg resize: (1080, 1632) 1371375999 -2.627826568745437 treat image : temp/1752062846_3249260_1371375997_a96b2b7b09c29f963751dcd7cd4ab923.jpg resize: (1080, 1632) 1371375997 -2.6030557033415893 treat image : temp/1752062846_3249260_1371375994_ede54984c5218a50d6f261beabad5e5d.jpg resize: (1080, 1632) 1371375994 -2.1985174797840585 treat image : temp/1752062846_3249260_1371375985_bb5c95f57bb9d2beecb3e4888075ab7c.jpg resize: (1080, 1632) 1371375985 -2.1779341778007817 treat image : temp/1752062846_3249260_1371375743_7c5b3b552d6b04f15fdf8e2886c8b3bf.jpg resize: (1080, 1632) 1371375743 -6.045317240408052 treat image : temp/1752062846_3249260_1371375738_31febfebc5b13dbbb5a09f84b4ac13ea.jpg resize: (1080, 1632) 1371375738 -6.042568162185974 treat image : temp/1752062846_3249260_1371375730_e7afab87344c532cf7e4bbe4e76cb052.jpg resize: (1080, 1632) 1371375730 -6.0426061125828525 treat image : temp/1752062846_3249260_1371375696_fa5756896e54213b52250e41975a9a3c.jpg resize: (1080, 1632) 1371375696 -6.04549320851467 treat image : temp/1752062846_3249260_1371375643_6944715968021d95901a13c7eefc4be9.jpg resize: (1080, 1632) 1371375643 -4.687197541956521 treat image : temp/1752062846_3249260_1371375639_151c146a2c0112b792a862f6e1888419.jpg resize: (1080, 1632) 1371375639 -4.590359747147883 treat image : temp/1752062846_3249260_1371375608_cc9cafa341cf688c613e11d520db3b2f.jpg resize: (1080, 1632) 1371375608 -4.612134783045332 treat image : temp/1752062846_3249260_1371375574_f7370f9f38b01001bcb661e45edf3690.jpg resize: (1080, 1632) 1371375574 -4.614167048726296 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.01242208480834961 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.012859344482421875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015996456146240234 save missing photos in datou_result : time spend for datou_step_exec : 13.136165618896484 time spend to save output : 0.04650068283081055 total time spend for step 1 : 13.182666301727295 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.02user 1.53system 0:17.03elapsed 91%CPU (0avgtext+0avgdata 139968maxresident)k 0inputs+9960outputs (0major+118590minor)pagefaults 0swaps