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 : 3447523 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 : 1680>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3447523/ 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.311647653579712 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 Jul 9 16:17: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/1752070649_3447523_1371408926_e78864aa48028f738854dc8af682c62c.jpg resize: (1080, 1632) 1371408926 -4.866245411747105 treat image : temp/1752070649_3447523_1371408901_ff7b0746f206004b52165226cfcfb06d.jpg resize: (1080, 1632) 1371408901 -4.715198680120432 treat image : temp/1752070649_3447523_1371408875_e76cf75a35a3d0f57e1d9f2e27140ae9.jpg resize: (1080, 1632) 1371408875 -5.323939587891656 treat image : temp/1752070649_3447523_1371408845_086402584a1d902bbf689e37a8c81ec6.jpg resize: (1080, 1632) 1371408845 -5.423881339171657 treat image : temp/1752070649_3447523_1371408812_d6942029e91206b181c3679f6a293473.jpg resize: (1080, 1632) 1371408812 -4.373720560496478 treat image : temp/1752070649_3447523_1371408785_eefa48dc685b82dc086e84573713bba5.jpg resize: (1080, 1632) 1371408785 -4.61381920469429 treat image : temp/1752070649_3447523_1371408690_60c9bcb2014bad9cbe9b41850ebb9453.jpg resize: (1080, 1632) 1371408690 -4.436563246127941 treat image : temp/1752070649_3447523_1371408660_1bd39403547a2f753bf1515776a6bec0.jpg resize: (1080, 1632) 1371408660 -4.882468181119724 treat image : temp/1752070649_3447523_1371408633_a7544e3c9f7d4e1cf20aa5cbb79971dd.jpg resize: (1080, 1632) 1371408633 -4.386804124588271 treat image : temp/1752070649_3447523_1371408597_04d684f514633c779c3d9335a31d382c.jpg resize: (1080, 1632) 1371408597 -4.885380297112873 treat image : temp/1752070649_3447523_1371408572_76d2a50ccccecaba3f5b0f52c809c962.jpg resize: (1080, 1632) 1371408572 -4.882569414320308 treat image : temp/1752070649_3447523_1371408545_9fe3a00b7f34b66a24ab20ea71a4d6d8.jpg resize: (1080, 1632) 1371408545 -4.387033807381416 treat image : temp/1752070649_3447523_1371408512_c505ffe5cec909ea569a4ecfa5f38be8.jpg resize: (1080, 1632) 1371408512 -1.699517381423493 treat image : temp/1752070649_3447523_1371408511_7956e257e19733b8329f1b29ebec4e3b.jpg resize: (1080, 1632) 1371408511 -1.6128754961134135 treat image : temp/1752070649_3447523_1371408508_f80bd5ba336b99341cb82f50c7c71436.jpg resize: (1080, 1632) 1371408508 -1.600251076286448 treat image : temp/1752070649_3447523_1371408503_cd805e1effdd27d8da3b623ae6a4817f.jpg resize: (1080, 1632) 1371408503 -3.09738867834286 treat image : temp/1752070649_3447523_1371408500_9b536db16fff6c53aec32db23976fe68.jpg resize: (1080, 1632) 1371408500 -3.081412750940954 treat image : temp/1752070649_3447523_1371408491_d496921708c9c97ca0386f3d6d0cc5f3.jpg resize: (1080, 1632) 1371408491 -2.6848021606379384 treat image : temp/1752070649_3447523_1371408479_138e1985a79ff83142f2d161b010e0b1.jpg resize: (1080, 1632) 1371408479 -4.5778102220028 treat image : temp/1752070649_3447523_1371408473_5d01e4541d42e4490559ca731b271cc0.jpg resize: (1080, 1632) 1371408473 -4.929507503639315 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.01369786262512207 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.01278996467590332 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016044139862060547 save missing photos in datou_result : time spend for datou_step_exec : 17.448162078857422 time spend to save output : 0.04725909233093262 total time spend for step 1 : 17.495421171188354 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.78user 5.08system 0:23.67elapsed 83%CPU (0avgtext+0avgdata 139016maxresident)k 144inputs+8432outputs (2major+258874minor)pagefaults 0swaps