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 : 1519732 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 updating current state to 1 we have a portfolio with more photos than limit : 2827>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1519732/ 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.7734429836273193 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 Sep 4 18:42: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/1757004148_1519732_1381469760_3b49a18c4811036879f77c87c49c839b_73995378.jpg resize: (1080, 1632) 1381469760 -3.41862339177101 treat image : temp/1757004148_1519732_1381469759_24c00ec6c8a4355d66afb1c74e87ec59_56893676.jpg resize: (1080, 1632) 1381469759 -3.177997016028686 treat image : temp/1757004148_1519732_1381469757_18721de14e58aa4fe4cbeaceadae314e_86269886.jpg resize: (1080, 1632) 1381469757 -5.377179621094514 treat image : temp/1757004148_1519732_1381469755_dc20b81b62b408823952ca1d9764322e_51520439.jpg resize: (1080, 1632) 1381469755 -5.284603258411539 treat image : temp/1757004148_1519732_1381469754_3bab4522bf3976b9ebd80f2cf5e6b7ab_521953.jpg resize: (1080, 1632) 1381469754 -5.449970370739937 treat image : temp/1757004148_1519732_1381469753_bc78f0077212811a5853cf7340cda06b_72048692.jpg resize: (1080, 1632) 1381469753 -3.6692750072617275 treat image : temp/1757004148_1519732_1381446522_1a67527adf42b7fc65d88c9b52712b3f_61911705.jpg resize: (1080, 1632) 1381446522 -4.53363488527642 treat image : temp/1757004148_1519732_1381446521_09d003ad215f1c06449b8058aec92a24_35726325.jpg resize: (1080, 1632) 1381446521 -4.569012353696545 treat image : temp/1757004148_1519732_1381446520_09d003ad215f1c06449b8058aec92a24_35726325.jpg resize: (1080, 1632) 1381446520 -4.569012353696545 treat image : temp/1757004148_1519732_1381446519_58e0e697ec43b89d2f333ad639ad939f_91933446.jpg resize: (1080, 1632) 1381446519 -4.646730968595537 treat image : temp/1757004148_1519732_1381446518_58e0e697ec43b89d2f333ad639ad939f_91933446.jpg resize: (1080, 1632) 1381446518 -4.646730968595537 treat image : temp/1757004148_1519732_1381446515_657f12d8a08f86d7034121a75dd2b623_13069826.jpg resize: (1080, 1632) 1381446515 -5.032889887988646 treat image : temp/1757004148_1519732_1381446514_0a86b54f7a9cf5181f3fd4e42444654b_75708832.jpg resize: (1080, 1632) 1381446514 -2.662002866975062 treat image : temp/1757004148_1519732_1381446512_4114ecec5d3036a822ab5f6a0ed9089e_92719097.jpg resize: (1080, 1632) 1381446512 -4.227251499563987 treat image : temp/1757004148_1519732_1381446509_5e4927466ccf592a7bc64d37a2694f4c_94073915.jpg resize: (1080, 1632) 1381446509 -1.3246799762640296 treat image : temp/1757004148_1519732_1381446505_9e4faaf542834f1d8bd7ab905f5792af_91772072.jpg resize: (1080, 1632) 1381446505 -2.064504854838701 treat image : temp/1757004148_1519732_1381446502_4bfd888105451b5e26d27391811475eb_98384791.jpg resize: (1080, 1632) 1381446502 -3.983220654356997 treat image : temp/1757004148_1519732_1381446491_622a8d20a67646634abb9bc38dcf8b37_85889225.jpg resize: (1080, 1632) 1381446491 -4.387705683243415 treat image : temp/1757004148_1519732_1381446490_9e5e04cdce76b76c7625a2d480999e2f_812759.jpg resize: (1080, 1632) 1381446490 -3.8385670545285056 treat image : temp/1757004148_1519732_1381446489_1fbb81dd910a34347e502b8cfe8a508b_80560161.jpg resize: (1080, 1632) 1381446489 -5.549938704857863 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.016629457473754883 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.020014524459838867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01943182945251465 save missing photos in datou_result : time spend for datou_step_exec : 16.532139778137207 time spend to save output : 0.06567597389221191 total time spend for step 1 : 16.59781575202942 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.53user 4.14system 0:21.63elapsed 86%CPU (0avgtext+0avgdata 139948maxresident)k 4632inputs+8648outputs (24major+251811minor)pagefaults 0swaps