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 : 264625 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/264625/ 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.5345818996429443 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 Wed Mar 26 01:07: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/1742947646_264625_1333418804_7e5101ad766438a63507ad5aa268effa.jpg resize: (1080, 1632) 1333418804 1.2716312047887974 treat image : temp/1742947646_264625_1333418723_ce7b862fad74fa0ebdaa6c2a0e6b66c6.jpg resize: (1080, 1632) 1333418723 1.2314749265479026 treat image : temp/1742947646_264625_1333418676_4bcf38078a1277ad5d43151d22ff670d.jpg resize: (1080, 1632) 1333418676 1.9713114313767706 treat image : temp/1742947646_264625_1333418673_6fd59af2bf56971c0f181ab3a9481041.jpg resize: (1080, 1632) 1333418673 -0.1149271293952979 treat image : temp/1742947646_264625_1333418667_acb691bd5b5e60ab5c016d7a74a94222.jpg resize: (1080, 1632) 1333418667 1.886145553583121 treat image : temp/1742947646_264625_1333418663_0deab15a426a1e249a9cf2d1e4ccd281.jpg resize: (1080, 1632) 1333418663 1.1436424188736853 treat image : temp/1742947646_264625_1333418659_ceeff8e93b2d47642cb6985444e58d78.jpg resize: (1080, 1632) 1333418659 0.7692264019939397 treat image : temp/1742947646_264625_1333418618_bd83eb3a95b1f70b73c683c812ce6be7.jpg resize: (1080, 1632) 1333418618 0.31560057052102974 treat image : temp/1742947646_264625_1333418613_2de39daf02b177dacf706496444e5bcc.jpg resize: (1080, 1632) 1333418613 1.269937312313861 treat image : temp/1742947646_264625_1333418577_95e085d2741aff88f2a84513bfbf7fbf.jpg resize: (1080, 1632) 1333418577 4.521262563025524 treat image : temp/1742947646_264625_1333418574_3ca31765124a72ab64eba4777a635f98.jpg resize: (1080, 1632) 1333418574 5.117426766664073 treat image : temp/1742947646_264625_1333418545_9f8c42ef2c033eda12cd951a60d4c3e2.jpg resize: (1080, 1632) 1333418545 3.5269702368960343 treat image : temp/1742947646_264625_1333418540_1a01df93e67c27157271e6315420f342.jpg resize: (1080, 1632) 1333418540 2.768790115928669 treat image : temp/1742947646_264625_1333418294_21b4db6f82251e70df1f5f3b842a54da.jpg resize: (1080, 1632) 1333418294 5.812197119328632 treat image : temp/1742947646_264625_1333418263_6bb4245000fb3a81b64c1e23068418ce.jpg resize: (1080, 1632) 1333418263 0.4910016310002447 treat image : temp/1742947646_264625_1333418258_02ac45e394362336c16f94d886bd2c80.jpg resize: (1080, 1632) 1333418258 1.8430236070916248 treat image : temp/1742947646_264625_1333418247_dfb9fd1662080fd5b084f7818dfc38c5.jpg resize: (1080, 1632) 1333418247 -0.0009705717257757774 treat image : temp/1742947646_264625_1333418158_d53879b297b9d63ea0a5b85c019bc7d4.jpg resize: (1080, 1632) 1333418158 -0.024833542645845242 treat image : temp/1742947646_264625_1333418134_38b263bc44211c31e58f6434e6b90204.jpg resize: (1080, 1632) 1333418134 -0.05729672436735557 treat image : temp/1742947646_264625_1333418006_ba5c331e770a5be5141d1924fafe5da5.jpg resize: (1080, 1632) 1333418006 -0.0010779034722365433 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.015671968460083008 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.9229323863983154 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018851041793823242 save missing photos in datou_result : time spend for datou_step_exec : 15.82760763168335 time spend to save output : 0.9627988338470459 total time spend for step 1 : 16.790406465530396 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.64user 4.36system 0:22.52elapsed 79%CPU (0avgtext+0avgdata 138772maxresident)k 248inputs+3904outputs (19major+256710minor)pagefaults 0swaps