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 : 486093 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 : 8824>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/486093/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.986466407775879 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 Sat Jul 5 20:07:28 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/1751738846_486093_1370827051_6fd245bd52c1b2f933e522404b7faee7.jpg resize: (1080, 1632) 1370827051 -5.3900886210340655 treat image : temp/1751738846_486093_1370827049_fa111de212acf2396c185c8f013acd50.jpg resize: (1080, 1632) 1370827049 -5.4003163864416175 treat image : temp/1751738846_486093_1370827047_e7d08a9c6266dd3b8c6278bcaca94538.jpg resize: (1080, 1632) 1370827047 -5.385195298970174 treat image : temp/1751738846_486093_1370827046_e8a692482defeac422a9ba2c302478a5.jpg resize: (1080, 1632) 1370827046 -5.389766622903584 treat image : temp/1751738846_486093_1370827042_1d3185539e4661522e8c26f48e958fa4.jpg resize: (1080, 1632) 1370827042 -5.415662228432273 treat image : temp/1751738846_486093_1370827034_02bc36cfc909171487b9284ff76130e2.jpg resize: (1080, 1632) 1370827034 -5.416237960196159 treat image : temp/1751738846_486093_1370827026_f80ff5ae05cc3379f046e717364e578a.jpg resize: (1080, 1632) 1370827026 -5.411674408732485 treat image : temp/1751738846_486093_1370827023_00b0b75855bc9bc79f7b7b1b19499604.jpg resize: (1080, 1632) 1370827023 -5.386295071464024 treat image : temp/1751738846_486093_1370827021_08ee950228c7cb6d61be4fe5dfc268a0.jpg resize: (1080, 1632) 1370827021 -5.349680933475632 treat image : temp/1751738846_486093_1370827020_e2d73cd1f6e143936c0e15219bc89fb6.jpg resize: (1080, 1632) 1370827020 -5.3940050249028015 treat image : temp/1751738846_486093_1370827019_c5191eb4e3985c2eb896212f605233c6.jpg resize: (1080, 1632) 1370827019 -5.38506294429407 treat image : temp/1751738846_486093_1370827018_94eadec12d31d06999bcb411df3ccdd5.jpg resize: (1080, 1632) 1370827018 -5.392031762344344 treat image : temp/1751738846_486093_1370827012_57e549d785886d5b14d50f45336c7161.jpg resize: (1080, 1632) 1370827012 -5.411731412949926 treat image : temp/1751738846_486093_1370827009_7831b73efbc291194103e3a2efe37566.jpg resize: (1080, 1632) 1370827009 -5.387081812074029 treat image : temp/1751738846_486093_1370827006_1e604d92a5f0c40536d7c6fdd90452fd.jpg resize: (1080, 1632) 1370827006 -5.358467290751506 treat image : temp/1751738846_486093_1370827004_c0107cbec115bef97709da5651ddb65b.jpg resize: (1080, 1632) 1370827004 -5.341526261003044 treat image : temp/1751738846_486093_1370827002_315479c478ca4cbdb73cb38c7ea11771.jpg resize: (1080, 1632) 1370827002 -5.382454716170053 treat image : temp/1751738846_486093_1370827000_d611518905f2d49670da602ffc9bbab0.jpg resize: (1080, 1632) 1370827000 -5.374482475963831 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 : 18 time used for this insertion : 0.012731075286865234 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012004852294921875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015137434005737305 save missing photos in datou_result : time spend for datou_step_exec : 14.466097354888916 time spend to save output : 0.044319868087768555 total time spend for step 1 : 14.510417222976685 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.48user 4.59system 0:18.34elapsed 93%CPU (0avgtext+0avgdata 137856maxresident)k 0inputs+9640outputs (6major+251989minor)pagefaults 0swaps