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 : 3154724 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 : 7446>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3154724/ 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.353900909423828 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 5 05:22: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/1751685747_3154724_1370739012_43bbe791d1079180071150264ac8e3ab.jpg resize: (1080, 1632) 1370739012 -4.296269537705553 treat image : temp/1751685747_3154724_1370738992_6066137f651fe575d715e866fb4e3e4b.jpg resize: (1080, 1632) 1370738992 -4.293846410836892 treat image : temp/1751685747_3154724_1370738989_7eafab6f72aee96bb43ffcc389d956ce.jpg resize: (1080, 1632) 1370738989 -4.296592023229958 treat image : temp/1751685747_3154724_1370738987_8f197bdc75d57bcfb8317bafc6db9bbd.jpg resize: (1080, 1632) 1370738987 -4.310838355412806 treat image : temp/1751685747_3154724_1370738984_17ca6e8b55bb1f4aa061b3e7d6236ca7.jpg resize: (1080, 1632) 1370738984 -4.296199656113737 treat image : temp/1751685747_3154724_1370738976_85dbc72b97892ee363d3723251422684.jpg resize: (1080, 1632) 1370738976 -4.3013966665756485 treat image : temp/1751685747_3154724_1370738776_763bb04ff85250664907fc17393e39c6.jpg resize: (1080, 1632) 1370738776 -4.300740254326238 treat image : temp/1751685747_3154724_1370738761_701e369b31c21da8a45d3e643f20e0b9.jpg resize: (1080, 1632) 1370738761 -4.2903685982290005 treat image : temp/1751685747_3154724_1370738755_86cc32072b6b352713b250572ac26766.jpg resize: (1080, 1632) 1370738755 -4.292081631499912 treat image : temp/1751685747_3154724_1370738725_3a704dc9b1b2a17a3997949089d0b29b.jpg resize: (1080, 1632) 1370738725 -4.28437879474412 treat image : temp/1751685747_3154724_1370738698_f16297ebd72b7d96844e953b0acaed23.jpg resize: (1080, 1632) 1370738698 -4.290662932669178 treat image : temp/1751685747_3154724_1370738695_e386f8612a2cb269eb877b2c15c7cbbd.jpg resize: (1080, 1632) 1370738695 -4.293109535820084 treat image : temp/1751685747_3154724_1370738693_d6130d493dec1a94630b4bad1200f18b.jpg resize: (1080, 1632) 1370738693 -4.283363955337208 treat image : temp/1751685747_3154724_1370738691_1d6881dd7a4be13a9c5761fd38cbe9c4.jpg resize: (1080, 1632) 1370738691 -4.2896066493225895 treat image : temp/1751685747_3154724_1370738689_00c3fde0252703b25c55966b63857f71.jpg resize: (1080, 1632) 1370738689 -4.289339527508392 treat image : temp/1751685747_3154724_1370738688_9034f06a184e03517abcd144bfb12e4d.jpg resize: (1080, 1632) 1370738688 -4.292277759191172 treat image : temp/1751685747_3154724_1370733979_9f6e3a1d06b975c2b6c53d0166baa054.jpg resize: (1080, 1632) 1370733979 -3.8638867135611803 treat image : temp/1751685747_3154724_1370733976_8c95b0913d7f1fd3ed49326e8fd07c88.jpg resize: (1080, 1632) 1370733976 -3.8843009577028225 treat image : temp/1751685747_3154724_1370733776_e7fe6c732afb8e70ecd90629a56b44de.jpg resize: (1080, 1632) 1370733776 -3.8880577341319995 treat image : temp/1751685747_3154724_1370733773_f400901c258503a5e9c2a3448c9cbe01.jpg resize: (1080, 1632) 1370733773 -3.900867167753693 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.01479792594909668 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.07300901412963867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02579021453857422 save missing photos in datou_result : time spend for datou_step_exec : 17.960500240325928 time spend to save output : 0.11857175827026367 total time spend for step 1 : 18.07907199859619 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 6.41system 0:23.54elapsed 89%CPU (0avgtext+0avgdata 139808maxresident)k 3744inputs+7968outputs (45major+261737minor)pagefaults 0swaps