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 : 3848557 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 : 2745>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3848557/ 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.823513984680176 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 Wed May 21 18: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/1747846349_3848557_1360110726_dd38e011bc0c1ad39cd6ba92cc7d1064.jpg resize: (1080, 1632) 1360110726 -6.040970861498106 treat image : temp/1747846349_3848557_1360045399_febe07084adbffbba567ff4f5d2e48bc.jpg resize: (1080, 1632) 1360045399 -6.178536229194801 treat image : temp/1747846349_3848557_1360045376_91f5a19ef8d032451842e3e576c79d62.jpg resize: (1080, 1632) 1360045376 -1.2207215683374237 treat image : temp/1747846349_3848557_1360045371_f678f08a73266e22209cf4458d175dbe.jpg resize: (1080, 1632) 1360045371 -5.0878800993193805 treat image : temp/1747846349_3848557_1360045368_47f2674803311084690a6d169108ad8a.jpg resize: (1080, 1632) 1360045368 -3.9133744028392576 treat image : temp/1747846349_3848557_1360045364_1a6d219bd81a62fda053916e3f40937a.jpg resize: (1080, 1632) 1360045364 -5.328432106861652 treat image : temp/1747846349_3848557_1360045362_54e8997cae34a08235aef79332c8e429.jpg resize: (1080, 1632) 1360045362 -5.315248326750681 treat image : temp/1747846349_3848557_1360045354_05912753f8d8bfc777ec4d60deb5829e.jpg resize: (1080, 1632) 1360045354 -2.9487519049249187 treat image : temp/1747846349_3848557_1360045264_73777a825abf47afc8a12fe32ce06b55.jpg resize: (1080, 1632) 1360045264 -5.412590938400806 treat image : temp/1747846349_3848557_1360045236_0ae49726a8c467e485326863c801fff3.jpg resize: (1080, 1632) 1360045236 -4.155912755406361 treat image : temp/1747846349_3848557_1360045223_13289ed9fc17e55f93d07b988e8562ea.jpg resize: (1080, 1632) 1360045223 -5.218588197359187 treat image : temp/1747846349_3848557_1360045220_b8af0d7f6cdadc43c3a1dc687e05f219.jpg resize: (1080, 1632) 1360045220 -0.8067876866282362 treat image : temp/1747846349_3848557_1360045120_86bc277576f4baeddb5d7ad8d75ebe21.jpg resize: (1080, 1632) 1360045120 -2.9410501770373148 treat image : temp/1747846349_3848557_1360045117_56e46da39dd6a3104c328500304f31d1.jpg resize: (1080, 1632) 1360045117 -5.901710087974119 treat image : temp/1747846349_3848557_1360045113_220e0e7758e9b59555704a09f56be5e7.jpg resize: (1080, 1632) 1360045113 -5.446107825735873 treat image : temp/1747846349_3848557_1360045109_1e9b6be412f46ecf1fc32969b119494f.jpg resize: (1080, 1632) 1360045109 -5.757225676162349 treat image : temp/1747846349_3848557_1360045106_71e6bc36e2998b2321d779c49fd2b77e.jpg resize: (1080, 1632) 1360045106 -5.4313952097188904 treat image : temp/1747846349_3848557_1360045103_b1cd89b5d6042c8a1ae74b78766ae424.jpg resize: (1080, 1632) 1360045103 -5.39120500696317 treat image : temp/1747846349_3848557_1360044866_4beec95ce1b275abc2aa6268134f92bc.jpg resize: (1080, 1632) 1360044866 -1.6321933055299709 treat image : temp/1747846349_3848557_1360044838_d4bc31947272c45edcc3912a227a5887.jpg resize: (1080, 1632) 1360044838 -1.9172346246447605 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.01331329345703125 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.012407302856445312 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014739274978637695 save missing photos in datou_result : time spend for datou_step_exec : 20.364726066589355 time spend to save output : 0.045287132263183594 total time spend for step 1 : 20.41001319885254 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 8.07system 0:26.63elapsed 85%CPU (0avgtext+0avgdata 138180maxresident)k 2832inputs+9616outputs (21major+256252minor)pagefaults 0swaps