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 : 118986 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 : 8350>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/118986/ 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.9316821098327637 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 16:17:30 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/1751725048_118986_1370805432_6bfd8130ff2fa72bb8db7836dc5ce28b.jpg resize: (1080, 1632) 1370805432 -3.7407206415552845 treat image : temp/1751725048_118986_1370805430_734baa3408a004eafc798076a0714c01.jpg resize: (1080, 1632) 1370805430 -5.748335437554509 treat image : temp/1751725048_118986_1370805428_8b91c5745e5743883e4f379fc125e8cc.jpg resize: (1080, 1632) 1370805428 -4.989358873738519 treat image : temp/1751725048_118986_1370805421_8720622d1f96748345e4ecdcb05f427e.jpg resize: (1080, 1632) 1370805421 -3.8751625827717455 treat image : temp/1751725048_118986_1370805418_ae980b6478e629cee04da4d2524f2823.jpg resize: (1080, 1632) 1370805418 -4.521244379206786 treat image : temp/1751725048_118986_1370805414_0679b0b9d060c795aa6368a38eca86fb.jpg resize: (1080, 1632) 1370805414 -4.741719780189373 treat image : temp/1751725048_118986_1370805409_fcde27e6a4971c297e2ab2fef2d9f923.jpg resize: (1080, 1632) 1370805409 -2.851881018131208 treat image : temp/1751725048_118986_1370805407_545281f2b524a1bb108878380efaaca3.jpg resize: (1080, 1632) 1370805407 -1.975894536608875 treat image : temp/1751725048_118986_1370805406_73d65504cb7bb345b92f6f370010a3ab.jpg resize: (1080, 1632) 1370805406 -2.95604027079262 treat image : temp/1751725048_118986_1370805405_bbb42c2ab43632b887ad2c05acbeac3e.jpg resize: (1080, 1632) 1370805405 -3.0042553201310285 treat image : temp/1751725048_118986_1370805403_c9e94f5ed8ec66a9f2bff594e436523b.jpg resize: (1080, 1632) 1370805403 -2.528639207819788 treat image : temp/1751725048_118986_1370805399_2eb784735b77982cfa27bec3fff9a5b3.jpg resize: (1080, 1632) 1370805399 -2.527514691189632 treat image : temp/1751725048_118986_1370805388_245c843de1106f97b6573d9165fc629c.jpg resize: (1080, 1632) 1370805388 -4.629219398117398 treat image : temp/1751725048_118986_1370805386_09ddcf4dbc9530213373f513e56b1d5d.jpg resize: (1080, 1632) 1370805386 -4.36330003964273 treat image : temp/1751725048_118986_1370805384_244e01493de44279dc5f1b7ee5975644.jpg resize: (1080, 1632) 1370805384 -4.315106568634156 treat image : temp/1751725048_118986_1370805381_c061970ac7f1ca02af9aeffc7d0ef55e.jpg resize: (1080, 1632) 1370805381 -5.7277117714290995 treat image : temp/1751725048_118986_1370805378_e04cfc72d6ca21a5ccc40e19539e0d85.jpg resize: (1080, 1632) 1370805378 -5.320148596424629 treat image : temp/1751725048_118986_1370805376_cb04d968c8b1c3f8785a7b7d566ec2ac.jpg resize: (1080, 1632) 1370805376 -5.957261215697206 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.014035463333129883 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.01752471923828125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.017506122589111328 save missing photos in datou_result : time spend for datou_step_exec : 13.020448923110962 time spend to save output : 0.05335664749145508 total time spend for step 1 : 13.073805570602417 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.18user 3.35system 0:17.43elapsed 89%CPU (0avgtext+0avgdata 137988maxresident)k 0inputs+8208outputs (4major+235840minor)pagefaults 0swaps