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 : 2442287 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 : 1650>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/2442287/ 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.8146634101867676 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 Mon May 12 14:12:32 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/1747051948_2442287_1357639448_9e64f8ec664803b775e605c8dca53b94.jpg resize: (1080, 1632) 1357639448 -6.127729791375776 treat image : temp/1747051948_2442287_1357639441_a942fa85d4ee4e2a41fbbab435e8e6c5.jpg resize: (1080, 1632) 1357639441 -3.9702140341031007 treat image : temp/1747051948_2442287_1357639418_d4054fcf81dbc24a129074d69f0b1599.jpg resize: (1080, 1632) 1357639418 -6.182494702025951 treat image : temp/1747051948_2442287_1357639050_88cd21f71ef7aa2a1e4d561766f423ba.jpg resize: (1080, 1632) 1357639050 -6.08680321414726 treat image : temp/1747051948_2442287_1357639019_cfaca3126726b647b31d0c1564325a20.jpg resize: (1080, 1632) 1357639019 -6.39135983644686 treat image : temp/1747051948_2442287_1357639011_98b16762bea1b9447c320373152f062a.jpg resize: (1080, 1632) 1357639011 -6.478295890054831 treat image : temp/1747051948_2442287_1357639007_cf59a59214934e9173d5dd84b9918d9a.jpg resize: (1080, 1632) 1357639007 -6.314064808679015 treat image : temp/1747051948_2442287_1357638992_331be0afce53a810c9bd0bf3826c2f55.jpg resize: (1080, 1632) 1357638992 -5.891525318580037 treat image : temp/1747051948_2442287_1357638900_19646dc3772c0fec7858d05372ec2c30.jpg resize: (1080, 1632) 1357638900 -0.7389497035257024 treat image : temp/1747051948_2442287_1357638873_95b98cae9af19f21cdff24f72fff0901.jpg resize: (1080, 1632) 1357638873 -3.994972617538407 treat image : temp/1747051948_2442287_1357638634_e27f3cd57035ec0dd5672cc1d14c298f.jpg resize: (1080, 1632) 1357638634 -5.965715419168793 treat image : temp/1747051948_2442287_1357638607_c11e8b01738090c2cc183a5e905cfa7d.jpg resize: (1080, 1632) 1357638607 -6.2695551230245234 treat image : temp/1747051948_2442287_1357638552_dd9164e25c0196f1c5c71da6f441a961.jpg resize: (1080, 1632) 1357638552 -4.460355932305581 treat image : temp/1747051948_2442287_1357638498_f724b2d195fdb27d08b967e2696529ce.jpg resize: (1080, 1632) 1357638498 -4.639568616580479 treat image : temp/1747051948_2442287_1357638450_16373a02c18ee85d498115a9f8b20efa.jpg resize: (1080, 1632) 1357638450 -6.2026742708276466 treat image : temp/1747051948_2442287_1357638421_05acff8406f7e56db7b31e53df922d68.jpg resize: (1080, 1632) 1357638421 -1.3777562145113083 treat image : temp/1747051948_2442287_1357638021_bc00e514ced743778d7ffac0406ea15d.jpg resize: (1080, 1632) 1357638021 -2.642487117562681 treat image : temp/1747051948_2442287_1357638017_3a3afffeedf7d2a7010cdfe0dd37d182.jpg resize: (1080, 1632) 1357638017 -2.0935019997061683 treat image : temp/1747051948_2442287_1357638010_f1c5de8b52b5fa6b6be9e6a0953f6bcb.jpg resize: (1080, 1632) 1357638010 -5.862692566022453 treat image : temp/1747051948_2442287_1357638005_ff747ffe5f0948abe08fe898a02fbc14.jpg resize: (1080, 1632) 1357638005 -5.9045568601977525 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.012869119644165039 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.012831687927246094 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014923334121704102 save missing photos in datou_result : time spend for datou_step_exec : 16.56056308746338 time spend to save output : 0.04586315155029297 total time spend for step 1 : 16.606426239013672 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.98user 4.12system 0:24.50elapsed 77%CPU (0avgtext+0avgdata 139996maxresident)k 96inputs+10816outputs (0major+260499minor)pagefaults 0swaps