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 : 4101819 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 : 3456>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/4101819/ 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.3253345489501953 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 17 10:22: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/1752740549_4101819_1372384183_96d1ee5319f7537be79c81e877232ea6.jpg resize: (1080, 1632) 1372384183 -5.5482476195660375 treat image : temp/1752740549_4101819_1372384181_40c28fbbbddcb136a5056e8ffc87539d.jpg resize: (1080, 1632) 1372384181 -5.549288413898883 treat image : temp/1752740549_4101819_1372384179_7e87298c0e1a4d2d3a17c153f59fbcbf.jpg resize: (1080, 1632) 1372384179 -5.550454314631739 treat image : temp/1752740549_4101819_1372384176_72a114cc8613e1a5281fb738941bef57.jpg resize: (1080, 1632) 1372384176 -5.54824613707784 treat image : temp/1752740549_4101819_1372384173_0d59365fbb72e2da03b70ed8da4d2c05.jpg resize: (1080, 1632) 1372384173 -5.553886451878321 treat image : temp/1752740549_4101819_1372384170_208f6ba09533c11fa729943702ce1577.jpg resize: (1080, 1632) 1372384170 -5.557407627892404 treat image : temp/1752740549_4101819_1372384155_3984d5ba532d6060293e11e6e9535260.jpg resize: (1080, 1632) 1372384155 -5.478165786146184 treat image : temp/1752740549_4101819_1372384152_b82ed688510750e07f2906239ae49199.jpg resize: (1080, 1632) 1372384152 -5.529145361345956 treat image : temp/1752740549_4101819_1372384150_96ca743e9c5fb21361b67d35f5e9e5e0.jpg resize: (1080, 1632) 1372384150 -5.534655399731635 treat image : temp/1752740549_4101819_1372384146_27b2b36c797e7bd3e4c8fe8eeda412f7.jpg resize: (1080, 1632) 1372384146 -5.53840271455689 treat image : temp/1752740549_4101819_1372384141_54c891bd040c097fae8fae807efb6610.jpg resize: (1080, 1632) 1372384141 -5.547423893301139 treat image : temp/1752740549_4101819_1372384139_20b35b14b19485c3713d94ec2ac73b24.jpg resize: (1080, 1632) 1372384139 -5.548109280856773 treat image : temp/1752740549_4101819_1372348702_29dfe59c0871eb49f3d46cbac4ea1ba3.jpg resize: (1080, 1632) 1372348702 -5.346187447336855 treat image : temp/1752740549_4101819_1372348698_d80743b2d3d0152570f96608296414ef.jpg resize: (1080, 1632) 1372348698 -5.360077512479586 treat image : temp/1752740549_4101819_1372348696_dc0b51dc4a3594a877f32960811fd720.jpg resize: (1080, 1632) 1372348696 -5.292628989383388 treat image : temp/1752740549_4101819_1372348693_c084b1d8acfb0aaedb238fa32d2da9ae.jpg resize: (1080, 1632) 1372348693 -1.9578922543967492 treat image : temp/1752740549_4101819_1372348671_418c9fe6b536b3b7f076039cc5df285c.jpg resize: (1080, 1632) 1372348671 -4.421481961672296 treat image : temp/1752740549_4101819_1372348666_e134bf40b55bba54e465b47867408ee8.jpg resize: (1080, 1632) 1372348666 -4.454105011360298 treat image : temp/1752740549_4101819_1372348662_4e1db21b2931d58e4e933868e42aff6c.jpg resize: (1080, 1632) 1372348662 -3.6394314661545524 treat image : temp/1752740549_4101819_1372348658_baf463fe0d0c786e579dfae78ad451d8.jpg resize: (1080, 1632) 1372348658 -3.9561206517090532 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.015649080276489258 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.015124082565307617 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017889976501464844 save missing photos in datou_result : time spend for datou_step_exec : 14.51718020439148 time spend to save output : 0.05360865592956543 total time spend for step 1 : 14.570788860321045 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.11user 3.05system 0:20.43elapsed 83%CPU (0avgtext+0avgdata 138744maxresident)k 0inputs+9688outputs (0major+259905minor)pagefaults 0swaps