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 : 3809216 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 : 5819>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3809216/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371591294 complete_path : /home/admin/workarea/git/Velours/python/temp/1752246147_3809216_1371591294_63419b5a784d3302c5c63d97a27387dc.jpg Fwe have missing 1 photos in the step downloads : photo missing : [1371591294] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591294 length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.534470796585083 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 Fri Jul 11 17:02: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/1752246147_3809216_1371614881_1418caa4327b9414267983eb7da43a5b.jpg resize: (1080, 1632) 1371614881 -3.079957785234761 treat image : temp/1752246147_3809216_1371614824_45c458c5402a01f84c21eeed1316da46.jpg resize: (1080, 1632) 1371614824 -3.0819853456144126 treat image : temp/1752246147_3809216_1371614771_f4f41f35c822a8b8aeabdb9bc9b30a13.jpg resize: (1080, 1632) 1371614771 -3.072099201051126 treat image : temp/1752246147_3809216_1371614699_2d6ae4e150bfb49cf47f74bf10310389.jpg resize: (1080, 1632) 1371614699 -3.041606356154361 treat image : temp/1752246147_3809216_1371614620_e2d22480057b8fcb39d71aa900aa2a8e.jpg resize: (1080, 1632) 1371614620 -3.01712527513636 treat image : temp/1752246147_3809216_1371614547_b3b29740948f0ae46746a3eba148040d.jpg resize: (1080, 1632) 1371614547 -3.059852742526299 treat image : temp/1752246147_3809216_1371614322_9bf03cff580822b18254fb7bc0e833fc.jpg resize: (1080, 1632) 1371614322 -5.203021087790264 treat image : temp/1752246147_3809216_1371614296_9e9d1ccee7ecec7e8771d689d00bc5fe.jpg resize: (1080, 1632) 1371614296 -1.3086873712045655 treat image : temp/1752246147_3809216_1371614260_5d3af83c6292b5f6fcf3fc636dce5aa4.jpg resize: (1080, 1632) 1371614260 -2.1801998717962405 treat image : temp/1752246147_3809216_1371614216_f8355ac30b0dfb2fe6f70b0a6ff92bfc.jpg resize: (1080, 1632) 1371614216 -2.133933760165207 treat image : temp/1752246147_3809216_1371614204_6ae042891610562ec14862f2edc1637b.jpg resize: (1080, 1632) 1371614204 -2.191610221409468 treat image : temp/1752246147_3809216_1371614191_1c3a87e73bdd63141d6451fbe3d36448.jpg resize: (1080, 1632) 1371614191 -2.4650866646469622 treat image : temp/1752246147_3809216_1371614063_c328bd150a0e7d7fe73c718cdda730c3.jpg resize: (1080, 1632) 1371614063 -2.495974575064089 treat image : temp/1752246147_3809216_1371614007_5ab1e3a6a72ce800d6f21791b067479b.jpg resize: (1080, 1632) 1371614007 -1.5367091317304016 treat image : temp/1752246147_3809216_1371613954_8b1347cd2fd620c6d534aee93cfe5d51.jpg resize: (1080, 1632) 1371613954 -1.5975588220219987 treat image : temp/1752246147_3809216_1371613915_e61f38aae49ecef036dca3a9efa31b55.jpg resize: (1080, 1632) 1371613915 -3.270228536799925 treat image : temp/1752246147_3809216_1371613884_9da7d3f3bc5fd2fb5569627837543e3d.jpg resize: (1080, 1632) 1371613884 -3.1578020657442627 treat image : temp/1752246147_3809216_1371613853_2831712c29f098649afbe26dd5998ab1.jpg resize: (1080, 1632) 1371613853 -3.1164317034461866 treat image : temp/1752246147_3809216_1371591295_704e03bfa844dbf023976ba7b7f49abc.jpg resize: (1080, 1632) 1371591295 -5.157432538401121 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 : 19 time used for this insertion : 0.012409210205078125 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.013448476791381836 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.014722108840942383 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.01300501823425293 time spend for datou_step_exec : 14.816282987594604 time spend to save output : 0.05832028388977051 total time spend for step 1 : 14.874603271484375 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.58user 3.55system 0:19.53elapsed 87%CPU (0avgtext+0avgdata 139160maxresident)k 88inputs+6744outputs (21major+218469minor)pagefaults 0swaps