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 : 700379 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/700379/ 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.850471019744873 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:47: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/1754034447_700379_1374663014_b66de3605537f5aa43f21c5cf0db2aa5.jpg resize: (1080, 1632) 1374663014 -3.5357873899231156 treat image : temp/1754034447_700379_1374663011_47359ad725a12ab9e92b26eaf1cd1f3c.jpg resize: (1080, 1632) 1374663011 -5.184976803955636 treat image : temp/1754034447_700379_1374663008_7969497c2037214c704c13d458cb2636.jpg resize: (1080, 1632) 1374663008 -5.811616915691916 treat image : temp/1754034447_700379_1374662998_f161a6475e1502dba763d7a27ef26e2b.jpg resize: (1080, 1632) 1374662998 -5.072662060808755 treat image : temp/1754034447_700379_1374662984_2a07275de66b750a1ce88339c3c57bfc.jpg resize: (1080, 1632) 1374662984 -5.399911600319075 treat image : temp/1754034447_700379_1374662965_b33f82775d73ab7378387a2f6bc5374d.jpg resize: (1080, 1632) 1374662965 -4.368925362443401 treat image : temp/1754034447_700379_1374662963_44dac69a5f2c745a73c7b87200c8ec4f.jpg resize: (1080, 1632) 1374662963 -4.10239946678374 treat image : temp/1754034447_700379_1374662962_5b8ac899ba16057aacd7e09efba9dfb2.jpg resize: (1080, 1632) 1374662962 -4.3845506471453435 treat image : temp/1754034447_700379_1374662957_2b871f6c8200515391b13e811a5b8a95.jpg resize: (1080, 1632) 1374662957 -5.574359126244816 treat image : temp/1754034447_700379_1374662074_588fe0faca7bda79a4cfb462e2ee8933.jpg resize: (1080, 1632) 1374662074 -5.182498193419486 treat image : temp/1754034447_700379_1374662070_4739ac92310d9efba473653cbd7ced61.jpg resize: (1080, 1632) 1374662070 -1.006964243911241 treat image : temp/1754034447_700379_1374662060_3f5713125122b29887c466bfc9495a82.jpg resize: (1080, 1632) 1374662060 -5.048990069150229 treat image : temp/1754034447_700379_1374662031_7048be8d468176b9423e21d1baed1d2a.jpg resize: (1080, 1632) 1374662031 -5.094084283854107 treat image : temp/1754034447_700379_1374661809_7d31cbcd8d2e87159e0ff106b19d71e4.jpg resize: (1080, 1632) 1374661809 -5.648805004382955 treat image : temp/1754034447_700379_1374661769_ca51f6e76384d830920a790f29c6ae27.jpg resize: (1080, 1632) 1374661769 -4.0568293363182715 treat image : temp/1754034447_700379_1374661737_492fb507f97f30d33dfcb5c6039b4606.jpg resize: (1080, 1632) 1374661737 -1.4874808384164169 treat image : temp/1754034447_700379_1374661706_2e87159ae452c58d8a23bea2ccd41e0e.jpg resize: (1080, 1632) 1374661706 -1.3787842376980062 treat image : temp/1754034447_700379_1374661676_cc067dac3700cb34813f4a551c8c53b8.jpg resize: (1080, 1632) 1374661676 -3.073112842739196 treat image : temp/1754034447_700379_1374661641_d02fe60b3a35cc66dcc7c0347496581e.jpg resize: (1080, 1632) 1374661641 -4.280399530440122 treat image : temp/1754034447_700379_1374661585_e2cdf28bef971911a695f3f466037100.jpg resize: (1080, 1632) 1374661585 -5.648805004382955 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.012658119201660156 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.013973236083984375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01586627960205078 save missing photos in datou_result : time spend for datou_step_exec : 14.985697031021118 time spend to save output : 0.04744267463684082 total time spend for step 1 : 15.033139705657959 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.78user 3.62system 0:20.97elapsed 82%CPU (0avgtext+0avgdata 139132maxresident)k 136inputs+9400outputs (1major+255842minor)pagefaults 0swaps