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 : 3261749 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 : 2804>100 please execute split_portfolio.py -i 19446291 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2468614'] with mtr_portfolio_ids : ['19446291'] and first list_photo_ids : [] new path : /proc/3261749/ 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 : 1.8017771244049072 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 Sat Feb 1 05:07: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/1738382846_3261749_1333599557_0ba79774608d78adda1cfcb20728a4d8.jpg resize: (1080, 1632) 1333599557 2.4412867609398305 treat image : temp/1738382846_3261749_1333599466_fa6270c2953b04c7356c0de9e7e632f9.jpg resize: (1080, 1632) 1333599466 1.2008516017369129 treat image : temp/1738382846_3261749_1333599358_4cf8d261c24f4f5a967755dc1dc102ad.jpg resize: (1080, 1632) 1333599358 2.2815680199585873 treat image : temp/1738382846_3261749_1333599326_d01b27f1e3da54749ce93c1295c47a0a.jpg resize: (1080, 1632) 1333599326 0.8994864397308652 treat image : temp/1738382846_3261749_1333599322_42715b05aea40a4a0b0d6ae91733f5a0.jpg resize: (1080, 1632) 1333599322 -0.5037815267326199 treat image : temp/1738382846_3261749_1333599306_738247b8a97077742850b3384fe0a1af.jpg resize: (1080, 1632) 1333599306 -0.028516726954975577 treat image : temp/1738382846_3261749_1333571953_8ddf6e83f6ecf1ed4135984359881f53.jpg resize: (1080, 1632) 1333571953 4.351093187323978 treat image : temp/1738382846_3261749_1333571921_055e56efe8a5b46cce03539b43164b3e.jpg resize: (1080, 1632) 1333571921 6.348525222320175 treat image : temp/1738382846_3261749_1333571846_db4281ba37869dfcf1db647ffbc005a8.jpg resize: (1080, 1632) 1333571846 4.779250437787869 treat image : temp/1738382846_3261749_1333571735_31b45d7196ae07913ec791c9208c0137.jpg resize: (1080, 1632) 1333571735 2.8747262523583204 treat image : temp/1738382846_3261749_1333571721_fc79bea81265c2037b7ac1d83cd538d2.jpg resize: (1080, 1632) 1333571721 4.309101511790138 treat image : temp/1738382846_3261749_1333571719_9b4b567f9b8a5af15203b652db0360da.jpg resize: (1080, 1632) 1333571719 0.4553385597208143 treat image : temp/1738382846_3261749_1333571650_99bd969aa4c0847ffe829145f6f1552f.jpg resize: (1080, 1632) 1333571650 2.664127402073418 treat image : temp/1738382846_3261749_1333571646_8526ca30106ada85929d698a9fe578c8.jpg resize: (1080, 1632) 1333571646 2.430570940884045 treat image : temp/1738382846_3261749_1333571586_cb5846cea090f7137356679946206246.jpg resize: (1080, 1632) 1333571586 3.3417913807970296 treat image : temp/1738382846_3261749_1333571581_850ba17936e51b5e6c1c9a7c2b8e55eb.jpg resize: (1080, 1632) 1333571581 3.3860896005481917 treat image : temp/1738382846_3261749_1333571579_e581a1ed248782d5c983bd8fdb0610e5.jpg resize: (1080, 1632) 1333571579 4.667546722922198 treat image : temp/1738382846_3261749_1333571496_f37c5c6e1a598be8f0d1784714bc02a2.jpg resize: (1080, 1632) 1333571496 4.8303761813284405 treat image : temp/1738382846_3261749_1333570878_41ac4eedd27eef4c68834d24335b689e.jpg resize: (1080, 1632) 1333570878 2.8429441539732965 treat image : temp/1738382846_3261749_1333570779_7ee04e188cc2f7e8ebf816ab59321257.jpg resize: (1080, 1632) 1333570779 4.050744221889253 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.038428544998168945 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.016956806182861328 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014786958694458008 save missing photos in datou_result : time spend for datou_step_exec : 16.825564861297607 time spend to save output : 0.07517123222351074 total time spend for step 1 : 16.900736093521118 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.30user 5.22system 0:20.64elapsed 94%CPU (0avgtext+0avgdata 138380maxresident)k 0inputs+3304outputs (0major+259557minor)pagefaults 0swaps