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 : 1518917 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 : 1454>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/1518917/ 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.117748737335205 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 07: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/1747113449_1518917_1357773889_cef14f949929ec4db9042e73b119ae03.jpg resize: (1080, 1632) 1357773889 -3.0581595072119496 treat image : temp/1747113449_1518917_1357773887_9503e2aa40f491c78820c975eb668afb.jpg resize: (1080, 1632) 1357773887 -3.3406479221785728 treat image : temp/1747113449_1518917_1357773885_540f79b16f169a224a54053ce281e296.jpg resize: (1080, 1632) 1357773885 -4.533602287769802 treat image : temp/1747113449_1518917_1357773882_c493d19104b6abd73bab7a993f424403.jpg resize: (1080, 1632) 1357773882 -5.3212998636877975 treat image : temp/1747113449_1518917_1357773848_755d745a8783b9eed426614f1a2a7d06.jpg resize: (1080, 1632) 1357773848 -5.532804827617022 treat image : temp/1747113449_1518917_1357773846_0c3076f8e054110b2538f28297d9ed38.jpg resize: (1080, 1632) 1357773846 -3.673115656129602 treat image : temp/1747113449_1518917_1357773845_4a9a4c5d1bd85376d5cd7be5eed22f06.jpg resize: (1080, 1632) 1357773845 -1.4438144400367785 treat image : temp/1747113449_1518917_1357773810_a5897c784d84735deec72c5e5c0b170d.jpg resize: (1080, 1632) 1357773810 -4.143725057650445 treat image : temp/1747113449_1518917_1357773805_d3c6ec02405f183afe9bf1772b08c604.jpg resize: (1080, 1632) 1357773805 -5.201487983006913 treat image : temp/1747113449_1518917_1357773801_f254838a78e6b42f35e66e97fe06537d.jpg resize: (1080, 1632) 1357773801 -2.7499859135789353 treat image : temp/1747113449_1518917_1357773797_f9f42d2abb2eca04d024e1156c6dedfd.jpg resize: (1080, 1632) 1357773797 -5.343716400175259 treat image : temp/1747113449_1518917_1357773791_f0a324ce90ff91962e2a708e95700d42.jpg resize: (1080, 1632) 1357773791 -2.8011347509424023 treat image : temp/1747113449_1518917_1357773788_5456953438282f24a257c50beaddc17d.jpg resize: (1080, 1632) 1357773788 -5.601298200684508 treat image : temp/1747113449_1518917_1357773748_ec185828fed8b31ca1d5d0223133ddae.jpg resize: (1080, 1632) 1357773748 -5.598791492825106 treat image : temp/1747113449_1518917_1357773746_26179e8cc520152e26798aa7d3e62c23.jpg resize: (1080, 1632) 1357773746 -4.613320323151667 treat image : temp/1747113449_1518917_1357773744_597acf738c2af3480df10daf95c1123f.jpg resize: (1080, 1632) 1357773744 -2.7461430059112577 treat image : temp/1747113449_1518917_1357773742_eb2ff48b265ee7f058e211063488912c.jpg resize: (1080, 1632) 1357773742 -5.5628899740564615 treat image : temp/1747113449_1518917_1357773692_81c8ab8fc5edc9f304ae28979c42f59a.jpg resize: (1080, 1632) 1357773692 -5.268347104499333 treat image : temp/1747113449_1518917_1357773689_7c3bc1da8710500ad2be4c107485a01e.jpg resize: (1080, 1632) 1357773689 -3.6428550280106844 treat image : temp/1747113449_1518917_1357773445_94978ffc76479abffeacd4debadb32ee.jpg resize: (1080, 1632) 1357773445 -5.001632624881471 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.01644301414489746 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.2556889057159424 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2486114501953125 save missing photos in datou_result : time spend for datou_step_exec : 15.342951774597168 time spend to save output : 0.5318253040313721 total time spend for step 1 : 15.87477707862854 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.79user 3.42system 0:22.46elapsed 81%CPU (0avgtext+0avgdata 139620maxresident)k 808inputs+8984outputs (16major+261284minor)pagefaults 0swaps