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 : 2669987 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 list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2535930'] with mtr_portfolio_ids : ['20128731'] and first list_photo_ids : [] new path : /proc/2669987/ 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.337761878967285 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 02:17:29 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/1738372647_2669987_1333551867_e27d1a70d9b1c3a6a11567b7f63a82d1.jpg resize: (1080, 1632) 1333551867 -3.2302607156776464 treat image : temp/1738372647_2669987_1333551865_1adce607fa43205b3cea09c14ae4e2f6.jpg resize: (1080, 1632) 1333551865 -5.619215797667708 treat image : temp/1738372647_2669987_1333551863_b43435d7c07cf963dae8524f4a56b04b.jpg resize: (1080, 1632) 1333551863 -5.384498118906993 treat image : temp/1738372647_2669987_1333551830_8d11d1854e792a4aebf4ae5cde66851b.jpg resize: (1080, 1632) 1333551830 -2.360106230558461 treat image : temp/1738372647_2669987_1333551792_d4efed6dbc02077ca80c67af45e9838c.jpg resize: (1080, 1632) 1333551792 -2.9376806084972915 treat image : temp/1738372647_2669987_1333551681_4d19a5778459006b122ee318e78ce804.jpg resize: (1080, 1632) 1333551681 -3.1554556719734586 treat image : temp/1738372647_2669987_1333551509_ef712d0795ea6cb40b4f6bd8430fd3d4.jpg resize: (1080, 1632) 1333551509 -3.8145895325030197 treat image : temp/1738372647_2669987_1333551507_ea7f373a4da83cc21d9dd16cd4b8ef10.jpg resize: (1080, 1632) 1333551507 -5.126255912285277 treat image : temp/1738372647_2669987_1333551505_6741553065cdc232377ebd4b3a29c252.jpg resize: (1080, 1632) 1333551505 -6.176522714247003 treat image : temp/1738372647_2669987_1333551504_1521f9d730eface2e3ecb54487caadce.jpg resize: (1080, 1632) 1333551504 -3.4271701946242157 treat image : temp/1738372647_2669987_1333551502_2a38fe7cf2fe7a2c08369ceabb731e06.jpg resize: (1080, 1632) 1333551502 -1.8516105970638057 treat image : temp/1738372647_2669987_1333551501_e2023096dd984b0dc588bc93b5b15b46.jpg resize: (1080, 1632) 1333551501 -5.620093580788425 treat image : temp/1738372647_2669987_1333551435_f30e532339b781cd7fa7eb6fb8922ffe.jpg resize: (1080, 1632) 1333551435 -4.071196371406396 treat image : temp/1738372647_2669987_1333551299_d3ef68fea2e81b7749bb9c6fdf4ad4d5.jpg resize: (1080, 1632) 1333551299 -5.7139018767346865 treat image : temp/1738372647_2669987_1333551172_e61555f9214b4821774d7c43d3edab15.jpg resize: (1080, 1632) 1333551172 -5.526219561892227 treat image : temp/1738372647_2669987_1333551168_6ef9d9a8c92f8f893353bd64b95b7caa.jpg resize: (1080, 1632) 1333551168 -5.848649290239274 treat image : temp/1738372647_2669987_1333551117_183fc2fe1cf3eb983d580ae17ba1ce21.jpg resize: (1080, 1632) 1333551117 -5.907094179573945 treat image : temp/1738372647_2669987_1333551113_9a75df0c71d3e8c5eb014807ba77e438.jpg resize: (1080, 1632) 1333551113 -6.175285928237903 treat image : temp/1738372647_2669987_1333550285_586e41cf80ff053a1e211b9f0d2c38d6.jpg resize: (1080, 1632) 1333550285 -4.237614508190982 treat image : temp/1738372647_2669987_1333550283_29ed2ab58ca4962dfdd8f27ee9866b3c.jpg resize: (1080, 1632) 1333550283 -2.240663576657572 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.01773858070373535 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.01491689682006836 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019919395446777344 save missing photos in datou_result : time spend for datou_step_exec : 15.287092208862305 time spend to save output : 0.057727813720703125 total time spend for step 1 : 15.344820022583008 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.40user 3.46system 0:20.20elapsed 88%CPU (0avgtext+0avgdata 140684maxresident)k 80inputs+9672outputs (9major+259295minor)pagefaults 0swaps