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 : 2391461 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 : 1196>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/2391461/ 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.3753809928894043 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 Thu May 22 10:27: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/1747902448_2391461_1360495500_7f4dee922690c61b51c8389574e6a7b3.jpg resize: (1080, 1632) 1360495500 -2.665455451747309 treat image : temp/1747902448_2391461_1360494969_8a424f7040d43f5946b4efba98a64911.jpg resize: (1080, 1632) 1360494969 -6.157331179327615 treat image : temp/1747902448_2391461_1360494798_74568d2b018ad96773d07c43e8da5855.jpg resize: (1080, 1632) 1360494798 -6.11840786588492 treat image : temp/1747902448_2391461_1360494683_f70e2aa9f5f7ae5d7efe142d3e95a451.jpg resize: (1080, 1632) 1360494683 -6.14409257355057 treat image : temp/1747902448_2391461_1360494589_2758f56fec87ef15d49bd9f11ee3b9a0.jpg resize: (1080, 1632) 1360494589 -5.662003028955196 treat image : temp/1747902448_2391461_1360493951_a63a7d38d4a1afe7930427364983c365.jpg resize: (1080, 1632) 1360493951 -6.251353479444665 treat image : temp/1747902448_2391461_1360493861_bb926693b1f01208494a54465eb57f51.jpg resize: (1080, 1632) 1360493861 -6.175296295845381 treat image : temp/1747902448_2391461_1360493412_8cbed988f541fea0e0ee08dee0bc1a89.jpg resize: (1080, 1632) 1360493412 -5.991671851512399 treat image : temp/1747902448_2391461_1360493047_e3d70bcce9a3db88a46e7996b669e69a.jpg resize: (1080, 1632) 1360493047 -2.666160972459689 treat image : temp/1747902448_2391461_1360492916_26abaaeaa9d28c8de3eaaf8f9a0bf18d.jpg resize: (1080, 1632) 1360492916 -1.6917968163107249 treat image : temp/1747902448_2391461_1360492880_88ba2a304eddfa570c3f51fadfc1391f.jpg resize: (1080, 1632) 1360492880 -5.501007687005859 treat image : temp/1747902448_2391461_1360492830_1cf0a3194ae85dd7ec81d2ae760e374a.jpg resize: (1080, 1632) 1360492830 -6.365131325485426 treat image : temp/1747902448_2391461_1360492802_562fdd1e056e6410a1ff6c88c0495997.jpg resize: (1080, 1632) 1360492802 -3.9313473096820366 treat image : temp/1747902448_2391461_1360492773_87328ae2b5a2828fffbb2aade3838514.jpg resize: (1080, 1632) 1360492773 -4.522492591830979 treat image : temp/1747902448_2391461_1360492384_cf9173056a8fb3ba779a417b6eb61160.jpg resize: (1080, 1632) 1360492384 -3.6372337821169154 treat image : temp/1747902448_2391461_1360492249_6cb0a6500b7799080c262d537c34353b.jpg resize: (1080, 1632) 1360492249 -5.638940241792331 treat image : temp/1747902448_2391461_1360492187_11f74ae36cded88ea4cdd149ea682751.jpg resize: (1080, 1632) 1360492187 -3.660980168320795 treat image : temp/1747902448_2391461_1360492162_ec5269651dcc1a262d13ca8a9ccc70ce.jpg resize: (1080, 1632) 1360492162 -1.7611091792015483 treat image : temp/1747902448_2391461_1360475134_5e1d4394c6525d30f28fe8b2c35e93b8.jpg resize: (1080, 1632) 1360475134 -4.718070458939684 treat image : temp/1747902448_2391461_1360471263_10d4a3555d53382f8e6a314869607f07.jpg resize: (1080, 1632) 1360471263 -2.955028605619007 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.018558263778686523 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.015105009078979492 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0169830322265625 save missing photos in datou_result : time spend for datou_step_exec : 16.96716833114624 time spend to save output : 0.05595898628234863 total time spend for step 1 : 17.02312731742859 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.70user 4.95system 0:23.18elapsed 84%CPU (0avgtext+0avgdata 138860maxresident)k 3040inputs+10280outputs (27major+260404minor)pagefaults 0swaps