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 : 635599 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/635599/ 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.076780080795288 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:07: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/1754032047_635599_1374698054_e521d1559ebb436737637120333b9ce4.jpg resize: (1080, 1632) 1374698054 -2.7225397335454105 treat image : temp/1754032047_635599_1374698032_da6adefebcff23cbcad04a6e08c62524.jpg resize: (1080, 1632) 1374698032 -4.135083184643051 treat image : temp/1754032047_635599_1374698009_015a6a3978d8815ce7ace423eb244926.jpg resize: (1080, 1632) 1374698009 -4.145873312966008 treat image : temp/1754032047_635599_1374697985_665717b5618e8394f703e4da40bf8e07.jpg resize: (1080, 1632) 1374697985 -2.5691442333770964 treat image : temp/1754032047_635599_1374697965_958f668a48ee23573261d241dc143dea.jpg resize: (1080, 1632) 1374697965 -5.406870533112298 treat image : temp/1754032047_635599_1374697928_e697752cd0c826676ba08c57c6165abc.jpg resize: (1080, 1632) 1374697928 -5.566613971794078 treat image : temp/1754032047_635599_1374697926_7f258668065870fa66de0efea55d2f0c.jpg resize: (1080, 1632) 1374697926 -5.315740942501383 treat image : temp/1754032047_635599_1374697924_d2d4df6c52a0758338e4db2f1824d8ec.jpg resize: (1080, 1632) 1374697924 -5.062449261340672 treat image : temp/1754032047_635599_1374697922_293051d1070ef8ff8d4cdc76e7fcba0f.jpg resize: (1080, 1632) 1374697922 -3.6776217911561995 treat image : temp/1754032047_635599_1374697921_c3b4157e67b0ab8833cd8349133fa642.jpg resize: (1080, 1632) 1374697921 -3.580886400495643 treat image : temp/1754032047_635599_1374697920_ec614313808de81531b572090d273d5e.jpg resize: (1080, 1632) 1374697920 -5.195194048377947 treat image : temp/1754032047_635599_1374697895_616e2f44d743eebc04eb06f88d4498f7.jpg resize: (1080, 1632) 1374697895 -5.35941446292195 treat image : temp/1754032047_635599_1374697894_a61f2c9df4778a9a351ad3d9fac8b091.jpg resize: (1080, 1632) 1374697894 -5.214554380844555 treat image : temp/1754032047_635599_1374697892_c0af77c4095aa65e3f4985f3df55531e.jpg resize: (1080, 1632) 1374697892 -3.4039679741585642 treat image : temp/1754032047_635599_1374697890_83ea54e0d2fb98c916fc2337f1d1cdd8.jpg resize: (1080, 1632) 1374697890 -4.0555274712859415 treat image : temp/1754032047_635599_1374697889_b4740c7cac8a047779b8ffeab33d27c4.jpg resize: (1080, 1632) 1374697889 -3.3685752484084857 treat image : temp/1754032047_635599_1374697885_33e648ac28d3d49f059501705e67b727.jpg resize: (1080, 1632) 1374697885 -4.935218380708204 treat image : temp/1754032047_635599_1374697676_7f136b32d92bda2f2ec763a8cc1386a0.jpg resize: (1080, 1632) 1374697676 -0.7195535792036961 treat image : temp/1754032047_635599_1374697675_1a9e2a639c6a3d8343259e7e803cc190.jpg resize: (1080, 1632) 1374697675 -5.067333918915588 treat image : temp/1754032047_635599_1374697674_7e4ca8440fdfd2bab4cdb1fc6c20b70f.jpg resize: (1080, 1632) 1374697674 -5.281399147577213 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.011867523193359375 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.058943748474121094 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06102108955383301 save missing photos in datou_result : time spend for datou_step_exec : 15.846420526504517 time spend to save output : 0.13613581657409668 total time spend for step 1 : 15.982556343078613 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.24user 4.05system 0:21.06elapsed 86%CPU (0avgtext+0avgdata 139096maxresident)k 16inputs+8896outputs (29major+259884minor)pagefaults 0swaps