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 : 2525419 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 : 1481>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2525419/ 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.3042514324188232 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 May 16 07:12:28 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/1747372346_2525419_1358840017_02c8407200792377ab13228a61bc0720.jpg resize: (1080, 1632) 1358840017 -3.9943228352180395 treat image : temp/1747372346_2525419_1358840015_bfc36b141f0dc4021c62579f304e0e80.jpg resize: (1080, 1632) 1358840015 -5.512512330547618 treat image : temp/1747372346_2525419_1358840013_ad3e712989dfef7d45d83b360fb0c3a0.jpg resize: (1080, 1632) 1358840013 -5.361460908060642 treat image : temp/1747372346_2525419_1358840009_0cbd3e783b8d03e22ee7f157c46fde66.jpg resize: (1080, 1632) 1358840009 -4.513744952008239 treat image : temp/1747372346_2525419_1358840006_396e58d87180f21091accfd3dfe33a0a.jpg resize: (1080, 1632) 1358840006 -1.9692238499875563 treat image : temp/1747372346_2525419_1358839868_220f24b6351f024d1b29737835e2a2c1.jpg resize: (1080, 1632) 1358839868 -5.989858553223526 treat image : temp/1747372346_2525419_1358839865_9e5e3d27f6419011899cffe434c8b479.jpg resize: (1080, 1632) 1358839865 -5.421037906205471 treat image : temp/1747372346_2525419_1358839862_03b61ae09a352dc089b617cc3470669b.jpg resize: (1080, 1632) 1358839862 -5.589310225133312 treat image : temp/1747372346_2525419_1358839860_2b04f8fecb80518a3ecef58d9a3e3f26.jpg resize: (1080, 1632) 1358839860 -5.712388384193408 treat image : temp/1747372346_2525419_1358839857_f0f5b6a870276996bf2caaab829c3a4f.jpg resize: (1080, 1632) 1358839857 -5.243194123387731 treat image : temp/1747372346_2525419_1358839852_1f1898c0e48a94314b1b9155057ded60.jpg resize: (1080, 1632) 1358839852 -4.907965969817373 treat image : temp/1747372346_2525419_1358839801_727e35581f0edf8a0e458137f9ae7a00.jpg resize: (1080, 1632) 1358839801 -2.0754044514209378 treat image : temp/1747372346_2525419_1358839800_424d2ead296d11ebbceeed4ed0961581.jpg resize: (1080, 1632) 1358839800 -2.561976371222171 treat image : temp/1747372346_2525419_1358839798_de88b2f4d0ad93562b843f91e6a5ecde.jpg resize: (1080, 1632) 1358839798 -3.7205953479908107 treat image : temp/1747372346_2525419_1358839790_ce0ddfbf6a6456f45b53de21c4654baf.jpg resize: (1080, 1632) 1358839790 -6.2366691322547485 treat image : temp/1747372346_2525419_1358839786_7786a3587d49f98c6dcc205e77319e8c.jpg resize: (1080, 1632) 1358839786 -4.38614093884805 treat image : temp/1747372346_2525419_1358839556_0ff39739af333df026e3a23274b085ad.jpg resize: (1080, 1632) 1358839556 -4.858286462941281 treat image : temp/1747372346_2525419_1358839554_3022cad9ed5d41c00853fc27613615da.jpg resize: (1080, 1632) 1358839554 -4.625647274335238 treat image : temp/1747372346_2525419_1358839551_3ea16f10981ae398aed8e97a2b849730.jpg resize: (1080, 1632) 1358839551 -5.218689479313309 treat image : temp/1747372346_2525419_1358839547_fabfea190225be7fd1e2cf70025dbee0.jpg resize: (1080, 1632) 1358839547 -2.4248081541309863 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.01281428337097168 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.026153564453125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.052828073501586914 save missing photos in datou_result : time spend for datou_step_exec : 17.801830768585205 time spend to save output : 0.09930586814880371 total time spend for step 1 : 17.90113663673401 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.14user 5.12system 0:22.04elapsed 91%CPU (0avgtext+0avgdata 140576maxresident)k 4360inputs+9384outputs (40major+260876minor)pagefaults 0swaps