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 : 1703568 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 : 10745>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/1703568/ 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.425100326538086 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 12 06:27:29 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/1752294447_1703568_1371800409_347a7105ae513810acc9cdc9606f0708.jpg resize: (1080, 1632) 1371800409 -5.5576161409433595 treat image : temp/1752294447_1703568_1371800405_66665a055603a6af7c32a2cb7dbf3717.jpg resize: (1080, 1632) 1371800405 -5.564572292311489 treat image : temp/1752294447_1703568_1371800400_a3eea99755e242e723465d9138fca81e.jpg resize: (1080, 1632) 1371800400 -5.566910306195305 treat image : temp/1752294447_1703568_1371800398_25280b685bfd079143fa0c3d0314f6a8.jpg resize: (1080, 1632) 1371800398 -5.568621385484974 treat image : temp/1752294447_1703568_1371800393_29a09d87f142a2949bf9524763aaa0c7.jpg resize: (1080, 1632) 1371800393 -5.5715016130003665 treat image : temp/1752294447_1703568_1371800389_fdfbb987886ef160e85082531422835b.jpg resize: (1080, 1632) 1371800389 -5.559559713162112 treat image : temp/1752294447_1703568_1371800309_a8d1505d9359c2d0d70b1e6f0b8547c0.jpg resize: (1080, 1632) 1371800309 -5.545548724865072 treat image : temp/1752294447_1703568_1371800304_944254e12ade05e260af76858d1ca3b9.jpg resize: (1080, 1632) 1371800304 -5.31961411166572 treat image : temp/1752294447_1703568_1371800301_303f66283e0803b10321dddb2d213e88.jpg resize: (1080, 1632) 1371800301 -5.315051778433754 treat image : temp/1752294447_1703568_1371800299_12a529014ee8bc2d7471b6a9c58ab7b3.jpg resize: (1080, 1632) 1371800299 -5.310749790884171 treat image : temp/1752294447_1703568_1371796740_d79e72f5d5ebebff1c2a56e8c163bea4.jpg resize: (1080, 1632) 1371796740 -5.54877910464432 treat image : temp/1752294447_1703568_1371796737_e742826aee6a25806e172157cd5ee9f5.jpg resize: (1080, 1632) 1371796737 -5.546509468079561 treat image : temp/1752294447_1703568_1371796729_cc4a62ffb29cb4abb1f6dd48800dc082.jpg resize: (1080, 1632) 1371796729 -5.544050803330661 treat image : temp/1752294447_1703568_1371796726_ed51aa76db2186205f3141fa2ce524e3.jpg resize: (1080, 1632) 1371796726 -5.546533358788676 treat image : temp/1752294447_1703568_1371796668_4b05743c29c51ec3e55b2256f32377de.jpg resize: (1080, 1632) 1371796668 -5.538819471895237 treat image : temp/1752294447_1703568_1371796667_dddd24b29183e27330a68be873ec1095.jpg resize: (1080, 1632) 1371796667 -5.5426024286032565 treat image : temp/1752294447_1703568_1371796664_d61ad785bde1f66d608429b6e040c4e5.jpg resize: (1080, 1632) 1371796664 -5.541912589592189 treat image : temp/1752294447_1703568_1371796663_33091fff8ca775f7926c89195203ee96.jpg resize: (1080, 1632) 1371796663 -5.5501640299541455 treat image : temp/1752294447_1703568_1371796660_6cb2d11fccdab8896e787c2bbaa42d20.jpg resize: (1080, 1632) 1371796660 -5.5529533864011436 treat image : temp/1752294447_1703568_1371796652_e896b9207a0b0fb56ca483ba3589f893.jpg resize: (1080, 1632) 1371796652 -5.554291662648581 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.01665782928466797 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.13308000564575195 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2620818614959717 save missing photos in datou_result : time spend for datou_step_exec : 16.28005862236023 time spend to save output : 0.41733384132385254 total time spend for step 1 : 16.697392463684082 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.66user 4.64system 0:20.52elapsed 94%CPU (0avgtext+0avgdata 138784maxresident)k 0inputs+10560outputs (18major+259090minor)pagefaults 0swaps