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 : 8309 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 : 3878>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/8309/ 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.5864713191986084 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 Thu Jul 17 11:37: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/1752745046_8309_1372392997_83895775c9011125fd51384ef17a6020.jpg resize: (1080, 1632) 1372392997 -5.432346512221059 treat image : temp/1752745046_8309_1372392992_8c58aef3c813ce7b7bd00c2d8db6737c.jpg resize: (1080, 1632) 1372392992 -5.430464090420249 treat image : temp/1752745046_8309_1372392989_d796000d1e51066623c9e2832ad77a74.jpg resize: (1080, 1632) 1372392989 -5.424418917926318 treat image : temp/1752745046_8309_1372392987_5c544c5484cbf01f15794c9b5d0c07a6.jpg resize: (1080, 1632) 1372392987 -5.425258627956165 treat image : temp/1752745046_8309_1372392981_211bd73f0d29ca752078607791159803.jpg resize: (1080, 1632) 1372392981 -5.433897558274202 treat image : temp/1752745046_8309_1372392970_229c72a6893c0ff296900277517c1cca.jpg resize: (1080, 1632) 1372392970 -5.437692769865956 treat image : temp/1752745046_8309_1372346663_3e0b023326d9448b2fc689bf96647d90.jpg resize: (1080, 1632) 1372346663 -5.075868236682616 treat image : temp/1752745046_8309_1372346659_d0e0f95e2486ad8955fd65bb269abecb.jpg resize: (1080, 1632) 1372346659 -5.412692514428827 treat image : temp/1752745046_8309_1372346645_42a69979ebeced28336d22a6180aba28.jpg resize: (1080, 1632) 1372346645 -4.427561364751058 treat image : temp/1752745046_8309_1372346642_5da50f4696e28bc520f424cfbb5438ad.jpg resize: (1080, 1632) 1372346642 -4.828507549549567 treat image : temp/1752745046_8309_1372346639_c78f7a4dfd36f44b0434baaccc0e7af7.jpg resize: (1080, 1632) 1372346639 -1.6092630060744435 treat image : temp/1752745046_8309_1372346636_61ab2257a71fb63b1e3e9139bce621ce.jpg resize: (1080, 1632) 1372346636 -1.8201766256338106 treat image : temp/1752745046_8309_1372346634_3b5d5f844cebab9ace9f7d267c3ab944.jpg resize: (1080, 1632) 1372346634 -3.0775288417124047 treat image : temp/1752745046_8309_1372346629_173d52986ece5e3e93d1a71516aae225.jpg resize: (1080, 1632) 1372346629 -2.0627589758170326 treat image : temp/1752745046_8309_1372346611_005b109d0eeabc7e7ac721349745fdc9.jpg resize: (1080, 1632) 1372346611 -4.4345503744745915 treat image : temp/1752745046_8309_1372346608_0512a91f8a34ec2d99967523ff482702.jpg resize: (1080, 1632) 1372346608 -4.717902601365441 treat image : temp/1752745046_8309_1372346605_cccf886b8af4f75dc1ff1d3a43e33da5.jpg resize: (1080, 1632) 1372346605 -3.960459985811558 treat image : temp/1752745046_8309_1372346601_c816a79c9cadb1b777c3e7b44076e33c.jpg resize: (1080, 1632) 1372346601 -4.462752101147083 treat image : temp/1752745046_8309_1372346599_ccf574635d39223d0d41caf64033f31e.jpg resize: (1080, 1632) 1372346599 -4.306369341781492 treat image : temp/1752745046_8309_1372346597_1eea37de7d568d3f3ae6ad180e3aa400.jpg resize: (1080, 1632) 1372346597 -5.150693479421373 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.04407787322998047 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.0436244010925293 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.049387216567993164 save missing photos in datou_result : time spend for datou_step_exec : 14.519824504852295 time spend to save output : 0.15657949447631836 total time spend for step 1 : 14.676403999328613 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.05user 3.18system 0:19.20elapsed 89%CPU (0avgtext+0avgdata 138692maxresident)k 0inputs+8888outputs (5major+259939minor)pagefaults 0swaps