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 : 4123226 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 : 1666>100 please execute split_portfolio.py -i 22246422 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2741568'] with mtr_portfolio_ids : ['22246422'] and first list_photo_ids : [] new path : /proc/4123226/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.974822998046875 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 Fri Apr 11 14:07:32 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/1744373250_4123226_1351672868_b2557dcd25d3429c5d7a1b97cd0cd7eb.jpg resize: (1080, 1632) 1351672868 -5.5311173383935675 treat image : temp/1744373250_4123226_1351672807_e6a024a22e663aa2074402f3d3ae404f.jpg resize: (1080, 1632) 1351672807 -6.1263154295012106 treat image : temp/1744373250_4123226_1351672767_261ddcb934d7af12837e762ce13e278c.jpg resize: (1080, 1632) 1351672767 -6.120730562362136 treat image : temp/1744373250_4123226_1351672726_3f69c487935ae21f32e16af542e4f5b9.jpg resize: (1080, 1632) 1351672726 -5.95291518667435 treat image : temp/1744373250_4123226_1351672698_df116a591b9002089ced1cd1be43c499.jpg resize: (1080, 1632) 1351672698 -5.6800281099314445 treat image : temp/1744373250_4123226_1351672329_dd772cfa8bde2d5caf6284af392e7df3.jpg resize: (1080, 1632) 1351672329 -5.5305976738937925 treat image : temp/1744373250_4123226_1351672277_16e85584b781f45793239abad7bfb64a.jpg resize: (1080, 1632) 1351672277 -5.868592113589257 treat image : temp/1744373250_4123226_1351672230_6ebe6ac12b0d67b01183cdb3c9908d2f.jpg resize: (1080, 1632) 1351672230 -5.781892078466968 treat image : temp/1744373250_4123226_1351672180_4a0babaa39eb149b8dd3e61681aba000.jpg resize: (1080, 1632) 1351672180 -5.604282042960008 treat image : temp/1744373250_4123226_1351671673_8548dfff9288bd547839d53642be97c7.jpg resize: (1080, 1632) 1351671673 -1.2380979045824996 treat image : temp/1744373250_4123226_1351671634_f8ba63aa1104a90a985cd84b38ce9430.jpg resize: (1080, 1632) 1351671634 -2.4289847105151203 treat image : temp/1744373250_4123226_1351671609_23da3a5eaf2c4387181b070d3e070fb4.jpg resize: (1080, 1632) 1351671609 -2.965655415629946 treat image : temp/1744373250_4123226_1351671579_bbf0a66a49053d3dc7793bc5a1eb04ec.jpg resize: (1080, 1632) 1351671579 -3.969224188094833 treat image : temp/1744373250_4123226_1351671375_14c3c58ea5b5d7f750f7aaffc4dfa13f.jpg resize: (1080, 1632) 1351671375 -6.043250106126503 treat image : temp/1744373250_4123226_1351671338_6884a41666f4eea335a51bc7e1585704.jpg resize: (1080, 1632) 1351671338 -4.893554942531705 treat image : temp/1744373250_4123226_1351671294_bfc13ebcb6ebc4a1f906829ab9f18f3c.jpg resize: (1080, 1632) 1351671294 -5.3856107183543145 treat image : temp/1744373250_4123226_1351671264_f49ea4452758feb9039acef8ef5698e6.jpg resize: (1080, 1632) 1351671264 -4.576257708231284 treat image : temp/1744373250_4123226_1351671218_07a565e3c2aff5a0e9d88adfcef253ee.jpg resize: (1080, 1632) 1351671218 -3.287897632995166 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 : 18 time used for this insertion : 0.399367094039917 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012936592102050781 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.013841867446899414 save missing photos in datou_result : time spend for datou_step_exec : 15.641051054000854 time spend to save output : 0.4311976432800293 total time spend for step 1 : 16.072248697280884 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 14.70user 3.50system 0:23.08elapsed 78%CPU (0avgtext+0avgdata 138540maxresident)k 7552inputs+8920outputs (31major+239116minor)pagefaults 0swaps