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 : 2571019 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 : 4705>100 please execute split_portfolio.py -i 24449702 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3218216'] with mtr_portfolio_ids : ['24449702'] and first list_photo_ids : [] new path : /proc/2571019/ 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 : 3.6178228855133057 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 3 05:37: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/1751513850_2571019_1370270397_84cd06e0d3e59cc23e93f98ddfb8f99e.jpg resize: (1080, 1632) 1370270397 -4.722969711430783 treat image : temp/1751513850_2571019_1370270364_dac704a9001c4c613406bf9ea4c55185.jpg resize: (1080, 1632) 1370270364 -4.707247266187349 treat image : temp/1751513850_2571019_1370270328_e4533cec586936f637cdff0947ca5973.jpg resize: (1080, 1632) 1370270328 -5.145417118802742 treat image : temp/1751513850_2571019_1370270276_f15b7641c2a239947bc400b3a4b12edc.jpg resize: (1080, 1632) 1370270276 -5.140234582993618 treat image : temp/1751513850_2571019_1370270214_d049efc4dbf1ea3bc589830156bf8448.jpg resize: (1080, 1632) 1370270214 -5.131525436128047 treat image : temp/1751513850_2571019_1370268911_9e90dadfe366d2848a6aa21bcde42feb.jpg resize: (1080, 1632) 1370268911 -5.156010921823233 treat image : temp/1751513850_2571019_1370268875_0e8ef983b8c71c5ca83ef7b7a6b24a4a.jpg resize: (1080, 1632) 1370268875 -4.782603387059063 treat image : temp/1751513850_2571019_1370268817_cf23bd09815d1dbc3ad0aef0de1f7fe4.jpg resize: (1080, 1632) 1370268817 -5.335291675496519 treat image : temp/1751513850_2571019_1370268773_82ce56f08a6b5b007d6f7051217f3e9d.jpg resize: (1080, 1632) 1370268773 -5.327538150606828 treat image : temp/1751513850_2571019_1370268734_749545466d6a90701e683a41126e252a.jpg resize: (1080, 1632) 1370268734 -5.2680382355654025 treat image : temp/1751513850_2571019_1370268705_e84b93c8dd37e23afa7dc9e3a5b757a5.jpg resize: (1080, 1632) 1370268705 -5.28316642280087 treat image : temp/1751513850_2571019_1370268018_2b233f17aa18f28eab854f543aff2695.jpg resize: (1080, 1632) 1370268018 -4.6410848526070305 treat image : temp/1751513850_2571019_1370268016_167c39c5201b945c8170cbc9b1e29e3c.jpg resize: (1080, 1632) 1370268016 -5.338991735100932 treat image : temp/1751513850_2571019_1370267977_4f990a1712454673bd147fe31420e03a.jpg resize: (1080, 1632) 1370267977 -5.329114405267916 treat image : temp/1751513850_2571019_1370267944_1dea603fa60ff0b5da04ef92669457df.jpg resize: (1080, 1632) 1370267944 -5.335390325920157 treat image : temp/1751513850_2571019_1370267892_622263c30635dc39318620d1b74add29.jpg resize: (1080, 1632) 1370267892 -5.330900245989143 treat image : temp/1751513850_2571019_1370267801_21cb99e6b3ced838a3bcb052e4779e79.jpg resize: (1080, 1632) 1370267801 -5.327001945403664 treat image : temp/1751513850_2571019_1370259045_19e04fb4b463ae38d326f9fd946cc86d.jpg resize: (1080, 1632) 1370259045 -3.162141408426204 treat image : temp/1751513850_2571019_1370259004_2a78ca9848a6c57861c480c6981d0544.jpg resize: (1080, 1632) 1370259004 -3.15866230663056 treat image : temp/1751513850_2571019_1370258133_e62a72e1a374670f607852d6625ad34e.jpg resize: (1080, 1632) 1370258133 -3.1285786852034723 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.012974262237548828 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.17184090614318848 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.15867185592651367 save missing photos in datou_result : time spend for datou_step_exec : 18.360445022583008 time spend to save output : 0.3483903408050537 total time spend for step 1 : 18.70883536338806 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.70user 6.39system 0:25.59elapsed 82%CPU (0avgtext+0avgdata 137992maxresident)k 1616inputs+9320outputs (30major+251849minor)pagefaults 0swaps