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 : 3564854 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 : 2674>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/3564854/ 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.410182476043701 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 17:17: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/1747149447_3564854_1357866031_a0ec8f03a6017c175c88cd73f9fdf7fc.jpg resize: (1080, 1632) 1357866031 -5.249306963698538 treat image : temp/1747149447_3564854_1357866025_8444aea62422a73ba5a5aef10245aa68.jpg resize: (1080, 1632) 1357866025 -5.373181896327966 treat image : temp/1747149447_3564854_1357866020_ee81fd6c2f38cd8986c12bce01d1a967.jpg resize: (1080, 1632) 1357866020 -6.027666761730763 treat image : temp/1747149447_3564854_1357865908_511776cf9f79259e9703b65df879c55e.jpg resize: (1080, 1632) 1357865908 -1.2880700147228519 treat image : temp/1747149447_3564854_1357865903_bf1bef046bb17828edede5e962597e99.jpg resize: (1080, 1632) 1357865903 -1.3801013642924673 treat image : temp/1747149447_3564854_1357865900_14582b55f3b8a320c809eb5d30efef89.jpg resize: (1080, 1632) 1357865900 -3.3143005927513074 treat image : temp/1747149447_3564854_1357865897_c9f2f7fb26fc6086b385dbbd23b17398.jpg resize: (1080, 1632) 1357865897 -5.4292606734884 treat image : temp/1747149447_3564854_1357865894_5545c1ee7011c48631ec5b72f3cd63c4.jpg resize: (1080, 1632) 1357865894 -5.148807116968851 treat image : temp/1747149447_3564854_1357865890_f4596f8e66ab0c3a02151f2c967e82d4.jpg resize: (1080, 1632) 1357865890 -4.293306393689723 treat image : temp/1747149447_3564854_1357864957_4cbd81da28275be025194cf8ca109864.jpg resize: (1080, 1632) 1357864957 -5.69042665697739 treat image : temp/1747149447_3564854_1357864954_f7ecd143272101db8b487c6121722105.jpg resize: (1080, 1632) 1357864954 -5.738033862826305 treat image : temp/1747149447_3564854_1357864951_6741706df533ce5bc22d404c210df0f2.jpg resize: (1080, 1632) 1357864951 -5.583682813260392 treat image : temp/1747149447_3564854_1357864925_addc2c643119987a9817da636184d20d.jpg resize: (1080, 1632) 1357864925 -4.168423768443747 treat image : temp/1747149447_3564854_1357864791_a1d3d3d31ffcb38163002c478f596cce.jpg resize: (1080, 1632) 1357864791 -3.3868155001698126 treat image : temp/1747149447_3564854_1357864732_c1923429776542646422173878bfe2fb.jpg resize: (1080, 1632) 1357864732 -3.80675520008636 treat image : temp/1747149447_3564854_1357864698_d2563ceda4928d611fae7fe5a0eb3371.jpg resize: (1080, 1632) 1357864698 -5.398685174175809 treat image : temp/1747149447_3564854_1357864646_e57199ecaaab86b3071ad41f97253940.jpg resize: (1080, 1632) 1357864646 -4.580040137596374 treat image : temp/1747149447_3564854_1357864591_c08902052c9eeff96e858099eba72ecf.jpg resize: (1080, 1632) 1357864591 -3.576210907510992 treat image : temp/1747149447_3564854_1357864565_c00772ee6642dcc014e2412872636343.jpg resize: (1080, 1632) 1357864565 -5.557757875570463 treat image : temp/1747149447_3564854_1357864386_58213361ea139a24faf4522e44297904.jpg resize: (1080, 1632) 1357864386 -5.734015020398069 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.013473749160766602 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.012388229370117188 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013583898544311523 save missing photos in datou_result : time spend for datou_step_exec : 16.727017164230347 time spend to save output : 0.05739283561706543 total time spend for step 1 : 16.784409999847412 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.10user 4.18system 0:21.40elapsed 90%CPU (0avgtext+0avgdata 139532maxresident)k 9192inputs+9920outputs (25major+259169minor)pagefaults 0swaps