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 : 2386172 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 : 4634>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/2386172/ 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.738525867462158 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 03:27:31 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/1751506049_2386172_1370253256_9c01d5b342b00b68e45c4605841aaa1f.jpg resize: (1080, 1632) 1370253256 -6.829329484144016 treat image : temp/1751506049_2386172_1370253254_ea4e27d61aeeab43497663263b08f5ef.jpg resize: (1080, 1632) 1370253254 -6.4898887857853325 treat image : temp/1751506049_2386172_1370253245_1d42597e8e280b6b4b69e0cf9f6a23ec.jpg resize: (1080, 1632) 1370253245 -7.006929090713384 treat image : temp/1751506049_2386172_1370253235_67def3249c530767963f3aa2fa7755c2.jpg resize: (1080, 1632) 1370253235 -6.998134634514838 treat image : temp/1751506049_2386172_1370253232_4b8101caaf41b12ca3b25396a3b949b3.jpg resize: (1080, 1632) 1370253232 -6.200128575192153 treat image : temp/1751506049_2386172_1370253226_96ff3a94f30f0bd144e8893cf54d28d0.jpg resize: (1080, 1632) 1370253226 -5.592789773614351 treat image : temp/1751506049_2386172_1370244362_a2e294a0983ad5a8fcc137f5442c01cd.jpg resize: (1080, 1632) 1370244362 -6.815877277635805 treat image : temp/1751506049_2386172_1370244329_2afb06e31e6a3865608b938a92d59167.jpg resize: (1080, 1632) 1370244329 -4.706884732433288 treat image : temp/1751506049_2386172_1370243494_8dbe196edf885462a603cab65a3ad456.jpg resize: (1080, 1632) 1370243494 -6.091207740529484 treat image : temp/1751506049_2386172_1370243492_8d654659f025d92198a1e595ee4e882e.jpg resize: (1080, 1632) 1370243492 -5.791850152943278 treat image : temp/1751506049_2386172_1370243491_b56c056354728be78154d91eb9ac69cc.jpg resize: (1080, 1632) 1370243491 -1.7101200342389826 treat image : temp/1751506049_2386172_1370243489_077c3a010e841e38ee9d17feadf93c06.jpg resize: (1080, 1632) 1370243489 -3.0609785351579606 treat image : temp/1751506049_2386172_1370243488_de4f01b0bcdf1c6b7d55b4f90cf352e1.jpg resize: (1080, 1632) 1370243488 -3.0823160948085535 treat image : temp/1751506049_2386172_1370243487_f2f9fd8454033e07966c64b3087cccf6.jpg resize: (1080, 1632) 1370243487 -2.872045958807627 treat image : temp/1751506049_2386172_1370242623_7314d504f7e4533f93dfcf9fad69eb2c.jpg resize: (1080, 1632) 1370242623 -1.622233148072613 treat image : temp/1751506049_2386172_1370242589_3e07ce192d783a213524db2b80404d3a.jpg resize: (1080, 1632) 1370242589 -1.6712995503062127 treat image : temp/1751506049_2386172_1370242585_82999e0aa2ed84028d9ec2892d64ad66.jpg resize: (1080, 1632) 1370242585 -5.572071934409875 treat image : temp/1751506049_2386172_1370242570_df3cf61fa7ecedfc6d31687fee224347.jpg resize: (1080, 1632) 1370242570 -5.597086958290598 treat image : temp/1751506049_2386172_1370242544_d1bb6d72d44ec2a1100a766b43e28810.jpg resize: (1080, 1632) 1370242544 -5.529097317329669 treat image : temp/1751506049_2386172_1370242519_386055b6cb65be6262fef083e88849ea.jpg resize: (1080, 1632) 1370242519 -5.18298239725227 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.01179647445678711 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.011954307556152344 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014979362487792969 save missing photos in datou_result : time spend for datou_step_exec : 14.487534999847412 time spend to save output : 0.042952537536621094 total time spend for step 1 : 14.530487537384033 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.51user 3.36system 0:20.18elapsed 83%CPU (0avgtext+0avgdata 137772maxresident)k 144inputs+10528outputs (1major+258012minor)pagefaults 0swaps