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 : 3945635 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 : 3096>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/3945635/ 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.7492148876190186 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 21:22:30 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/1747077748_3945635_1357722580_2a2cb47601531f9f3587894a10192c00.jpg resize: (1080, 1632) 1357722580 -5.7571487500294936 treat image : temp/1747077748_3945635_1357647805_f4edd53b0ac5cf24048febb6ffbe53ab.jpg resize: (1080, 1632) 1357647805 -1.758701210711857 treat image : temp/1747077748_3945635_1357647775_45aed3e1a8cf0db87ba395f2331c900d.jpg resize: (1080, 1632) 1357647775 -3.0665997140919523 treat image : temp/1747077748_3945635_1357647503_9db97937f70aa385cc9f0d93924c9d6e.jpg resize: (1080, 1632) 1357647503 -2.5463806654123813 treat image : temp/1747077748_3945635_1357647473_688c575bf25fdf5fdc5e0947e83002a2.jpg resize: (1080, 1632) 1357647473 -4.666989595682265 treat image : temp/1747077748_3945635_1357647444_50c2742c54d590c56112c2363b360241.jpg resize: (1080, 1632) 1357647444 -2.9806601649057893 treat image : temp/1747077748_3945635_1357647432_e2248f272d1f869b716ee1825e9ca022.jpg resize: (1080, 1632) 1357647432 -4.7134075589536 treat image : temp/1747077748_3945635_1357647427_9173ce9bcf1cfd337171b02c014a9d1f.jpg resize: (1080, 1632) 1357647427 -5.801753968052397 treat image : temp/1747077748_3945635_1357647422_a4580694f4c498b580585872c89032a5.jpg resize: (1080, 1632) 1357647422 -4.1401877104781395 treat image : temp/1747077748_3945635_1357647178_cb77316d78647c8fc9ee3dd22040eeac.jpg resize: (1080, 1632) 1357647178 -2.8800587688937047 treat image : temp/1747077748_3945635_1357647176_d420fb0fd46185e2910692e492a18d14.jpg resize: (1080, 1632) 1357647176 -6.4955404388850715 treat image : temp/1747077748_3945635_1357647173_6a679ffb0a7f96848a209be9ae83e2db.jpg resize: (1080, 1632) 1357647173 -3.5422548883602882 treat image : temp/1747077748_3945635_1357647168_3817078bcb9b63d3592272f88d267463.jpg resize: (1080, 1632) 1357647168 -5.91107023086672 treat image : temp/1747077748_3945635_1357647139_082c93317a9b525f987367ddc4fbbb04.jpg resize: (1080, 1632) 1357647139 -5.887241706351652 treat image : temp/1747077748_3945635_1357647135_4ba01eddac1607adeef27875da7e859a.jpg resize: (1080, 1632) 1357647135 -6.186064892997694 treat image : temp/1747077748_3945635_1357647132_1730ba88384798e6904248408a2a9f47.jpg resize: (1080, 1632) 1357647132 -6.052925056681665 treat image : temp/1747077748_3945635_1357647129_53cf7e399fb4f02ed534de8e604ebe2c.jpg resize: (1080, 1632) 1357647129 -6.373701020246262 treat image : temp/1747077748_3945635_1357647126_7b3a793e5844e424f4fa5d507c9a8029.jpg resize: (1080, 1632) 1357647126 13.848746842821283 treat image : temp/1747077748_3945635_1357646874_3f62c2a99d4b51b8b0222934c8d48a04.jpg resize: (1080, 1632) 1357646874 -1.5510658040966427 treat image : temp/1747077748_3945635_1357646871_45b456776c8605910b4b187c68b08ea5.jpg resize: (1080, 1632) 1357646871 -5.110868931608988 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.014196395874023438 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.012931585311889648 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014933109283447266 save missing photos in datou_result : time spend for datou_step_exec : 15.62894892692566 time spend to save output : 0.047815799713134766 total time spend for step 1 : 15.676764726638794 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.66user 3.45system 0:20.62elapsed 87%CPU (0avgtext+0avgdata 142524maxresident)k 136inputs+9888outputs (21major+265251minor)pagefaults 0swaps