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 : 849451 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 : 6150>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/849451/ 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.52673602104187 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 11: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/1754038947_849451_1374757093_3d4df9de8edbdb8a5b047ad9d6dd3a4a.jpg resize: (1080, 1632) 1374757093 -4.586187083811055 treat image : temp/1754038947_849451_1374757046_e61e136abb4fcc6afccb1629f75fc4fc.jpg resize: (1080, 1632) 1374757046 -2.832245706341684 treat image : temp/1754038947_849451_1374757015_5219bf956e7260e8567a62ab30ed1cd3.jpg resize: (1080, 1632) 1374757015 -0.9720202608883044 treat image : temp/1754038947_849451_1374756991_d462923d2dd8717b20ab6fb095a85c5d.jpg resize: (1080, 1632) 1374756991 -2.264700820081371 treat image : temp/1754038947_849451_1374756959_674e792cb511190dca102319b648c772.jpg resize: (1080, 1632) 1374756959 -1.3411120518816328 treat image : temp/1754038947_849451_1374756929_47264520af6847e45a5131ec00448e93.jpg resize: (1080, 1632) 1374756929 -3.830795201198964 treat image : temp/1754038947_849451_1374756659_76fdbf6977a7f6e082369121fe63f8f6.jpg resize: (1080, 1632) 1374756659 -4.393546296996308 treat image : temp/1754038947_849451_1374756575_6ffa27805b9cbf7be0cf91bbfc88e529.jpg resize: (1080, 1632) 1374756575 -5.5324284962396355 treat image : temp/1754038947_849451_1374756549_36bbad439fbee7e3723520c07620ef5d.jpg resize: (1080, 1632) 1374756549 -4.951158677538659 treat image : temp/1754038947_849451_1374756524_e16c3c03ce84ae47842bf8d343e37f74.jpg resize: (1080, 1632) 1374756524 -5.491306490134807 treat image : temp/1754038947_849451_1374756479_ab6983302a06cb032b568e1ab322a3a3.jpg resize: (1080, 1632) 1374756479 -4.47479074089712 treat image : temp/1754038947_849451_1374756454_35395aba76041d96baa914224b523eec.jpg resize: (1080, 1632) 1374756454 -5.296417973836299 treat image : temp/1754038947_849451_1374754083_ab32b6ecb32ab524124634922667222d.jpg resize: (1080, 1632) 1374754083 -5.72177159980478 treat image : temp/1754038947_849451_1374754080_d7a25af65345484518abc279e47728c0.jpg resize: (1080, 1632) 1374754080 -5.757259395808144 treat image : temp/1754038947_849451_1374754079_5e80699f98cef60a4eed6a81245aaee7.jpg resize: (1080, 1632) 1374754079 -5.3571132337584135 treat image : temp/1754038947_849451_1374754077_2f0e87b2ebfb090ffaffec4cc11d453d.jpg resize: (1080, 1632) 1374754077 -4.973921134152805 treat image : temp/1754038947_849451_1374753997_a784d28b4258571a6dfc3698e814f53c.jpg resize: (1080, 1632) 1374753997 -5.502571623127845 treat image : temp/1754038947_849451_1374753989_bc8e90bf7a6ce8da8e44a686c8edf14d.jpg resize: (1080, 1632) 1374753989 -5.9231834842536015 treat image : temp/1754038947_849451_1374753967_1603054a536fb02d50cb1b879a7c99aa.jpg resize: (1080, 1632) 1374753967 -5.386526694483097 treat image : temp/1754038947_849451_1374753966_7d26439a7838c5945123b9a178af05c8.jpg resize: (1080, 1632) 1374753966 -5.37514829907671 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.014930248260498047 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.02498936653137207 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05399489402770996 save missing photos in datou_result : time spend for datou_step_exec : 17.584455013275146 time spend to save output : 0.09884929656982422 total time spend for step 1 : 17.68330430984497 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 5.37system 0:22.77elapsed 87%CPU (0avgtext+0avgdata 138672maxresident)k 224inputs+9368outputs (8major+259186minor)pagefaults 0swaps