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 : 3038955 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 : 1997>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3038955/ 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.6176321506500244 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 Tue May 13 14:47: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/1747140448_3038955_1357847048_e723e6dcf62971f0ef115154ae485494.jpg resize: (1080, 1632) 1357847048 -6.0899188615563595 treat image : temp/1747140448_3038955_1357846378_0ba0a84b553f35351aa8aaec7d723864.jpg resize: (1080, 1632) 1357846378 -6.08262839867612 treat image : temp/1747140448_3038955_1357844705_769be7f7ab2540c5ce91d10933e83747.jpg resize: (1080, 1632) 1357844705 -5.940154668789716 treat image : temp/1747140448_3038955_1357844668_1289deed63aa04cf3de53b34b738d7b9.jpg resize: (1080, 1632) 1357844668 -6.11371498260298 treat image : temp/1747140448_3038955_1357844616_90307110a557ecf41e01e2a24a40568a.jpg resize: (1080, 1632) 1357844616 -4.491955493500387 treat image : temp/1747140448_3038955_1357843387_b4bbb2a64d82963f86672f5985549e73.jpg resize: (1080, 1632) 1357843387 -3.4580314087598354 treat image : temp/1747140448_3038955_1357843383_078d5351f7d23f73c86d1aadc8360be8.jpg resize: (1080, 1632) 1357843383 -5.374565874693642 treat image : temp/1747140448_3038955_1357843074_68c3c1936c2849056ae7c63734ada8fa.jpg resize: (1080, 1632) 1357843074 -5.939181578252191 treat image : temp/1747140448_3038955_1357843071_c2a6d15ad7132617571b04d690666393.jpg resize: (1080, 1632) 1357843071 -5.7995528602720094 treat image : temp/1747140448_3038955_1357843068_d47d7b9e3ec3d124c142a5a760008754.jpg resize: (1080, 1632) 1357843068 -5.668928539906762 treat image : temp/1747140448_3038955_1357843061_6ce27bc73c99b73320deacb19e1ff103.jpg resize: (1080, 1632) 1357843061 -5.223908214333187 treat image : temp/1747140448_3038955_1357843028_7cd59da9d961939af869d37c2b387728.jpg resize: (1080, 1632) 1357843028 -1.8766885909826607 treat image : temp/1747140448_3038955_1357843024_36095b95d986021c66a66b5b8bfdb9bc.jpg resize: (1080, 1632) 1357843024 -5.25635986673029 treat image : temp/1747140448_3038955_1357843019_9284d0889ecd95e7e1f3ae761c5e23b7.jpg resize: (1080, 1632) 1357843019 -6.474519415225893 treat image : temp/1747140448_3038955_1357843016_58e1d08f999f1f9f187bf8d62bae8b83.jpg resize: (1080, 1632) 1357843016 -5.010697113667063 treat image : temp/1747140448_3038955_1357843012_f3c484c4d03892c34db3a0ea05b06422.jpg resize: (1080, 1632) 1357843012 -5.356013106429314 treat image : temp/1747140448_3038955_1357843007_d69336da18b466f041b9423aa863825e.jpg resize: (1080, 1632) 1357843007 -5.780992487718333 treat image : temp/1747140448_3038955_1357839941_18a15a08d8caa7661cc01e4786ff2a96.jpg resize: (1080, 1632) 1357839941 -5.953098411856278 treat image : temp/1747140448_3038955_1357839915_b6a9bb2fa0a9460e7dde6d936b41549a.jpg resize: (1080, 1632) 1357839915 -3.402800290823726 treat image : temp/1747140448_3038955_1357839911_896b396430a291e419b42c111fe76ea8.jpg resize: (1080, 1632) 1357839911 -5.883590423785694 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.01668715476989746 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.018898963928222656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01706552505493164 save missing photos in datou_result : time spend for datou_step_exec : 15.351422786712646 time spend to save output : 0.057253360748291016 total time spend for step 1 : 15.408676147460938 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.63user 3.21system 0:20.62elapsed 86%CPU (0avgtext+0avgdata 138632maxresident)k 144inputs+10896outputs (15major+257099minor)pagefaults 0swaps