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 : 4141903 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 : 3114>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/4141903/ 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.147501230239868 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 May 13 20:07:29 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/1747159647_4141903_1357913164_7cfbf66d047d00ff5364d99c3056d2e6.jpg resize: (1080, 1632) 1357913164 -3.4494544160598153 treat image : temp/1747159647_4141903_1357913124_65d11a769985393fd75da91386b74105.jpg resize: (1080, 1632) 1357913124 -5.5864252098513285 treat image : temp/1747159647_4141903_1357913073_3df4c0449698fabc4c2b99ffaacfc29f.jpg resize: (1080, 1632) 1357913073 -2.7616814382244392 treat image : temp/1747159647_4141903_1357913016_e4d7cafd046a99232d2d5d1f045997c8.jpg resize: (1080, 1632) 1357913016 -4.96080199674413 treat image : temp/1747159647_4141903_1357912966_86e192c29df629aa5952a9d2a70987e4.jpg resize: (1080, 1632) 1357912966 -3.5648301046198876 treat image : temp/1747159647_4141903_1357911698_047afd2b61f1edcc3bd75b65a2ae8705.jpg resize: (1080, 1632) 1357911698 -1.5641538020497432 treat image : temp/1747159647_4141903_1357911620_cda1cfe6f836c81a75385ccaffd7fa14.jpg resize: (1080, 1632) 1357911620 -1.5706162262674608 treat image : temp/1747159647_4141903_1357911003_d47a45f69f4dc58f2edf304a6273637d.jpg resize: (1080, 1632) 1357911003 -4.58104800669838 treat image : temp/1747159647_4141903_1357910946_8cce61630780239ec2e0324ea807c048.jpg resize: (1080, 1632) 1357910946 -4.894421526821173 treat image : temp/1747159647_4141903_1357910849_4755de2cfe5b6723aaf2cd4c02778df4.jpg resize: (1080, 1632) 1357910849 -5.8733238074628025 treat image : temp/1747159647_4141903_1357910750_fad2305863bee8b58b210864e182f675.jpg resize: (1080, 1632) 1357910750 -5.959432813507328 treat image : temp/1747159647_4141903_1357910645_acc66852876ad94f447b2fba79a94ebf.jpg resize: (1080, 1632) 1357910645 -4.913464746271188 treat image : temp/1747159647_4141903_1357910567_0fe51d11f2892a1eefc29b15a0313fbf.jpg resize: (1080, 1632) 1357910567 -5.3286050995406296 treat image : temp/1747159647_4141903_1357909971_78bab64978869c6376be8e523429b652.jpg resize: (1080, 1632) 1357909971 -6.1417573768485765 treat image : temp/1747159647_4141903_1357909919_3ad538cda266ff303d744809a89b74aa.jpg resize: (1080, 1632) 1357909919 -3.8993337635276824 treat image : temp/1747159647_4141903_1357909864_84379ec23b642f074189850df2c08856.jpg resize: (1080, 1632) 1357909864 -4.166137710465497 treat image : temp/1747159647_4141903_1357909808_da03eb09ec18f5337f898a003474b496.jpg resize: (1080, 1632) 1357909808 -5.684609571655826 treat image : temp/1747159647_4141903_1357909755_6fdca49a7b44427e28bdc937776da164.jpg resize: (1080, 1632) 1357909755 -5.920450529916253 treat image : temp/1747159647_4141903_1357909729_d9ee7e142480c8fdd34a9e9cccd83c5e.jpg resize: (1080, 1632) 1357909729 -5.201759657830246 treat image : temp/1747159647_4141903_1357909398_0ff1b4c32bb26772d6193842038726c3.jpg resize: (1080, 1632) 1357909398 -1.3827631094969 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.012801885604858398 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.013992786407470703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019063711166381836 save missing photos in datou_result : time spend for datou_step_exec : 15.771920442581177 time spend to save output : 0.050640106201171875 total time spend for step 1 : 15.822560548782349 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.45user 3.81system 0:21.28elapsed 85%CPU (0avgtext+0avgdata 139860maxresident)k 0inputs+9296outputs (2major+254547minor)pagefaults 0swaps