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 : 1338710 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 : 2482>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1338710/ 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.674156427383423 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 Sep 9 15: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/1757425349_1338710_1382780729_701e13e01d730e530a7a9587da8333ee.jpg resize: (1080, 1632) 1382780729 -5.442236266719313 treat image : temp/1757425349_1338710_1382780726_2dbf02e551d6e6766d2f75ad2c19b307.jpg resize: (1080, 1632) 1382780726 -5.027757623121931 treat image : temp/1757425349_1338710_1382780723_91f22f1f5bdad39195730f884f771489.jpg resize: (1080, 1632) 1382780723 -5.2697304069788915 treat image : temp/1757425349_1338710_1382780717_25e90d5671dfc84b33421e015d4a6d81.jpg resize: (1080, 1632) 1382780717 -5.409949763076158 treat image : temp/1757425349_1338710_1382780713_e94df8feeea0aede85fc9c12d2b1f36f.jpg resize: (1080, 1632) 1382780713 -5.474317654877731 treat image : temp/1757425349_1338710_1382780706_c72c3862b22c7dd223dd166727793490.jpg resize: (1080, 1632) 1382780706 -5.761853909730585 treat image : temp/1757425349_1338710_1382780667_99b3d00ed1e1a51a5f12c2f2322de012.jpg resize: (1080, 1632) 1382780667 -1.772566650165363 treat image : temp/1757425349_1338710_1382780662_eedb8269f391030641a155d65f929145.jpg resize: (1080, 1632) 1382780662 -1.809225563617348 treat image : temp/1757425349_1338710_1382780659_d0612cb2230808c4652bbe942ea09404.jpg resize: (1080, 1632) 1382780659 -2.9181423323954316 treat image : temp/1757425349_1338710_1382780655_64bc91bbbed61f94cfe7b015430b35ce.jpg resize: (1080, 1632) 1382780655 -5.201699033547792 treat image : temp/1757425349_1338710_1382780648_0838819462df5bff08e449e2fead3622.jpg resize: (1080, 1632) 1382780648 -5.434597701078693 treat image : temp/1757425349_1338710_1382780646_ade3086ba708b24ba573b87d4f61bb1f.jpg resize: (1080, 1632) 1382780646 -6.0861338519776815 treat image : temp/1757425349_1338710_1382780643_fd4d7070f5624bd6cbd87038d499bd14.jpg resize: (1080, 1632) 1382780643 -4.13990856230512 treat image : temp/1757425349_1338710_1382780639_4eafe15e143d2ee3707a1764759fcc53.jpg resize: (1080, 1632) 1382780639 -5.7326898550454795 treat image : temp/1757425349_1338710_1382780635_6339a25218a1829aedd386cf3bca1c40.jpg resize: (1080, 1632) 1382780635 -5.024726025880806 treat image : temp/1757425349_1338710_1382780627_2008c48ed9b6ced65e571223ac8e08e9.jpg resize: (1080, 1632) 1382780627 -4.511885946585618 treat image : temp/1757425349_1338710_1382780623_dcf4a89b658c97b40a014671fda3ee76.jpg resize: (1080, 1632) 1382780623 -2.641340348997681 treat image : temp/1757425349_1338710_1382780622_99fa57ffa5375bc6797b857e4b8497a5.jpg resize: (1080, 1632) 1382780622 -2.641340348997681 treat image : temp/1757425349_1338710_1382780621_9dc28620684522eace7e2724be527db1.jpg resize: (1080, 1632) 1382780621 -3.456583331705601 treat image : temp/1757425349_1338710_1382780620_0376cf581f3170300ef1c62e265c7de4.jpg resize: (1080, 1632) 1382780620 -3.456583331705601 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.03233933448791504 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.03229570388793945 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03215742111206055 save missing photos in datou_result : time spend for datou_step_exec : 14.363624572753906 time spend to save output : 0.10957765579223633 total time spend for step 1 : 14.473202228546143 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.58user 3.16system 0:21.78elapsed 76%CPU (0avgtext+0avgdata 139956maxresident)k 2464inputs+9368outputs (16major+260401minor)pagefaults 0swaps