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 : 676990 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 : 8491>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/676990/ 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 : 3.752347946166992 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 Aug 1 09:32: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/1754033547_676990_1374678384_dcab024cbdc7b9ef3d42372b1e670461.jpg resize: (1080, 1632) 1374678384 -4.889606182786841 treat image : temp/1754033547_676990_1374678360_c1777a87c82421628ab8e03963fe56d6.jpg resize: (1080, 1632) 1374678360 -4.898401510151123 treat image : temp/1754033547_676990_1374678331_8da446eea21d3f09deeff4c0c6a7d5e6.jpg resize: (1080, 1632) 1374678331 -4.734641654153278 treat image : temp/1754033547_676990_1374677965_cb86ffff88312c1baa6ef5401833b0b7.jpg resize: (1080, 1632) 1374677965 -3.4078445263347787 treat image : temp/1754033547_676990_1374677932_80ef79b6c8a905f8e07b2b42734cb2ad.jpg resize: (1080, 1632) 1374677932 -2.2362549875798536 treat image : temp/1754033547_676990_1374677902_f1cd4bc28eba9157a19b22079e51606d.jpg resize: (1080, 1632) 1374677902 -1.8734517856530908 treat image : temp/1754033547_676990_1374677872_93eccd7d5351672db6da2b88e5cfd0eb.jpg resize: (1080, 1632) 1374677872 -2.954819197865914 treat image : temp/1754033547_676990_1374677840_1351e3bcb38f5ec4f741e84698a0bcbd.jpg resize: (1080, 1632) 1374677840 -4.130986387932303 treat image : temp/1754033547_676990_1374677812_d671d4368c76fe16f6d51e3542d5b6c5.jpg resize: (1080, 1632) 1374677812 -3.1885061843755222 treat image : temp/1754033547_676990_1374677703_5129268fce5422da0ba052feb16b5364.jpg resize: (1080, 1632) 1374677703 -3.8992790107321307 treat image : temp/1754033547_676990_1374677701_979ea47489402519c079d1b5314fcbfb.jpg resize: (1080, 1632) 1374677701 -4.513307073752039 treat image : temp/1754033547_676990_1374677699_17b80a2628ca0adbd053f518c4fa1f0d.jpg resize: (1080, 1632) 1374677699 -2.8157448547701573 treat image : temp/1754033547_676990_1374677689_87c1ffa0d27d889bcd6c3afa40301b98.jpg resize: (1080, 1632) 1374677689 -5.152872087772895 treat image : temp/1754033547_676990_1374677670_e9b1f9e6e0ae7c1d25eecd9381222bf9.jpg resize: (1080, 1632) 1374677670 -5.252291041350937 treat image : temp/1754033547_676990_1374677645_ac858b678842bc51aa312be7378158bb.jpg resize: (1080, 1632) 1374677645 -4.833322151527723 treat image : temp/1754033547_676990_1374677309_148d4d189c190812bf3224b124caf310.jpg resize: (1080, 1632) 1374677309 -4.681393199612415 treat image : temp/1754033547_676990_1374677280_6f0b71380fa780a162bc6b7c2e99bbc3.jpg resize: (1080, 1632) 1374677280 -5.179547748448796 treat image : temp/1754033547_676990_1374677246_4b9b4a27f8c42e905da763b100553971.jpg resize: (1080, 1632) 1374677246 -1.5090573015138082 treat image : temp/1754033547_676990_1374677220_55f96b81eb499d4dd59e4f07cd1b3439.jpg resize: (1080, 1632) 1374677220 -1.5059978580455313 treat image : temp/1754033547_676990_1374677197_b8e494389b56f2f91d4fe5005ec7af41.jpg resize: (1080, 1632) 1374677197 -1.2500198836221033 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.013742685317993164 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.05977940559387207 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0760660171508789 save missing photos in datou_result : time spend for datou_step_exec : 16.17587637901306 time spend to save output : 0.15485787391662598 total time spend for step 1 : 16.330734252929688 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.91user 4.13system 0:22.45elapsed 84%CPU (0avgtext+0avgdata 139240maxresident)k 128inputs+8200outputs (9major+258745minor)pagefaults 0swaps