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 : 3572729 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 : 2418>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/3572729/ 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.542250394821167 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 17:27:28 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/1752074846_3572729_1371418069_fb9fac8d02d24adb374e259dc0063429.jpg resize: (1080, 1632) 1371418069 -4.876415945354865 treat image : temp/1752074846_3572729_1371418067_60da9a211797e31f866ab80360b6643d.jpg resize: (1080, 1632) 1371418067 -4.097479806004786 treat image : temp/1752074846_3572729_1371418065_f80ff17c6ab8498b44949f2546e37cf6.jpg resize: (1080, 1632) 1371418065 -4.734370730573838 treat image : temp/1752074846_3572729_1371418062_df01657795f5099ced659b86b2ca8e14.jpg resize: (1080, 1632) 1371418062 -4.7494554828428015 treat image : temp/1752074846_3572729_1371418052_a34ba733832096c277c58d26869ad850.jpg resize: (1080, 1632) 1371418052 -2.305831400314287 treat image : temp/1752074846_3572729_1371418050_bf9a8ed4205919a7a20dd595c2cde26a.jpg resize: (1080, 1632) 1371418050 -1.8677461627240284 treat image : temp/1752074846_3572729_1371418048_1109613955be8ae4ad86732beda41280.jpg resize: (1080, 1632) 1371418048 -1.6800006685417785 treat image : temp/1752074846_3572729_1371418046_5dc4ff0444e13bbcc78a13dda831f7a6.jpg resize: (1080, 1632) 1371418046 -2.7662062764678073 treat image : temp/1752074846_3572729_1371418044_03c905f130f0b5180fa72a3d383c6244.jpg resize: (1080, 1632) 1371418044 -5.128024283832011 treat image : temp/1752074846_3572729_1371418042_f3f451d9393e8191e67a7f224834be6b.jpg resize: (1080, 1632) 1371418042 -5.340083779545168 treat image : temp/1752074846_3572729_1371417964_cbeb3e5a6b710520d5a295003652c3f6.jpg resize: (1080, 1632) 1371417964 -4.646766606866864 treat image : temp/1752074846_3572729_1371417963_90eaa62790c53cd89c35236b95dc47cf.jpg resize: (1080, 1632) 1371417963 -4.646766606866864 treat image : temp/1752074846_3572729_1371417959_0dadbc56867900a7063d8bb6f63fac5c.jpg resize: (1080, 1632) 1371417959 -4.993903800288494 treat image : temp/1752074846_3572729_1371417958_5bda6994faa5abdb617e499a4cb14667.jpg resize: (1080, 1632) 1371417958 -4.993903800288494 treat image : temp/1752074846_3572729_1371417733_d1097e7631dae6c69e84c3e1f7d4eb62.jpg resize: (1080, 1632) 1371417733 -1.4703010920254456 treat image : temp/1752074846_3572729_1371417732_b30e9b252b2595dbb31b8fbfb52355b5.jpg resize: (1080, 1632) 1371417732 -2.318402653102278 treat image : temp/1752074846_3572729_1371417727_e7a5cb5d31d3fdbad8f559fd7352d62a.jpg resize: (1080, 1632) 1371417727 -3.292738778061325 treat image : temp/1752074846_3572729_1371417725_c845c339bee9e922cb1e88888228e330.jpg resize: (1080, 1632) 1371417725 -4.456258467756781 treat image : temp/1752074846_3572729_1371417721_650e9d32b7de9eac049978225b17e335.jpg resize: (1080, 1632) 1371417721 -3.6942934634855114 treat image : temp/1752074846_3572729_1371417718_618cdbba69639284738596cc8aea7b7a.jpg resize: (1080, 1632) 1371417718 -4.819055437778035 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.014873981475830078 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.014798402786254883 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016874074935913086 save missing photos in datou_result : time spend for datou_step_exec : 13.234718322753906 time spend to save output : 0.0515439510345459 total time spend for step 1 : 13.286262273788452 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.27user 1.83system 0:17.58elapsed 91%CPU (0avgtext+0avgdata 140732maxresident)k 120inputs+8216outputs (4major+120768minor)pagefaults 0swaps