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 : 3827211 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/3827211/ 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 : 5.681066036224365 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 21:42:34 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/1758051749_3827211_1383527975_75d5d32e0d0a20479825df41d0dd96d0.jpg resize: (1080, 1632) 1383527975 -4.676502999598922 treat image : temp/1758051749_3827211_1383527965_d554765d063a04e71e536c673e14ba94.jpg resize: (1080, 1632) 1383527965 -3.812418543439212 treat image : temp/1758051749_3827211_1383527962_ceb16bcc35a4bbcad21ef094f19fc947.jpg resize: (1080, 1632) 1383527962 -5.940562471719173 treat image : temp/1758051749_3827211_1383527960_1e34639d0cdd93502002a713040d6921.jpg resize: (1080, 1632) 1383527960 -6.102001939019791 treat image : temp/1758051749_3827211_1383527952_18431bb514654c7cc6e4f24d17dad931.jpg resize: (1080, 1632) 1383527952 -3.6255207262536167 treat image : temp/1758051749_3827211_1383527861_76bd902062f1114d8be284f717e94abe.jpg resize: (1080, 1632) 1383527861 -2.0769057039256773 treat image : temp/1758051749_3827211_1383527833_d1cc40930b44d0fb42f2335bcdc6e6bf.jpg resize: (1080, 1632) 1383527833 -3.680133114890241 treat image : temp/1758051749_3827211_1383527810_a6852923b15293453111d4b8f6881243.jpg resize: (1080, 1632) 1383527810 -5.9857783185627245 treat image : temp/1758051749_3827211_1383527809_0be01183249081fa4ce085149532e896.jpg resize: (1080, 1632) 1383527809 -5.9747426558538415 treat image : temp/1758051749_3827211_1383527794_2de633df9bad049b7abe977a2d96c7bc.jpg resize: (1080, 1632) 1383527794 -5.669207515789076 treat image : temp/1758051749_3827211_1383527605_77aea381bb84565a8ea1fecb06d7af05.jpg resize: (1080, 1632) 1383527605 -5.85943594134222 treat image : temp/1758051749_3827211_1383527562_274f1d6f64786fe1a85e3e4cea9a3d84.jpg resize: (1080, 1632) 1383527562 -3.750291762862401 treat image : temp/1758051749_3827211_1383527523_5fc96cb377c9531b8e17d8f0b3118fdd.jpg resize: (1080, 1632) 1383527523 -4.325621123010061 treat image : temp/1758051749_3827211_1383527477_418a5d92104bce75720041217ac48b06.jpg resize: (1080, 1632) 1383527477 -5.053798500943619 treat image : temp/1758051749_3827211_1383527442_a64b0d840ab6e1e6a0d740309d25f8ed.jpg resize: (1080, 1632) 1383527442 -5.813527232005294 treat image : temp/1758051749_3827211_1383527430_9ec9f6c91b2723282fb03bd7a3ca082d.jpg resize: (1080, 1632) 1383527430 -2.8339249162637845 treat image : temp/1758051749_3827211_1383527167_4ccdeb3bf81215181a100d4f4252eec8.jpg resize: (1080, 1632) 1383527167 -1.6114498632499996 treat image : temp/1758051749_3827211_1383527140_bce00c216762c431be414b6c7513d825.jpg resize: (1080, 1632) 1383527140 -1.8953302314725353 treat image : temp/1758051749_3827211_1383527115_12d78d40661e4bdafdc3a1ee1e201630.jpg resize: (1080, 1632) 1383527115 -4.955431042598919 treat image : temp/1758051749_3827211_1383527100_de1543fd25c4bff81ada8e2c1ccd3c20.jpg resize: (1080, 1632) 1383527100 -4.3026755695942684 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.013627767562866211 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.015912771224975586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015015602111816406 save missing photos in datou_result : time spend for datou_step_exec : 15.610962867736816 time spend to save output : 0.04930830001831055 total time spend for step 1 : 15.660271167755127 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 3.89system 0:24.59elapsed 75%CPU (0avgtext+0avgdata 138144maxresident)k 128inputs+9984outputs (8major+258889minor)pagefaults 0swaps