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 : 1593454 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 : 1075>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1593454/ 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.690012216567993 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 Mon May 12 09:52: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/1747036348_1593454_1357611856_d7601842a536e7dc5863b5b293f98c40.jpg resize: (1080, 1632) 1357611856 -2.243642724372834 treat image : temp/1747036348_1593454_1357611801_c1c0d46cef46ebde00a5b2b88ab4335b.jpg resize: (1080, 1632) 1357611801 -5.2723306111747235 treat image : temp/1747036348_1593454_1357611795_b8f90198de12bd4fc38c9a61a28eb792.jpg resize: (1080, 1632) 1357611795 -5.851870357572053 treat image : temp/1747036348_1593454_1357611793_9a1100f72b6f33d39c186a0343fab1ea.jpg resize: (1080, 1632) 1357611793 -5.171294110878201 treat image : temp/1747036348_1593454_1357611763_05a806e8567a65da0039726b853887be.jpg resize: (1080, 1632) 1357611763 -5.773046546226095 treat image : temp/1747036348_1593454_1357611761_2b55fe3a76bf60565ee74d451ceca605.jpg resize: (1080, 1632) 1357611761 -3.21255998829504 treat image : temp/1747036348_1593454_1357611760_6a3dc30cfec0d95a0382ce9462fed165.jpg resize: (1080, 1632) 1357611760 -5.603452121247451 treat image : temp/1747036348_1593454_1357611757_e9db3a174bb6065409fa94a03b398f31.jpg resize: (1080, 1632) 1357611757 -3.0787254218358786 treat image : temp/1747036348_1593454_1357611755_39fcb234e837b5b08394509aade30b00.jpg resize: (1080, 1632) 1357611755 -5.297758771844856 treat image : temp/1747036348_1593454_1357611727_c0bc334ccea8bac7abf851f43e574800.jpg resize: (1080, 1632) 1357611727 -5.763415915638586 treat image : temp/1747036348_1593454_1357611725_f0493c2f8014854fade1b0188e21502d.jpg resize: (1080, 1632) 1357611725 -6.060766464739731 treat image : temp/1747036348_1593454_1357611696_be659fabcbaba9b598dc89261216ef7b.jpg resize: (1080, 1632) 1357611696 -5.400053153423016 treat image : temp/1747036348_1593454_1357611695_7cbfd94e2cf53278b67c9159a94dfef9.jpg resize: (1080, 1632) 1357611695 -5.410107330274411 treat image : temp/1747036348_1593454_1357611690_52a83a33bce36702ab21064a29d19938.jpg resize: (1080, 1632) 1357611690 -5.2493544857708585 treat image : temp/1747036348_1593454_1357611687_c08a9665345c1a517e12835bffb70873.jpg resize: (1080, 1632) 1357611687 -5.814884258453748 treat image : temp/1747036348_1593454_1357611684_b82d243831ec02eee3a1106ba1e6403a.jpg resize: (1080, 1632) 1357611684 -5.9500383324994655 treat image : temp/1747036348_1593454_1357611681_16c1916797849a83ff4af8b9d998f3fe.jpg resize: (1080, 1632) 1357611681 -6.0309324615812425 treat image : temp/1747036348_1593454_1357597923_b70fdd9d2f4ac7d07cd7710444374d2f.jpg resize: (1080, 1632) 1357597923 -2.0442830277716437 treat image : temp/1747036348_1593454_1357597922_e4cfa9fbb4ad110f77f4ea72999f6112.jpg resize: (1080, 1632) 1357597922 -2.868903051724334 treat image : temp/1747036348_1593454_1357597480_d79b209343166e1f5e16f22fe5aa058e.jpg resize: (1080, 1632) 1357597480 -4.803813650859756 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.013476848602294922 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.013007402420043945 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015902042388916016 save missing photos in datou_result : time spend for datou_step_exec : 15.647032022476196 time spend to save output : 0.04718017578125 total time spend for step 1 : 15.694212198257446 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.52user 3.73system 0:20.74elapsed 88%CPU (0avgtext+0avgdata 139464maxresident)k 152inputs+10080outputs (9major+260745minor)pagefaults 0swaps