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 : 4189885 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 : 5754>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/4189885/ 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.2841501235961914 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 22:37: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/1752093447_4189885_1371438328_cce88197aff353e87c81d0531bba3a16.jpg resize: (1080, 1632) 1371438328 -4.519542988010476 treat image : temp/1752093447_4189885_1371438326_96cdb10499b2b7909bd47c719a403353.jpg resize: (1080, 1632) 1371438326 -5.503336798296247 treat image : temp/1752093447_4189885_1371438325_f48f79a68ce9e0a87c1696d138c35174.jpg resize: (1080, 1632) 1371438325 -5.058366480335776 treat image : temp/1752093447_4189885_1371438324_f6f4f31bc7af5e43bc651e79baf845f3.jpg resize: (1080, 1632) 1371438324 -5.341012081960817 treat image : temp/1752093447_4189885_1371438323_29a4c4fe4dfeb0ce7be27c5ae0feccbd.jpg resize: (1080, 1632) 1371438323 -5.317774206869407 treat image : temp/1752093447_4189885_1371438322_d519554188a0659cc8bae4eb5b6fb448.jpg resize: (1080, 1632) 1371438322 -5.3266933149284315 treat image : temp/1752093447_4189885_1371438319_1f9f5623bf9fec6e29408b385ea0701e.jpg resize: (1080, 1632) 1371438319 -4.605992193902226 treat image : temp/1752093447_4189885_1371438318_ae55ef9b337d0561f80bfb5fcc042c42.jpg resize: (1080, 1632) 1371438318 -4.611383846126434 treat image : temp/1752093447_4189885_1371438317_2f6f462fd48f5f5f85847db3b2892fc2.jpg resize: (1080, 1632) 1371438317 -4.397575694862666 treat image : temp/1752093447_4189885_1371438316_44f7e63e9ae7b7b86356234b54296a80.jpg resize: (1080, 1632) 1371438316 -4.403797185148051 treat image : temp/1752093447_4189885_1371438310_ca051582f31bc912f89ef0a0abcd8db5.jpg resize: (1080, 1632) 1371438310 -3.104704187336232 treat image : temp/1752093447_4189885_1371438281_470973ef126337de1559b79167e69331.jpg resize: (1080, 1632) 1371438281 -1.4374434262693156 treat image : temp/1752093447_4189885_1371437367_7e7dce71eea7c93d2250ff388febd2dd.jpg resize: (1080, 1632) 1371437367 -2.943676089651453 treat image : temp/1752093447_4189885_1371437366_f8abe26c67f699796d09bf77926dc6d5.jpg resize: (1080, 1632) 1371437366 -2.943676089651453 treat image : temp/1752093447_4189885_1371437365_e8358a5f825a60fcd8c7b1c84817f6fa.jpg resize: (1080, 1632) 1371437365 -4.677218107256681 treat image : temp/1752093447_4189885_1371437364_f10a6a90428755dd5921b899003bbe08.jpg resize: (1080, 1632) 1371437364 -4.677218107256681 treat image : temp/1752093447_4189885_1371437360_05c39db898967b1a21d9caf3cfe7ba16.jpg resize: (1080, 1632) 1371437360 -4.892744683279767 treat image : temp/1752093447_4189885_1371437359_7f3682a5778a88ebbd93b70186739156.jpg resize: (1080, 1632) 1371437359 -4.8872727688435615 treat image : temp/1752093447_4189885_1371437358_2946f303f316101d2ab4a371c000039e.jpg resize: (1080, 1632) 1371437358 -4.8963113668619105 treat image : temp/1752093447_4189885_1371437356_66233134fb174ca86acbdb0616ba039e.jpg resize: (1080, 1632) 1371437356 -4.902974820230445 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.013854265213012695 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.012033939361572266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01571512222290039 save missing photos in datou_result : time spend for datou_step_exec : 13.647711277008057 time spend to save output : 0.046563148498535156 total time spend for step 1 : 13.694274425506592 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.69user 2.50system 0:18.24elapsed 88%CPU (0avgtext+0avgdata 140288maxresident)k 3624inputs+8736outputs (26major+216121minor)pagefaults 0swaps