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 : 1231002 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 : 2338>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1231002/ 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.31467342376709 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 Fri Jul 4 13: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/1751627849_1231002_1370599866_0eed423e54bbdab13691d93e31dc1024.jpg resize: (1080, 1632) 1370599866 -4.658072512251424 treat image : temp/1751627849_1231002_1370599808_df6f4dfaea8b2f9e939aef5066276db4.jpg resize: (1080, 1632) 1370599808 -4.6791306192426125 treat image : temp/1751627849_1231002_1370599773_5b6f12b0da613ea0a96955e0c89f6188.jpg resize: (1080, 1632) 1370599773 -4.68381493944318 treat image : temp/1751627849_1231002_1370599748_74f6b6a655d0dfa9f13b4fd44ef4f04c.jpg resize: (1080, 1632) 1370599748 -4.710300266542706 treat image : temp/1751627849_1231002_1370599722_42f306cac317f303772022028f654f9b.jpg resize: (1080, 1632) 1370599722 -4.730406960087192 treat image : temp/1751627849_1231002_1370599696_598708dbc2907d979ac7057bfd3d8b7a.jpg resize: (1080, 1632) 1370599696 -4.727971795202097 treat image : temp/1751627849_1231002_1370599628_fe5a734cb3c461ddd071873b7adb1b38.jpg resize: (1080, 1632) 1370599628 -2.627362957355818 treat image : temp/1751627849_1231002_1370599624_9d6fdf1e178c35b72e7180d10d2c15ce.jpg resize: (1080, 1632) 1370599624 -2.785699889921941 treat image : temp/1751627849_1231002_1370599601_70be6ec230ea972cce6f80314420b9d8.jpg resize: (1080, 1632) 1370599601 -3.904716160959164 treat image : temp/1751627849_1231002_1370599580_bb7dfc6b66d5a1083136291193acc74b.jpg resize: (1080, 1632) 1370599580 -3.738555008767093 treat image : temp/1751627849_1231002_1370599555_79f541ed7665509906adf367ccc32572.jpg resize: (1080, 1632) 1370599555 -4.942907241580814 treat image : temp/1751627849_1231002_1370599508_75f7093ed36ae69f51ebfc42cde2ede2.jpg resize: (1080, 1632) 1370599508 -5.264820756860911 treat image : temp/1751627849_1231002_1370599369_b430488cb5499057ab7e28a01f2110f1.jpg resize: (1080, 1632) 1370599369 -4.7040495981703385 treat image : temp/1751627849_1231002_1370599364_3a9f61f55fbe04470f2eaa8f42d3a864.jpg resize: (1080, 1632) 1370599364 -4.677648617598331 treat image : temp/1751627849_1231002_1370599354_8eaa5e07ebb1855fca9093e5bf89db5c.jpg resize: (1080, 1632) 1370599354 -4.644488285017058 treat image : temp/1751627849_1231002_1370599345_e77b3792a92679f6d9aa013cf66eeb89.jpg resize: (1080, 1632) 1370599345 -4.622919019823612 treat image : temp/1751627849_1231002_1370599300_839cc742c5c3e384aeaec7fc5752a8b7.jpg resize: (1080, 1632) 1370599300 -4.641022258839472 treat image : temp/1751627849_1231002_1370599212_cad74205168575127be580f08534c77b.jpg resize: (1080, 1632) 1370599212 -4.638671016089124 treat image : temp/1751627849_1231002_1370597761_376dc32201b4368fcb79ce308f2eca4a.jpg resize: (1080, 1632) 1370597761 -4.727040115032283 treat image : temp/1751627849_1231002_1370597683_4694d13c76580f96e2210cf19422413a.jpg resize: (1080, 1632) 1370597683 -4.716805799539965 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.0310211181640625 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.029700040817260742 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.030159473419189453 save missing photos in datou_result : time spend for datou_step_exec : 15.658454418182373 time spend to save output : 0.10230779647827148 total time spend for step 1 : 15.760762214660645 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.09user 4.47system 0:21.99elapsed 84%CPU (0avgtext+0avgdata 137380maxresident)k 592inputs+8672outputs (8major+255532minor)pagefaults 0swaps