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 : 3524044 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 : 8489>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/3524044/ 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.267594575881958 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 Jul 31 21:02: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/1753988547_3524044_1374648193_5d61afacc6923019cd700db698054ab2.jpg resize: (1080, 1632) 1374648193 -4.9710910753291895 treat image : temp/1753988547_3524044_1374648167_fd679673824061b0e6d11082af2da852.jpg resize: (1080, 1632) 1374648167 -5.0536278586202465 treat image : temp/1753988547_3524044_1374648138_0284b5344820bca16e9954085886ebe6.jpg resize: (1080, 1632) 1374648138 -4.526023987235301 treat image : temp/1753988547_3524044_1374648114_5c47929b716cc28fb512ff3e918f32bf.jpg resize: (1080, 1632) 1374648114 -4.616104140059008 treat image : temp/1753988547_3524044_1374648090_411a9d2dcea1dc834c30da1328277aef.jpg resize: (1080, 1632) 1374648090 -4.049475380608869 treat image : temp/1753988547_3524044_1374648057_846cb71b66bd807aeee24e4cc7955fcb.jpg resize: (1080, 1632) 1374648057 -1.311983531420742 treat image : temp/1753988547_3524044_1374647669_ba4c96efa9239b5a03625c6b9cd25711.jpg resize: (1080, 1632) 1374647669 -4.9710910753291895 treat image : temp/1753988547_3524044_1374647638_b370473e52b0f9cf0b4278a76a92c8cb.jpg resize: (1080, 1632) 1374647638 -5.0536278586202465 treat image : temp/1753988547_3524044_1374647612_df1491bea30138e263067cb9568e9554.jpg resize: (1080, 1632) 1374647612 -4.526023987235301 treat image : temp/1753988547_3524044_1374647566_96c80b3690d356e694679d1844ee774d.jpg resize: (1080, 1632) 1374647566 -4.616104140059008 treat image : temp/1753988547_3524044_1374647529_29e1896e2b89a169cba4477017ba8ef1.jpg resize: (1080, 1632) 1374647529 -4.049475380608869 treat image : temp/1753988547_3524044_1374647507_8767e86c6263026c8c5d66c14b2aef89.jpg resize: (1080, 1632) 1374647507 -1.311983531420742 treat image : temp/1753988547_3524044_1374647455_4e4ce4e2b05ced41e901a3a725c04f35.jpg resize: (1080, 1632) 1374647455 -0.737638972129825 treat image : temp/1753988547_3524044_1374647418_46c56faab6eb2e994fe0005263d08ac0.jpg resize: (1080, 1632) 1374647418 -4.437965818530904 treat image : temp/1753988547_3524044_1374647365_2b1c12ba6d7036eae335a36407455cff.jpg resize: (1080, 1632) 1374647365 -4.612982687419613 treat image : temp/1753988547_3524044_1374647333_24d0672787b95a7e8b0f9231d74fd2d8.jpg resize: (1080, 1632) 1374647333 -4.90850695102007 treat image : temp/1753988547_3524044_1374647305_79be58752e1c0fd0b03f2646da31de49.jpg resize: (1080, 1632) 1374647305 -5.20809250763324 treat image : temp/1753988547_3524044_1374647277_02fa24f38ebf87807c68371cfc7757f9.jpg resize: (1080, 1632) 1374647277 -5.747651051204106 treat image : temp/1753988547_3524044_1374644310_a8827cce44a5a7c7db378a4a2f0c6f27.jpg resize: (1080, 1632) 1374644310 -2.070051813963969 treat image : temp/1753988547_3524044_1374644307_a142aab40e0e81bb59d80cecff0d7057.jpg resize: (1080, 1632) 1374644307 -5.415058792073065 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.01671457290649414 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.015869140625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017319917678833008 save missing photos in datou_result : time spend for datou_step_exec : 15.620104789733887 time spend to save output : 0.05523848533630371 total time spend for step 1 : 15.67534327507019 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.24user 3.62system 0:20.05elapsed 89%CPU (0avgtext+0avgdata 137216maxresident)k 0inputs+8624outputs (14major+208605minor)pagefaults 0swaps