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 : 1768678 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 : 2788>100 please execute split_portfolio.py -i 22700488 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2795252'] with mtr_portfolio_ids : ['22700488'] and first list_photo_ids : [] new path : /proc/1768678/ 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.2333362102508545 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 Tue May 6 19:52: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/1746553950_1768678_1356398870_39fe6bbe7c9232dfb85be8a13212979e.jpg resize: (1080, 1632) 1356398870 -6.12073568865573 treat image : temp/1746553950_1768678_1356398867_f7abb0965a86988edf94ef4a5493f65f.jpg resize: (1080, 1632) 1356398867 -5.672862596000621 treat image : temp/1746553950_1768678_1356398863_b741df7b9809f6309d4f08b272b33978.jpg resize: (1080, 1632) 1356398863 -5.6783582332064935 treat image : temp/1746553950_1768678_1356398860_53525785ac354ba38fff65790e52ff05.jpg resize: (1080, 1632) 1356398860 -5.513627953842343 treat image : temp/1746553950_1768678_1356398263_c65bde921f416e329ae449bf2ade310c.jpg resize: (1080, 1632) 1356398263 0.31759561260791497 treat image : temp/1746553950_1768678_1356398109_47a61049a4fb0afab28b607a8eed36ac.jpg resize: (1080, 1632) 1356398109 -6.438594501391312 treat image : temp/1746553950_1768678_1356398081_6433bb829ee0973e02d5746995e78ff2.jpg resize: (1080, 1632) 1356398081 -5.8139628638119225 treat image : temp/1746553950_1768678_1356398064_e8d215450e3e5e85deb8c2449a6924e2.jpg resize: (1080, 1632) 1356398064 -6.346761497140233 treat image : temp/1746553950_1768678_1356398061_8e4f9b5bfd2a95d63b4ac6c2cc92f1af.jpg resize: (1080, 1632) 1356398061 -5.158395080405655 treat image : temp/1746553950_1768678_1356398058_283daf1991cffc9a4cdd9d84333651fb.jpg resize: (1080, 1632) 1356398058 -6.219054980497717 treat image : temp/1746553950_1768678_1356398048_c7b1d8a1b8ea4768715ed416ae1c3626.jpg resize: (1080, 1632) 1356398048 -5.97325760079199 treat image : temp/1746553950_1768678_1356397928_93a320fecbc86c8b8d5c750971af4752.jpg resize: (1080, 1632) 1356397928 -1.4163963211763257 treat image : temp/1746553950_1768678_1356397901_07e289cb943b7c9eb052c06cf274308f.jpg resize: (1080, 1632) 1356397901 -2.0594650609378324 treat image : temp/1746553950_1768678_1356397874_dac1b76140a2b080e8aa8f9aee3ea80c.jpg resize: (1080, 1632) 1356397874 -4.724530781552927 treat image : temp/1746553950_1768678_1356397845_028c77de6c8e96cc0104c200df6e05ba.jpg resize: (1080, 1632) 1356397845 -1.8567896201849488 treat image : temp/1746553950_1768678_1356397815_5ff5ecc20ef794d5e6737bd5d0e4e22b.jpg resize: (1080, 1632) 1356397815 -2.99840434123338 treat image : temp/1746553950_1768678_1356397755_d0f99b9273a765faf6a1799f959fe54e.jpg resize: (1080, 1632) 1356397755 -6.463005588223293 treat image : temp/1746553950_1768678_1356394773_2bfac194c10bf0dbbc89a9ae6baefc8c.jpg resize: (1080, 1632) 1356394773 -3.622517828933893 treat image : temp/1746553950_1768678_1356394743_b6f7106200e69c796ec098f216053d5e.jpg resize: (1080, 1632) 1356394743 -3.644204115864141 treat image : temp/1746553950_1768678_1356394709_9462a728fe5bda80e21c8e6016152aee.jpg resize: (1080, 1632) 1356394709 -5.764997282994577 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.01241159439086914 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.01280975341796875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021808385848999023 save missing photos in datou_result : time spend for datou_step_exec : 16.41207242012024 time spend to save output : 0.05163693428039551 total time spend for step 1 : 16.463709354400635 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.06user 4.24system 0:22.67elapsed 85%CPU (0avgtext+0avgdata 141740maxresident)k 2848inputs+10120outputs (13major+247415minor)pagefaults 0swaps