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 : 2656309 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 : 872>100 please execute split_portfolio.py -i 25595350 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3424609'] with mtr_portfolio_ids : ['25595350'] and first list_photo_ids : [] new path : /proc/2656309/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.9782476425170898 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 Sat Aug 2 04:02: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/1754100149_2656309_1374860466_85bbdaa5d08b3284c1f33520e80a52f7.jpg resize: (1080, 1632) 1374860466 -2.5042333461360995 treat image : temp/1754100149_2656309_1374860464_50c922ebe5c94bbcd648d7e415611f24.jpg resize: (1080, 1632) 1374860464 -2.9810190497855222 treat image : temp/1754100149_2656309_1374860462_6a60b624dd0167253672d2573b3a6bc3.jpg resize: (1080, 1632) 1374860462 -2.5686324380787586 treat image : temp/1754100149_2656309_1374860436_61ec716c6a7851c711604bb898e6e7b4.jpg resize: (1080, 1632) 1374860436 -2.5173780724087242 treat image : temp/1754100149_2656309_1374860038_fbf7b3b6aa250ceb3e9fd520e6629592.jpg resize: (1080, 1632) 1374860038 -0.9874503461587979 treat image : temp/1754100149_2656309_1374859962_48bd1c4dd7de756ac6d8dc4e94ff3f0d.jpg resize: (1080, 1632) 1374859962 -5.184842948430921 treat image : temp/1754100149_2656309_1374859957_d40390723d42d592709b979d7f174d19.jpg resize: (1080, 1632) 1374859957 -5.184842948430921 treat image : temp/1754100149_2656309_1374859911_bbd9553ff2a5c5f4a7c8f0004020e1a5.jpg resize: (1080, 1632) 1374859911 -5.001433638107153 treat image : temp/1754100149_2656309_1374859910_fce8a7b2b4f55a54e9c0813653179f63.jpg resize: (1080, 1632) 1374859910 -5.001433638107153 treat image : temp/1754100149_2656309_1374859862_c4fa76bfe176604d2f45649f72190de3.jpg resize: (1080, 1632) 1374859862 -5.057464268035314 treat image : temp/1754100149_2656309_1374859857_0f5d612ef521786bd2cad98ab1269689.jpg resize: (1080, 1632) 1374859857 -5.057464268035314 treat image : temp/1754100149_2656309_1374859815_5df62e1528d82bf1b92e6dfe03caf127.jpg resize: (1080, 1632) 1374859815 -3.6194790114117015 treat image : temp/1754100149_2656309_1374859814_0b6c49c67f6c6cda914171bbd6c0607c.jpg resize: (1080, 1632) 1374859814 -3.6194790114117015 treat image : temp/1754100149_2656309_1374859667_16b2ebb50ce5ce782d863d848c50a027.jpg resize: (1080, 1632) 1374859667 -4.993079930473279 treat image : temp/1754100149_2656309_1374859625_3e9c60ab418d67af3d67ef550ea013a7.jpg resize: (1080, 1632) 1374859625 -4.733845632084914 treat image : temp/1754100149_2656309_1374859584_09aa2c3c9650d3ca14d1e77f9cf714c9.jpg resize: (1080, 1632) 1374859584 -3.2085776855977484 treat image : temp/1754100149_2656309_1374859543_2bb80ccdb7933cdff83222c4416fa4dd.jpg resize: (1080, 1632) 1374859543 -4.828125290442998 treat image : temp/1754100149_2656309_1374859498_8657484b23cc39a4112421666ae42c00.jpg resize: (1080, 1632) 1374859498 -5.002784157277906 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 : 18 time used for this insertion : 0.016695499420166016 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.31565380096435547 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.6449759006500244 save missing photos in datou_result : time spend for datou_step_exec : 13.41424012184143 time spend to save output : 0.9820752143859863 total time spend for step 1 : 14.396315336227417 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.34user 3.43system 0:20.21elapsed 78%CPU (0avgtext+0avgdata 137360maxresident)k 488inputs+7744outputs (14major+240762minor)pagefaults 0swaps