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 : 585551 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 : 9407>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/585551/ 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.3541476726531982 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 Fri Jul 11 22:52: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/1752267147_585551_1371710152_b77e0fa5f5f7b6c013391c1dbb3ded0f.jpg resize: (1080, 1632) 1371710152 -5.401051582745806 treat image : temp/1752267147_585551_1371710112_ac594fe827ca08e49aea456e7f2ddfa3.jpg resize: (1080, 1632) 1371710112 -5.40677388621273 treat image : temp/1752267147_585551_1371710080_eb6b0466100ad6feec3ba7ab4b46134b.jpg resize: (1080, 1632) 1371710080 -5.41210182678892 treat image : temp/1752267147_585551_1371710040_f400f867a53940b984cb8f4b15eebacc.jpg resize: (1080, 1632) 1371710040 -5.413421979087698 treat image : temp/1752267147_585551_1371709990_87c8f4ea3de69d79429567bb0483add7.jpg resize: (1080, 1632) 1371709990 -5.415060227336254 treat image : temp/1752267147_585551_1371709942_e15cbd353a1d2ce1791d474b2ce91f8d.jpg resize: (1080, 1632) 1371709942 -5.4196212022192904 treat image : temp/1752267147_585551_1371709796_d9801336528d425b0d5ed3d57fdceb1c.jpg resize: (1080, 1632) 1371709796 -3.103664963065553 treat image : temp/1752267147_585551_1371709759_6acbcf34cb74f4b2aae14db70a110640.jpg resize: (1080, 1632) 1371709759 -4.520209920302516 treat image : temp/1752267147_585551_1371709706_26b32552a2e75444c3e2f20aa6573a0f.jpg resize: (1080, 1632) 1371709706 -3.5797351174418646 treat image : temp/1752267147_585551_1371709664_46dc3c5b9e49c1ed28d9e2b6d13645ff.jpg resize: (1080, 1632) 1371709664 -5.540738319686748 treat image : temp/1752267147_585551_1371709637_40df798453d62e6fa9f38184bba7fc81.jpg resize: (1080, 1632) 1371709637 -4.601116816582129 treat image : temp/1752267147_585551_1371709606_fe262373fba1b639beb0aca0e7f54830.jpg resize: (1080, 1632) 1371709606 -2.060116673445078 treat image : temp/1752267147_585551_1371708038_918a31343642a4464f2de88782546941.jpg resize: (1080, 1632) 1371708038 -5.322460732496192 treat image : temp/1752267147_585551_1371707988_fab8e053a246c10dede3cd3d23c08ab2.jpg resize: (1080, 1632) 1371707988 -5.348040216509557 treat image : temp/1752267147_585551_1371707949_e4ee24dff4bf5929d3eb721c16a3f0ad.jpg resize: (1080, 1632) 1371707949 -5.343493830314157 treat image : temp/1752267147_585551_1371707904_d497347237556625733ef33353c4fdcf.jpg resize: (1080, 1632) 1371707904 -5.353626893219699 treat image : temp/1752267147_585551_1371707744_5696c5b62e1f109c48ca76f6c1eedfe2.jpg resize: (1080, 1632) 1371707744 -4.768557558549883 treat image : temp/1752267147_585551_1371707716_609ce9daa43cf0df2f75c131039e4065.jpg resize: (1080, 1632) 1371707716 -3.6329762646784447 treat image : temp/1752267147_585551_1371707685_f0c5ccad737e4fcdd830d63ebd54749c.jpg resize: (1080, 1632) 1371707685 -5.127800684210745 treat image : temp/1752267147_585551_1371707639_531dbceb3548a14af7b82f8efc2b6bb4.jpg resize: (1080, 1632) 1371707639 -3.4974318922491947 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.012745141983032227 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.014023065567016602 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02205944061279297 save missing photos in datou_result : time spend for datou_step_exec : 15.142963409423828 time spend to save output : 0.05368399620056152 total time spend for step 1 : 15.19664740562439 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.30user 3.48system 0:20.16elapsed 88%CPU (0avgtext+0avgdata 139316maxresident)k 96inputs+9520outputs (18major+236960minor)pagefaults 0swaps