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 : 3229362 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 : 2732>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/3229362/ 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.9910130500793457 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 04:52: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/1738381948_3229362_1333595342_647e63d580f0eff121bd8aa397c81869.jpg resize: (1080, 1632) 1333595342 0.6262565567095785 treat image : temp/1738381948_3229362_1333595339_ef985337c2c386c21f187251e12bbf10.jpg resize: (1080, 1632) 1333595339 1.2968635719168098 treat image : temp/1738381948_3229362_1333595336_21fffac4a8ee22096d11bba306df9031.jpg resize: (1080, 1632) 1333595336 2.375548751802539 treat image : temp/1738381948_3229362_1333595334_bbd018e14c7c6f8a4b05cec5396925b9.jpg resize: (1080, 1632) 1333595334 4.355835473625748 treat image : temp/1738381948_3229362_1333595332_e9d0c8d389fe50736cc1d39e6adb4099.jpg resize: (1080, 1632) 1333595332 3.281152864112222 treat image : temp/1738381948_3229362_1333595329_55b7bc5e0b712a7b307ce1440c3039d7.jpg resize: (1080, 1632) 1333595329 3.578829646064865 treat image : temp/1738381948_3229362_1333576844_456d7495f1974cd7d19d0d40e7427908.jpg resize: (1080, 1632) 1333576844 4.169971110114273 treat image : temp/1738381948_3229362_1333576842_6407a0d25775fa89f73ebd1a219da231.jpg resize: (1080, 1632) 1333576842 4.673926449731599 treat image : temp/1738381948_3229362_1333576839_7d9e0de2dbc7505e4aa2163591588572.jpg resize: (1080, 1632) 1333576839 4.030402407282599 treat image : temp/1738381948_3229362_1333576837_97bc0baf32b8464cbcde1765105b09e1.jpg resize: (1080, 1632) 1333576837 3.3279489541820184 treat image : temp/1738381948_3229362_1333576834_21c29556e073822a477458cdeedf5155.jpg resize: (1080, 1632) 1333576834 0.540816445071001 treat image : temp/1738381948_3229362_1333576832_36664b9a6fe9fd92a4d3fbf17ffa1e5e.jpg resize: (1080, 1632) 1333576832 1.1204750808172608 treat image : temp/1738381948_3229362_1333575943_2b457190ce07dd6c749b85685203ca76.jpg resize: (1080, 1632) 1333575943 3.8071300409624933 treat image : temp/1738381948_3229362_1333575941_f4b2b797b1e0fa6aeaaa7f86d90f009e.jpg resize: (1080, 1632) 1333575941 2.019653204969699 treat image : temp/1738381948_3229362_1333575913_6604834176d670e24cb208b07721fc98.jpg resize: (1080, 1632) 1333575913 2.119980369864541 treat image : temp/1738381948_3229362_1333575904_afbbcd7d6d8782a67f9f82e98b8bb881.jpg resize: (1080, 1632) 1333575904 1.5570661673604962 treat image : temp/1738381948_3229362_1333575901_9d5d783d6fbfcdb435a1c20a8ae94faf.jpg resize: (1080, 1632) 1333575901 1.4689761705008542 treat image : temp/1738381948_3229362_1333575874_9af155531d39bec51df1d8c1c43012d7.jpg resize: (1080, 1632) 1333575874 1.5115132818359154 treat image : temp/1738381948_3229362_1333575466_4919dfa4acd329ed3365dfecdd44f773.jpg resize: (1080, 1632) 1333575466 1.892284246796184 treat image : temp/1738381948_3229362_1333575434_d97e36c5d7d30464194dedbe27e09692.jpg resize: (1080, 1632) 1333575434 3.7873071744046305 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.0181119441986084 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.1639573574066162 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.09872317314147949 save missing photos in datou_result : time spend for datou_step_exec : 14.299278497695923 time spend to save output : 0.28585028648376465 total time spend for step 1 : 14.585128784179688 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.49user 3.19system 0:20.29elapsed 82%CPU (0avgtext+0avgdata 140236maxresident)k 8inputs+3088outputs (3major+260577minor)pagefaults 0swaps