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 : 2891944 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 : 3441>100 please execute split_portfolio.py -i 21089077 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2640530'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/2891944/ 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.034884452819824 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 Thu Mar 6 18:37: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/1741282649_2891944_1341278098_6b2674ec157d9f8fa3a982e28bba78c2.jpg resize: (1080, 1632) 1341278098 -5.371156391237528 treat image : temp/1741282649_2891944_1341278095_84fc5260982ad1f6551b5524485e1265.jpg resize: (1080, 1632) 1341278095 -5.351788073977971 treat image : temp/1741282649_2891944_1341278092_3a63b5199d22226537e64265b7479d0e.jpg resize: (1080, 1632) 1341278092 -5.988257761500394 treat image : temp/1741282649_2891944_1341278089_97747723bd25f44433be68b00cc83d23.jpg resize: (1080, 1632) 1341278089 -6.34235158114199 treat image : temp/1741282649_2891944_1341278067_68af8ad1b9d5a9980703d532e0eb7098.jpg resize: (1080, 1632) 1341278067 -6.352326573962294 treat image : temp/1741282649_2891944_1341278061_75e60c1d9bbee5eb3cd08cd0537856de.jpg resize: (1080, 1632) 1341278061 -2.2738229050188505 treat image : temp/1741282649_2891944_1341278050_c58b5bb600eb16af2705d43c4d0717aa.jpg resize: (1080, 1632) 1341278050 -3.694934995945458 treat image : temp/1741282649_2891944_1341278040_720ad5364c2fbaf737d0c4e029b41ff0.jpg resize: (1080, 1632) 1341278040 -5.899422414822121 treat image : temp/1741282649_2891944_1341278038_1a4691402a0f3872243570999f4ab757.jpg resize: (1080, 1632) 1341278038 -6.043054630761993 treat image : temp/1741282649_2891944_1341278034_6859ddb072130bca72b5f54c6e51d908.jpg resize: (1080, 1632) 1341278034 -6.158047568629063 treat image : temp/1741282649_2891944_1341278028_bc5956b6bfc6db06de3090f2c723f8fb.jpg resize: (1080, 1632) 1341278028 -4.523648032729986 treat image : temp/1741282649_2891944_1341278023_267feeef0717bb0258f60ed2123ed0e9.jpg resize: (1080, 1632) 1341278023 -2.009664029488965 treat image : temp/1741282649_2891944_1341277420_2afb8598d9a5baffbe3c259549863dee.jpg resize: (1080, 1632) 1341277420 -5.497743262719907 treat image : temp/1741282649_2891944_1341277402_643992bbe3ff71d20fbaaee38be753c7.jpg resize: (1080, 1632) 1341277402 -5.113127685546566 treat image : temp/1741282649_2891944_1341277398_ba83aeb4f64e971d49ec0236b89e5f1c.jpg resize: (1080, 1632) 1341277398 -4.369685434735818 treat image : temp/1741282649_2891944_1341277375_c4ece157d664b52fdcc7294c83d5299a.jpg resize: (1080, 1632) 1341277375 -3.8696553298501293 treat image : temp/1741282649_2891944_1341277287_5ee8ec4fee6513d2887db81886923ff0.jpg resize: (1080, 1632) 1341277287 -5.478649689557673 treat image : temp/1741282649_2891944_1341277283_615b769a04d70c4629e9b34da436b58f.jpg resize: (1080, 1632) 1341277283 -6.126566152798251 treat image : temp/1741282649_2891944_1341277279_87339404abda0a08cacfb27b69507089.jpg resize: (1080, 1632) 1341277279 -5.840768927941645 treat image : temp/1741282649_2891944_1341277277_5f1b33569f4be99a69648bd2008c476a.jpg resize: (1080, 1632) 1341277277 -6.191990893228855 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.013320207595825195 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.8698697090148926 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01598191261291504 save missing photos in datou_result : time spend for datou_step_exec : 17.13105535507202 time spend to save output : 0.9044146537780762 total time spend for step 1 : 18.035470008850098 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.81user 4.96system 0:23.83elapsed 82%CPU (0avgtext+0avgdata 140596maxresident)k 1824inputs+10648outputs (11major+259795minor)pagefaults 0swaps