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 : 3968336 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 updating current state to 1 we have a portfolio with more photos than limit : 436>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/3968336/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 1.9039993286132812 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 Sep 4 02:17: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/1756945046_3968336_1381351629_3219daeffa584d918e0b2498fcb66836_841149.jpg resize: (1080, 1632) 1381351629 -4.135532189177839 treat image : temp/1756945046_3968336_1381351626_3d8bd15e279716b1527820ac064eab3d_40347774.jpg resize: (1080, 1632) 1381351626 -4.50841591365618 treat image : temp/1756945046_3968336_1381351624_be299a51692b23c4852d28efd7ff6579_19997993.jpg resize: (1080, 1632) 1381351624 -5.009526138899823 treat image : temp/1756945046_3968336_1381351622_1c0254fafd966b21c766e35eeecf52c7_99841849.jpg resize: (1080, 1632) 1381351622 -5.3398783359060955 treat image : temp/1756945046_3968336_1381351621_995396de36c91d5f29537887de0d9400_81256725.jpg resize: (1080, 1632) 1381351621 -5.2548991401572485 treat image : temp/1756945046_3968336_1381351506_23043fc71bc4fffd089a6aa65090f890_85840628.jpg resize: (1080, 1632) 1381351506 -4.223819632488604 treat image : temp/1756945046_3968336_1381351504_37214e4f00f81c0aa193748876e0fd2c_34738088.jpg resize: (1080, 1632) 1381351504 -3.477773279166678 treat image : temp/1756945046_3968336_1381351502_7588987cb5b2d3ba8c7de3f78d9e13cb_43643233.jpg resize: (1080, 1632) 1381351502 -2.7993329491472925 treat image : temp/1756945046_3968336_1381351500_d36d2280407902b4eaeaccf26e4ae59c_25559602.jpg resize: (1080, 1632) 1381351500 -4.456612849512061 treat image : temp/1756945046_3968336_1381351498_950af1a764e99a00552510bdc8901d44_12381398.jpg resize: (1080, 1632) 1381351498 -4.438284736357575 treat image : temp/1756945046_3968336_1381351218_2b12d123891fda6536a49afd17dd1337_56415388.jpg resize: (1080, 1632) 1381351218 -4.178391328731039 treat image : temp/1756945046_3968336_1381351216_677ddf4c2f241ca8bdd11fdd2fe28806_62458245.jpg resize: (1080, 1632) 1381351216 -4.193996083659937 treat image : temp/1756945046_3968336_1381351214_55424c5013e8e8f55f25c42b79973c87_63175046.jpg resize: (1080, 1632) 1381351214 -4.960956251095012 treat image : temp/1756945046_3968336_1381351212_c1b33071b68ff104f085f718b1800d3f_90819746.jpg resize: (1080, 1632) 1381351212 -5.166052726496726 treat image : temp/1756945046_3968336_1381351210_4ec4e95f363e7782e1e80247e42a4c24_57211597.jpg resize: (1080, 1632) 1381351210 -3.7148285195249175 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 : 15 time used for this insertion : 0.013577461242675781 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.03205108642578125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.05202364921569824 save missing photos in datou_result : time spend for datou_step_exec : 12.62629508972168 time spend to save output : 0.10212159156799316 total time spend for step 1 : 12.728416681289673 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 10.62user 4.28system 0:16.62elapsed 89%CPU (0avgtext+0avgdata 137276maxresident)k 72inputs+6592outputs (1major+213662minor)pagefaults 0swaps