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 : 1598991 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 : 1207>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/1598991/ 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.2913408279418945 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 20 09:47: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/1747727247_1598991_1359785841_567b1f3b428a9396e6e94800c96981df.jpg resize: (1080, 1632) 1359785841 -5.958471160840095 treat image : temp/1747727247_1598991_1359785838_30f4594fe53af99b1b162272d73dda09.jpg resize: (1080, 1632) 1359785838 -5.666554947175387 treat image : temp/1747727247_1598991_1359785835_bd17498ec99c6490163b8d8b3e6310fc.jpg resize: (1080, 1632) 1359785835 -4.220720496493665 treat image : temp/1747727247_1598991_1359785809_f07f53b2fcd0b8d6e75b6f352ef41582.jpg resize: (1080, 1632) 1359785809 -3.6269213785524688 treat image : temp/1747727247_1598991_1359785805_8ddbf5bf5e6dd35ced9ef775761b19a4.jpg resize: (1080, 1632) 1359785805 -5.280843469618403 treat image : temp/1747727247_1598991_1359785802_fe4574c9b4a997c972c0e50b30d17b8b.jpg resize: (1080, 1632) 1359785802 -5.432492044501651 treat image : temp/1747727247_1598991_1359785800_c95142ba042cdfb7970899358652e94d.jpg resize: (1080, 1632) 1359785800 -5.56154909352565 treat image : temp/1747727247_1598991_1359785795_b089046ced0b8b41d24c967f458931ea.jpg resize: (1080, 1632) 1359785795 -5.798341583101612 treat image : temp/1747727247_1598991_1359785744_b2703dc736b42464c7200c69bd141f8b.jpg resize: (1080, 1632) 1359785744 -1.1782813151819216 treat image : temp/1747727247_1598991_1359785741_869e865911c0aca519b6570cc4358590.jpg resize: (1080, 1632) 1359785741 -1.3346105086918936 treat image : temp/1747727247_1598991_1359785737_c514a1c1cf9f57819e0dfa873364690d.jpg resize: (1080, 1632) 1359785737 -6.045505658564822 treat image : temp/1747727247_1598991_1359785734_a3d9f02a40f93c25c88fe912b23cbcaa.jpg resize: (1080, 1632) 1359785734 -6.064297387802297 treat image : temp/1747727247_1598991_1359785709_66d294e6c81986f8d6892886de995af8.jpg resize: (1080, 1632) 1359785709 -5.779233632931221 treat image : temp/1747727247_1598991_1359785706_01cf882e231a5324b0417a56d426bd72.jpg resize: (1080, 1632) 1359785706 -3.424310036737909 treat image : temp/1747727247_1598991_1359785704_4194dd55b895b9412a623b6ec14ab506.jpg resize: (1080, 1632) 1359785704 -5.161942778529074 treat image : temp/1747727247_1598991_1359785701_e6790346bc350a824219b887612a18fe.jpg resize: (1080, 1632) 1359785701 -3.7996992409382915 treat image : temp/1747727247_1598991_1359785698_a0bc6acd8c06a63ec20f242e36a9973c.jpg resize: (1080, 1632) 1359785698 -6.092131177327995 treat image : temp/1747727247_1598991_1359785694_bfbe5489903f90d1550572dff18b936c.jpg resize: (1080, 1632) 1359785694 -3.179649790719321 treat image : temp/1747727247_1598991_1359785661_c1df1062eba105ae20d385a374e17056.jpg resize: (1080, 1632) 1359785661 -1.5521676286247503 treat image : temp/1747727247_1598991_1359785657_60be72a6691102c30ab22960ac3e5d75.jpg resize: (1080, 1632) 1359785657 -3.4653059165295597 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.014064311981201172 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.24071907997131348 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.3283712863922119 save missing photos in datou_result : time spend for datou_step_exec : 19.95393681526184 time spend to save output : 0.5877201557159424 total time spend for step 1 : 20.541656970977783 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.68user 7.53system 0:24.97elapsed 88%CPU (0avgtext+0avgdata 139672maxresident)k 3552inputs+9696outputs (33major+254106minor)pagefaults 0swaps