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 : 3493992 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 : 2726>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3493992/ 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 : 3.732595920562744 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 Mon May 12 18:42: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/1747068147_3493992_1357693851_3602a2bd60b2b67fa05f3241c4ca985e.jpg resize: (1080, 1632) 1357693851 -0.0560986681650662 treat image : temp/1747068147_3493992_1357693822_fd51311ad8ce8d0d7102ceec4c47dca9.jpg resize: (1080, 1632) 1357693822 -1.295263527622763 treat image : temp/1747068147_3493992_1357693793_10da18c58233c7c7f2340c60b15b6da5.jpg resize: (1080, 1632) 1357693793 -2.194176977914476 treat image : temp/1747068147_3493992_1357693761_bd0d5f249659d6564fd87caf371c381f.jpg resize: (1080, 1632) 1357693761 -5.40659114570978 treat image : temp/1747068147_3493992_1357693657_f524614d92d55eb936c4faefb5a8d7e6.jpg resize: (1080, 1632) 1357693657 -5.476600629406921 treat image : temp/1747068147_3493992_1357693652_ec7417da96604a4c98f6c0c3d66e54c7.jpg resize: (1080, 1632) 1357693652 -5.54713067982614 treat image : temp/1747068147_3493992_1357693645_d924347c4581f4446bd7ce965b01cb42.jpg resize: (1080, 1632) 1357693645 -5.3875504146880155 treat image : temp/1747068147_3493992_1357693640_dfa49e1c8d3d7b961f152d301daf491d.jpg resize: (1080, 1632) 1357693640 -6.208067112784381 treat image : temp/1747068147_3493992_1357693623_650d4d394a220f387fce6cdf1ce33f90.jpg resize: (1080, 1632) 1357693623 -5.824915527009015 treat image : temp/1747068147_3493992_1357693596_a001fc41de0843e1144729a7d0fe7c31.jpg resize: (1080, 1632) 1357693596 -4.8791624950540555 treat image : temp/1747068147_3493992_1357693146_a5f8119ad5b0d2f026c01ed610d89566.jpg resize: (1080, 1632) 1357693146 -5.915150274316505 treat image : temp/1747068147_3493992_1357693119_60ddcda77cb3e3c77daacc2e4db4ded3.jpg resize: (1080, 1632) 1357693119 -2.3314303350982737 treat image : temp/1747068147_3493992_1357693092_47642d52a9cf887263c2a971d0b5812a.jpg resize: (1080, 1632) 1357693092 -1.2105460460983577 treat image : temp/1747068147_3493992_1357693067_3be380340a138d2f8b0aff58186b0f18.jpg resize: (1080, 1632) 1357693067 -2.1457342650778837 treat image : temp/1747068147_3493992_1357693037_15c88f24b6a44e7c6fe7ad3418585fc5.jpg resize: (1080, 1632) 1357693037 -4.196443582511646 treat image : temp/1747068147_3493992_1357692769_3a0f510ba54156d04cf8612aaeee21ae.jpg resize: (1080, 1632) 1357692769 -1.3529332852845846 treat image : temp/1747068147_3493992_1357692735_d09464377493f14e1d71916ab6acc186.jpg resize: (1080, 1632) 1357692735 -2.7966631382846967 treat image : temp/1747068147_3493992_1357692702_1f39af0f741e8a95b8ae1c172d1b359c.jpg resize: (1080, 1632) 1357692702 -3.5832147840216324 treat image : temp/1747068147_3493992_1357692674_4579929793459f8dba2874ace6ecc77a.jpg resize: (1080, 1632) 1357692674 -3.4079583189390026 treat image : temp/1747068147_3493992_1357692643_c2b2152632671a6cca9cf2a48f2c75be.jpg resize: (1080, 1632) 1357692643 -3.828786764214274 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.012965202331542969 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.012574911117553711 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015012264251708984 save missing photos in datou_result : time spend for datou_step_exec : 15.20871877670288 time spend to save output : 0.04560089111328125 total time spend for step 1 : 15.254319667816162 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 3.16system 0:20.91elapsed 84%CPU (0avgtext+0avgdata 140288maxresident)k 400inputs+9040outputs (10major+260213minor)pagefaults 0swaps