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 : 379300 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 : 6770>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/379300/ 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.267928123474121 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 Aug 1 06:22: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/1754022149_379300_1374715018_774bb64a3748c8e8bdf7ab66fd394cba.jpg resize: (1080, 1632) 1374715018 -5.9231283907727175 treat image : temp/1754022149_379300_1374715016_4dc2b886c5bebc6e1e90765cf57207e4.jpg resize: (1080, 1632) 1374715016 -1.3433437306146958 treat image : temp/1754022149_379300_1374715014_d0f717687644c39954d413bbbdc10895.jpg resize: (1080, 1632) 1374715014 -1.3450380710722185 treat image : temp/1754022149_379300_1374715012_f662b9243810050b93080c6ed3877ae8.jpg resize: (1080, 1632) 1374715012 -1.6028310850683227 treat image : temp/1754022149_379300_1374715011_a25e90d5ad1938440e29fe13422bf137.jpg resize: (1080, 1632) 1374715011 -1.8322623074979896 treat image : temp/1754022149_379300_1374715009_c6b972fe391db52ac1b7cfc6c22b47d1.jpg resize: (1080, 1632) 1374715009 -5.510747052059791 treat image : temp/1754022149_379300_1374714958_3dd067be38de387282c7ace7a68efba2.jpg resize: (1080, 1632) 1374714958 -5.737886725689751 treat image : temp/1754022149_379300_1374714955_88972b59eaf2a7dd2e3bcb5a3eed9018.jpg resize: (1080, 1632) 1374714955 -5.432547377953331 treat image : temp/1754022149_379300_1374714952_55fc53b4778d520da8204f4f0e574dcf.jpg resize: (1080, 1632) 1374714952 -2.272804860394203 treat image : temp/1754022149_379300_1374714951_ff0aef71ef7f637b8b480b2d6bbd0215.jpg resize: (1080, 1632) 1374714951 -1.4179113537507109 treat image : temp/1754022149_379300_1374714946_a1afd39fbc5f3f206aae9988f6929d74.jpg resize: (1080, 1632) 1374714946 -1.600490288213166 treat image : temp/1754022149_379300_1374714944_23e1a51b5b530f254d73b332251ef1c5.jpg resize: (1080, 1632) 1374714944 -4.918787858785144 treat image : temp/1754022149_379300_1374714943_2ac66fded77e1a0f1f8e0961d7dc0b4d.jpg resize: (1080, 1632) 1374714943 -3.894274414327443 treat image : temp/1754022149_379300_1374714941_c285a5e7700a7eda6983fcd3ebd42cef.jpg resize: (1080, 1632) 1374714941 -3.494472674649912 treat image : temp/1754022149_379300_1374714940_d41d1a1b0acefb2551fb27f41ca632ea.jpg resize: (1080, 1632) 1374714940 -4.632340055364416 treat image : temp/1754022149_379300_1374714938_5ba13e537242a9e2b292b2ab30f4446b.jpg resize: (1080, 1632) 1374714938 -4.128861639717508 treat image : temp/1754022149_379300_1374714269_de22636767b09befeff1424af95da322.jpg resize: (1080, 1632) 1374714269 -2.4595159075297315 treat image : temp/1754022149_379300_1374714245_8001114369d21b253b0e7bbda3b23a87.jpg resize: (1080, 1632) 1374714245 -4.949665237217814 treat image : temp/1754022149_379300_1374714223_9a31d232ca98b0de8fdfea4deb997c03.jpg resize: (1080, 1632) 1374714223 -5.501175834249241 treat image : temp/1754022149_379300_1374714204_02d2d8087d5556aa4bd99e6b2ca4b43b.jpg resize: (1080, 1632) 1374714204 -5.604230054127611 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.02082538604736328 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.1429150104522705 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.32297348976135254 save missing photos in datou_result : time spend for datou_step_exec : 14.731250524520874 time spend to save output : 0.4921247959136963 total time spend for step 1 : 15.22337532043457 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.66user 3.40system 0:21.11elapsed 80%CPU (0avgtext+0avgdata 140284maxresident)k 0inputs+8888outputs (10major+259001minor)pagefaults 0swaps