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 : 3751682 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 : 5627>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/3751682/ 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 ! BFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371591723 complete_path : /home/admin/workarea/git/Velours/python/temp/1752244948_3751682_1371591723_16f980bddb0d0fc4d1d072b230806c31.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371591688 complete_path : /home/admin/workarea/git/Velours/python/temp/1752244948_3751682_1371591688_d4c0d2f85341b2bf6ead579066b94388.jpg FBHTTP Error 404: Not Found can't download the photo : 1371591686 complete_path : /home/admin/workarea/git/Velours/python/temp/1752244948_3751682_1371591686_7341ea0e2c632b4da9451af3624808fa.jpg FBHTTP Error 404: Not Found can't download the photo : 1371591657 complete_path : /home/admin/workarea/git/Velours/python/temp/1752244948_3751682_1371591657_a8c27c1616b08df81032d4cd70d0eb35.jpg FBFBFBHTTP Error 404: Not Found can't download the photo : 1371591632 complete_path : /home/admin/workarea/git/Velours/python/temp/1752244948_3751682_1371591632_ab6101c425f71e51d2b8fd5fb77f3137.jpg FBHTTP Error 404: Not Found can't download the photo : 1371591591 complete_path : /home/admin/workarea/git/Velours/python/temp/1752244948_3751682_1371591591_8ee62c14a8cd9b461627e7934579685e.jpg FBHTTP Error 404: Not Found can't download the photo : 1371591575 complete_path : /home/admin/workarea/git/Velours/python/temp/1752244948_3751682_1371591575_4e820aca127843b8eb38da3a47d5dbff.jpg FBFBFBFBFwe have missing 7 photos in the step downloads : photo missing : [1371591723, 1371591688, 1371591686, 1371591657, 1371591632, 1371591591, 1371591575] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591723 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591688 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591686 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591657 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591632 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591591 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591575 length of list_filenames : 13 ; length of list_pids : 13 ; length of list_args : 13 time to download the photos : 4.180783271789551 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 16:42:32 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/1752244948_3751682_1371609974_4fab29637a85983cddb9a9229d5c0557.jpg resize: (1080, 1632) 1371609974 -5.088482497849286 treat image : temp/1752244948_3751682_1371609971_3eeaddad10ced2a9f269de1bb8c2dad8.jpg resize: (1080, 1632) 1371609971 -5.565404193481122 treat image : temp/1752244948_3751682_1371609969_2f564260c87e3ea5e8122c9c2fd47659.jpg resize: (1080, 1632) 1371609969 -6.020779939637048 treat image : temp/1752244948_3751682_1371609967_57fc949b3afde33f04f76ee062a7adae.jpg resize: (1080, 1632) 1371609967 -6.016981608074899 treat image : temp/1752244948_3751682_1371609963_ce4198e040cedf0a6ebf699746e7be63.jpg resize: (1080, 1632) 1371609963 -5.9094659551514095 treat image : temp/1752244948_3751682_1371609957_6497f5a966d22b9ae3a73b5d54ccd3fd.jpg resize: (1080, 1632) 1371609957 -5.633992318704637 treat image : temp/1752244948_3751682_1371591717_3b46089da3b63e87362d4c8ed9483cbc.jpg resize: (1080, 1632) 1371591717 -5.209596401648235 treat image : temp/1752244948_3751682_1371591655_218afa9c9d8b90f20aca65f982364bd1.jpg resize: (1080, 1632) 1371591655 -5.192157514720745 treat image : temp/1752244948_3751682_1371591640_c7592da83ac98ebca4c923d2ccdb2ab3.jpg resize: (1080, 1632) 1371591640 -5.802857816634321 treat image : temp/1752244948_3751682_1371591561_f627715880eae8a275f77fff8c7f1c4c.jpg resize: (1080, 1632) 1371591561 -5.013758605313926 treat image : temp/1752244948_3751682_1371591548_92e81e881f5083c766d10606d0de16c5.jpg resize: (1080, 1632) 1371591548 -5.224792348656082 treat image : temp/1752244948_3751682_1371591454_c034dc78eb172892dc9ec65df2d63b9e.jpg resize: (1080, 1632) 1371591454 -5.230560158990587 treat image : temp/1752244948_3751682_1371591440_b5ba2fbb74f0793ba1c6f81abfe11085.jpg resize: (1080, 1632) 1371591440 -5.195489560830692 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 : 13 time used for this insertion : 0.012776613235473633 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 13 time used for this insertion : 0.011928319931030273 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 13 time used for this insertion : 0.01298379898071289 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 7 time used for this insertion : 0.012896537780761719 time spend for datou_step_exec : 9.837324619293213 time spend to save output : 0.05542492866516113 total time spend for step 1 : 9.892749547958374 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 9.76user 2.07system 0:16.53elapsed 71%CPU (0avgtext+0avgdata 138932maxresident)k 56inputs+7000outputs (6major+167149minor)pagefaults 0swaps