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 : 3461697 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 : 2119>100 please execute split_portfolio.py -i 21715706 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2691079'] with mtr_portfolio_ids : ['21715706'] and first list_photo_ids : [] new path : /proc/3461697/ 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.4424688816070557 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 Wed Mar 26 16:12: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/1743001948_3461697_1347523472_89da346cd12e2493bc779dafaec47220.jpg resize: (1080, 1632) 1347523472 -4.781741396367148 treat image : temp/1743001948_3461697_1347522844_8011476ed58a9b8c3d38b3a036cbf1ab.jpg resize: (1080, 1632) 1347522844 -6.105536591778166 treat image : temp/1743001948_3461697_1347522776_aacc08e0ea2d12b0d91b442970e06291.jpg resize: (1080, 1632) 1347522776 -3.8643695032895935 treat image : temp/1743001948_3461697_1347522712_2daf59a6a1300bcd17ddfadf9afe9cbc.jpg resize: (1080, 1632) 1347522712 -5.891416024349436 treat image : temp/1743001948_3461697_1347522298_395bbabef56acaa40ea063d8b3cf0192.jpg resize: (1080, 1632) 1347522298 -2.14792166188888 treat image : temp/1743001948_3461697_1347522259_94c075926b7eec9db44b7a832eb7602c.jpg resize: (1080, 1632) 1347522259 -2.741739812812045 treat image : temp/1743001948_3461697_1347522198_bef7fcf10eb6ad1c2806cef3691114a8.jpg resize: (1080, 1632) 1347522198 -5.4861516605503375 treat image : temp/1743001948_3461697_1347522157_b1295c346e4400e697f1471f5ddd7cd1.jpg resize: (1080, 1632) 1347522157 -5.352614204682742 treat image : temp/1743001948_3461697_1347522114_ed97b7e0ad866c7119659bb48f8727a1.jpg resize: (1080, 1632) 1347522114 -4.381402586598093 treat image : temp/1743001948_3461697_1347522090_1b8ed6a922bfbb1e0d9ed2337aa280f1.jpg resize: (1080, 1632) 1347522090 -5.696352933231957 treat image : temp/1743001948_3461697_1347521692_400b916df636489b819956e63bafdbbf.jpg resize: (1080, 1632) 1347521692 -5.430547403483278 treat image : temp/1743001948_3461697_1347521627_6580122f686005fc9136a1e3acbd8a00.jpg resize: (1080, 1632) 1347521627 -4.776055913079873 treat image : temp/1743001948_3461697_1347521482_10ee6b305b21ea1d32cd3437f51aaaf0.jpg resize: (1080, 1632) 1347521482 -4.9885483756934175 treat image : temp/1743001948_3461697_1347521443_fd3d061182014dd968c65648a54df8cb.jpg resize: (1080, 1632) 1347521443 -5.009958200475707 treat image : temp/1743001948_3461697_1347459055_2602d7db580707cd4a072fbd691a2e4a.jpg resize: (1080, 1632) 1347459055 -5.491936360135301 treat image : temp/1743001948_3461697_1347459051_a7fd50b76b843d3569c5e5f4c34f1958.jpg resize: (1080, 1632) 1347459051 -4.877372311597223 treat image : temp/1743001948_3461697_1347459020_655c8a1daf7c5ed1c7d05b034d8eeca1.jpg resize: (1080, 1632) 1347459020 -1.560734432966992 treat image : temp/1743001948_3461697_1347459013_2e15ef6a1d07250263a724d2c0846945.jpg resize: (1080, 1632) 1347459013 -3.4599480452519504 treat image : temp/1743001948_3461697_1347459009_d37bc6e9f6038bdf0719cca8872fafbb.jpg resize: (1080, 1632) 1347459009 -5.468160538814986 treat image : temp/1743001948_3461697_1347459005_03929ab943d4ca9cea126a993cf9cddb.jpg resize: (1080, 1632) 1347459005 -6.313536145197759 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.045288801193237305 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.013814210891723633 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015789031982421875 save missing photos in datou_result : time spend for datou_step_exec : 15.702266216278076 time spend to save output : 0.08099031448364258 total time spend for step 1 : 15.783256530761719 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.04user 3.26system 0:20.62elapsed 88%CPU (0avgtext+0avgdata 139516maxresident)k 0inputs+9664outputs (7major+252916minor)pagefaults 0swaps