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 : 1405993 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 : 2775>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1405993/ 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.4916791915893555 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 Tue Sep 9 16:37: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/1757428646_1405993_1382782633_c658b1106c5a71cd161c4e23049378cf.jpg resize: (1080, 1632) 1382782633 -5.503948722476517 treat image : temp/1757428646_1405993_1382782631_97bb45cac2166b2d1a297c7e4d407847.jpg resize: (1080, 1632) 1382782631 -5.196983144339037 treat image : temp/1757428646_1405993_1382782627_764a365ba62ef5638e599221ef93e67e.jpg resize: (1080, 1632) 1382782627 -3.5472260783938028 treat image : temp/1757428646_1405993_1382782617_3800a4b02172b4f9d85df6aa70c06f89.jpg resize: (1080, 1632) 1382782617 -5.564517738861551 treat image : temp/1757428646_1405993_1382782613_4a4c42ade87af7d4888be543edfe74c1.jpg resize: (1080, 1632) 1382782613 -4.752001131245752 treat image : temp/1757428646_1405993_1382782603_68a397c2d8c90c87637d1f8107060498.jpg resize: (1080, 1632) 1382782603 -6.1960061632648165 treat image : temp/1757428646_1405993_1382782578_d1a32bd5a3e80fbc28fcd7070b61d726.jpg resize: (1080, 1632) 1382782578 -5.4048717445058125 treat image : temp/1757428646_1405993_1382782576_56819eb2a0e7031cf70044f7bcbd4a74.jpg resize: (1080, 1632) 1382782576 -5.188733339293519 treat image : temp/1757428646_1405993_1382782575_a2f9c1e6c8cbcec0bb5d48dc4cfe84fd.jpg resize: (1080, 1632) 1382782575 -5.22254689728724 treat image : temp/1757428646_1405993_1382782573_10d96c2ead97f9b96ca9821fdabcf264.jpg resize: (1080, 1632) 1382782573 -3.2567818972261113 treat image : temp/1757428646_1405993_1382782571_54c21caa9e508e4f4acd77271737e0a6.jpg resize: (1080, 1632) 1382782571 -1.4215327200216814 treat image : temp/1757428646_1405993_1382782567_9d4b8ca881053a204251f893e446dea4.jpg resize: (1080, 1632) 1382782567 -2.901881038877617 treat image : temp/1757428646_1405993_1382782563_6acb10a951c83eb27fc5b8065ab88b1c.jpg resize: (1080, 1632) 1382782563 -1.4745926859194705 treat image : temp/1757428646_1405993_1382782558_c81e279f68ff2e0123433d88c2a1e7bd.jpg resize: (1080, 1632) 1382782558 -3.8403530197600806 treat image : temp/1757428646_1405993_1382782556_d52d5f82495fa96e7077ee4481cf949d.jpg resize: (1080, 1632) 1382782556 -5.76878045833633 treat image : temp/1757428646_1405993_1382782537_d29b5ee00ded098fd0afde7df4069233.jpg resize: (1080, 1632) 1382782537 -5.4048717445058125 treat image : temp/1757428646_1405993_1382782533_4e4765b6e19ba8ada9077196b88e9722.jpg resize: (1080, 1632) 1382782533 -5.188733339293519 treat image : temp/1757428646_1405993_1382782529_b706a78c931777c49cdeb5949d16e3c8.jpg resize: (1080, 1632) 1382782529 -5.22254689728724 treat image : temp/1757428646_1405993_1382782527_074cf4f4b7677ee4016abffff11ab2b7.jpg resize: (1080, 1632) 1382782527 -3.2567818972261113 treat image : temp/1757428646_1405993_1382782525_9e10744e23be898c60e7edf51eb81d46.jpg resize: (1080, 1632) 1382782525 -1.4215327200216814 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.0315701961517334 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.037896156311035156 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.034264326095581055 save missing photos in datou_result : time spend for datou_step_exec : 14.496117115020752 time spend to save output : 0.11637258529663086 total time spend for step 1 : 14.612489700317383 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.15user 3.18system 0:18.62elapsed 93%CPU (0avgtext+0avgdata 139180maxresident)k 24inputs+9512outputs (5major+260093minor)pagefaults 0swaps