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 : 3015499 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3015499/ 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 : 4.312697172164917 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 16 15:42: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/1758030147_3015499_1383573442_aa0410e09a3002de067fb7685b39d396.jpg resize: (1080, 1632) 1383573442 -3.63561287494475 treat image : temp/1758030147_3015499_1383572880_903709053dea8ef3ca4b12aee0550794.jpg resize: (1080, 1632) 1383572880 -5.974678019193195 treat image : temp/1758030147_3015499_1383572832_acaa15ffdf94111b871cf036f254244e.jpg resize: (1080, 1632) 1383572832 -6.098354334650811 treat image : temp/1758030147_3015499_1383572786_74f5603c489e8736358fdbf4ac3cce0a.jpg resize: (1080, 1632) 1383572786 -5.2085120663301145 treat image : temp/1758030147_3015499_1383572736_1261c8b16029b67b6cf789709efd1686.jpg resize: (1080, 1632) 1383572736 -5.836200197828859 treat image : temp/1758030147_3015499_1383572684_181f86cadf4b68d98eca4bf755798b69.jpg resize: (1080, 1632) 1383572684 -5.621509891032322 treat image : temp/1758030147_3015499_1383572497_4e90ae1e523fe823ea4eacd75a7ce90a.jpg resize: (1080, 1632) 1383572497 -5.38761586582952 treat image : temp/1758030147_3015499_1383572446_9ff57eb7244bba4d040d24f5d480763f.jpg resize: (1080, 1632) 1383572446 -2.3248225533405793 treat image : temp/1758030147_3015499_1383572310_ce80ca5bf954e417440c789073258ac2.jpg resize: (1080, 1632) 1383572310 -1.342536214440761 treat image : temp/1758030147_3015499_1383572284_60a05697ec8c270da3bb6e15e00c2e06.jpg resize: (1080, 1632) 1383572284 -3.24373859581143 treat image : temp/1758030147_3015499_1383572256_693e8895e6d8192eaa5d5e4766654b2a.jpg resize: (1080, 1632) 1383572256 -4.610693372855169 treat image : temp/1758030147_3015499_1383572229_ca879e1b1bd96080e8913f0bfb0c1c24.jpg resize: (1080, 1632) 1383572229 -4.609838788596701 treat image : temp/1758030147_3015499_1383572200_5ca91286fd329cc3c0926cbc207f6d86.jpg resize: (1080, 1632) 1383572200 -5.159098264963342 treat image : temp/1758030147_3015499_1383572178_9a06fb9aaaf422851ed1cb89e6562ffa.jpg resize: (1080, 1632) 1383572178 -5.369777180436044 treat image : temp/1758030147_3015499_1383572104_f4196612d86834c6386425fa19d14ebb.jpg resize: (1080, 1632) 1383572104 -5.38761586582952 treat image : temp/1758030147_3015499_1383572099_59e0e2294db6263eaa0c6d1a73c299eb.jpg resize: (1080, 1632) 1383572099 -2.3248225533405793 treat image : temp/1758030147_3015499_1383572098_2daf7c0b7721504ed86eb5d877068eff.jpg resize: (1080, 1632) 1383572098 -1.342536214440761 treat image : temp/1758030147_3015499_1383572096_7abf8491484f6a598cf06f7733dc0e0c.jpg resize: (1080, 1632) 1383572096 -3.24373859581143 treat image : temp/1758030147_3015499_1383572060_180b431433f9daa3bda4a8f432dcf34c.jpg resize: (1080, 1632) 1383572060 -5.5534272266421825 treat image : temp/1758030147_3015499_1383572053_c32c19ab188657f8e6c386850915564f.jpg resize: (1080, 1632) 1383572053 -5.743146050840115 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.013803243637084961 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.013890504837036133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01620030403137207 save missing photos in datou_result : time spend for datou_step_exec : 15.44883680343628 time spend to save output : 0.048436880111694336 total time spend for step 1 : 15.497273683547974 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 3.81system 0:22.83elapsed 79%CPU (0avgtext+0avgdata 138528maxresident)k 808inputs+9640outputs (20major+256788minor)pagefaults 0swaps