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 : 3815562 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 : 7664>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/3815562/ 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.364262104034424 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 Thu Jul 31 23:42: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/1753998149_3815562_1374676634_6fc2f23e7fdf5dbd1a10539d3f413760.jpg resize: (1080, 1632) 1374676634 -5.500260839987443 treat image : temp/1753998149_3815562_1374676629_0b4a149d7d9569fb0b5476c16045aa78.jpg resize: (1080, 1632) 1374676629 -4.466474640240248 treat image : temp/1753998149_3815562_1374676606_148159861db7b3982cdeacc35679bfab.jpg resize: (1080, 1632) 1374676606 -4.423685334740589 treat image : temp/1753998149_3815562_1374676602_a7f2ada5a90e98ef2e056e89841e7c7e.jpg resize: (1080, 1632) 1374676602 -3.98204862911023 treat image : temp/1753998149_3815562_1374676589_5c9d86af08b7a5f11a071d942df76abc.jpg resize: (1080, 1632) 1374676589 -3.5763074550737697 treat image : temp/1753998149_3815562_1374676573_7bf756e77bdcea5b95a92606455d605f.jpg resize: (1080, 1632) 1374676573 -4.371110196381539 treat image : temp/1753998149_3815562_1374675654_56e5dd5a6399042bcda5416bdf399e31.jpg resize: (1080, 1632) 1374675654 -5.329413552082988 treat image : temp/1753998149_3815562_1374675559_c157367e11a25cabd661ce0629606b7c.jpg resize: (1080, 1632) 1374675559 -3.0312941249156586 treat image : temp/1753998149_3815562_1374675526_8d6c2d213fbf0add75e585b046dac15f.jpg resize: (1080, 1632) 1374675526 -4.968210906268303 treat image : temp/1753998149_3815562_1374675497_dabb01408679f811a1e03df49c02df56.jpg resize: (1080, 1632) 1374675497 -5.546334273931692 treat image : temp/1753998149_3815562_1374675469_abdaa059540c41f13ac9a99db76fa528.jpg resize: (1080, 1632) 1374675469 -1.2185789660952773 treat image : temp/1753998149_3815562_1374675444_93392dbc19e098c4c13c21aa9e9b66e6.jpg resize: (1080, 1632) 1374675444 -1.2230168343701886 treat image : temp/1753998149_3815562_1374675089_3e13d9734cb5ff270b95a7ff7de0073d.jpg resize: (1080, 1632) 1374675089 -2.235327514194411 treat image : temp/1753998149_3815562_1374675088_2e98c914a2ae1be8c13f8bda7340aea6.jpg resize: (1080, 1632) 1374675088 -4.0063765364227555 treat image : temp/1753998149_3815562_1374675086_fa7780c590d5c533a5c09dd0cdc98591.jpg resize: (1080, 1632) 1374675086 -4.079527390458114 treat image : temp/1753998149_3815562_1374675083_161435f55faf0d7dbb7843f34ad560db.jpg resize: (1080, 1632) 1374675083 -5.034013915107996 treat image : temp/1753998149_3815562_1374675076_f667bdab353fc491b17acd5128c31134.jpg resize: (1080, 1632) 1374675076 -2.6268538428570087 treat image : temp/1753998149_3815562_1374675054_31f1f8683eebda401fa0aab9b888ad71.jpg resize: (1080, 1632) 1374675054 -4.7143916886568755 treat image : temp/1753998149_3815562_1374674799_a3cdfcecad3db9a08b5943effc46d575.jpg resize: (1080, 1632) 1374674799 -4.956407469138481 treat image : temp/1753998149_3815562_1374674776_0052e35ef87ae93ef4a30f1dbe4280a9.jpg resize: (1080, 1632) 1374674776 -4.911327209201579 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.012473106384277344 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.013025522232055664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014890193939208984 save missing photos in datou_result : time spend for datou_step_exec : 16.11381506919861 time spend to save output : 0.04519343376159668 total time spend for step 1 : 16.159008502960205 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 4.21system 0:21.74elapsed 86%CPU (0avgtext+0avgdata 137272maxresident)k 1456inputs+8616outputs (17major+255877minor)pagefaults 0swaps