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 : 2825473 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/2825473/ 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 : 4.517950534820557 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 Tue Sep 16 14:12: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/1758024749_2825473_1383585658_de089cabe9170200abf6462e83a4ff12.jpg resize: (1080, 1632) 1383585658 -3.6921686491453936 treat image : temp/1758024749_2825473_1383585611_baa904724998a072fb320137106adce8.jpg resize: (1080, 1632) 1383585611 -5.424795390407128 treat image : temp/1758024749_2825473_1383585558_16f50d573bf36efae1ac87f3ec4d86ca.jpg resize: (1080, 1632) 1383585558 -5.7046652319412425 treat image : temp/1758024749_2825473_1383585507_4295ec3fe8973edd2682e98d469198f5.jpg resize: (1080, 1632) 1383585507 -5.921750059855955 treat image : temp/1758024749_2825473_1383584929_2b4a854f8711bc809dc13605161b563c.jpg resize: (1080, 1632) 1383584929 -4.619559648768058 treat image : temp/1758024749_2825473_1383584908_6cb4f5a5f511e8057a7fdf7611ece304.jpg resize: (1080, 1632) 1383584908 -4.750474173792977 treat image : temp/1758024749_2825473_1383584906_6fda6381720a174781400b3bf08b053a.jpg resize: (1080, 1632) 1383584906 -5.14025588453605 treat image : temp/1758024749_2825473_1383584901_f4052234e48953eb5dc8cb5654314804.jpg resize: (1080, 1632) 1383584901 -4.942141713846644 treat image : temp/1758024749_2825473_1383584823_cab980e4772ef772806463ab4cb85e77.jpg resize: (1080, 1632) 1383584823 -5.486193948163763 treat image : temp/1758024749_2825473_1383584787_2458515f231a42f812ee23d1d7d20651.jpg resize: (1080, 1632) 1383584787 -4.4782893889195 treat image : temp/1758024749_2825473_1383584764_52f10bc0790dd106a0efd2994b80b3b8.jpg resize: (1080, 1632) 1383584764 -5.526354788747259 treat image : temp/1758024749_2825473_1383584754_d2e94c6c0b2113ac2c91bd99c45c603a.jpg resize: (1080, 1632) 1383584754 -5.196916603478753 treat image : temp/1758024749_2825473_1383584406_2bc40f1f57ecf919b71e804d1e96731c.jpg resize: (1080, 1632) 1383584406 -1.4251460311549258 treat image : temp/1758024749_2825473_1383584380_cf3a0fa993f00379d1362fc8af31f52d.jpg resize: (1080, 1632) 1383584380 -2.9672196560533104 treat image : temp/1758024749_2825473_1383584325_795ca56af2fee996594ebbf162334b72.jpg resize: (1080, 1632) 1383584325 -3.3562691272303056 treat image : temp/1758024749_2825473_1383584324_40e90d90460c88de61528f14c8d7b0c9.jpg resize: (1080, 1632) 1383584324 -1.8111485490315955 treat image : temp/1758024749_2825473_1383584104_5fd073890e684c74712ef7a54a90a406.jpg resize: (1080, 1632) 1383584104 -5.625376078135572 treat image : temp/1758024749_2825473_1383584069_93e3dc56c641befe847279653736e2ed.jpg resize: (1080, 1632) 1383584069 -5.476245712621002 treat image : temp/1758024749_2825473_1383584042_1097a2a3dbaa77cdcdd595c858d8187f.jpg resize: (1080, 1632) 1383584042 -4.901334731369037 treat image : temp/1758024749_2825473_1383584016_df81e29299be96e2cb17dc28332fdfac.jpg resize: (1080, 1632) 1383584016 -4.112715222818191 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.011735916137695312 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.015238046646118164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020997285842895508 save missing photos in datou_result : time spend for datou_step_exec : 15.756978034973145 time spend to save output : 0.05227828025817871 total time spend for step 1 : 15.809256315231323 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.29user 3.96system 0:23.17elapsed 78%CPU (0avgtext+0avgdata 138252maxresident)k 24inputs+9544outputs (9major+262892minor)pagefaults 0swaps