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 : 3271472 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/3271472/ 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 : 3.568969488143921 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 17:27: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/1758036447_3271472_1383563810_cc1a9c3687a390163f06fbc4f5d351f1.jpg resize: (1080, 1632) 1383563810 -3.6019891063674714 treat image : temp/1758036447_3271472_1383563545_8bff0edc045bb416f47a801cb6fe4b93.jpg resize: (1080, 1632) 1383563545 -1.1493328738981512 treat image : temp/1758036447_3271472_1383563542_93860121347cf3d7952011bc98bced5d.jpg resize: (1080, 1632) 1383563542 -4.168589492988618 treat image : temp/1758036447_3271472_1383563540_de2d48680bb2f6d97385514f4dd4a9dd.jpg resize: (1080, 1632) 1383563540 -6.066948819940038 treat image : temp/1758036447_3271472_1383563539_7df34f1f26c35362973f36582aee7ea5.jpg resize: (1080, 1632) 1383563539 -5.486938401924021 treat image : temp/1758036447_3271472_1383563536_f564a40e2401c91684849fbb6e3af9ea.jpg resize: (1080, 1632) 1383563536 -6.195769736732748 treat image : temp/1758036447_3271472_1383563369_ba2bba69e2013621899412001bf612e6.jpg resize: (1080, 1632) 1383563369 -1.8928973479589952 treat image : temp/1758036447_3271472_1383563342_1f653248d5e4ac1d1a4dfb281d4385de.jpg resize: (1080, 1632) 1383563342 -2.179230211651845 treat image : temp/1758036447_3271472_1383563204_593c396f63f7eea3f2b1da13617828bc.jpg resize: (1080, 1632) 1383563204 -4.910381982542033 treat image : temp/1758036447_3271472_1383563175_64e6578224171e1c57b53720e8b16638.jpg resize: (1080, 1632) 1383563175 -3.6617563106519477 treat image : temp/1758036447_3271472_1383563146_e23a1c9817fdaf0d67eb563a4837a3d0.jpg resize: (1080, 1632) 1383563146 -4.723444698224693 treat image : temp/1758036447_3271472_1383563089_37c69f70815a65704a3281060c6751bb.jpg resize: (1080, 1632) 1383563089 -4.720684105369928 treat image : temp/1758036447_3271472_1383563033_88be019cb7f13ac1b85d166d40d64524.jpg resize: (1080, 1632) 1383563033 -1.952444233931165 treat image : temp/1758036447_3271472_1383562751_6d50d1cca65e54afd1c52a1a5bff292f.jpg resize: (1080, 1632) 1383562751 -1.2050201791091686 treat image : temp/1758036447_3271472_1383562722_f6ddd23d6cf5b7846bda96aa96b7afae.jpg resize: (1080, 1632) 1383562722 -1.6443669472409705 treat image : temp/1758036447_3271472_1383562695_37aec096dc95fcebe5d8c5f5a572663f.jpg resize: (1080, 1632) 1383562695 -4.714958924894815 treat image : temp/1758036447_3271472_1383562671_6a4c7177037735a14e9bb6725ae4ff45.jpg resize: (1080, 1632) 1383562671 -3.634979241822268 treat image : temp/1758036447_3271472_1383562643_bfcf103257c15f19380cd061bc730642.jpg resize: (1080, 1632) 1383562643 -5.505494932929468 treat image : temp/1758036447_3271472_1383562263_33ce6d03542bcf4c171705d45286cdad.jpg resize: (1080, 1632) 1383562263 -6.152055963784229 treat image : temp/1758036447_3271472_1383562237_e33c9279a2b0d7650d30249c2c59e522.jpg resize: (1080, 1632) 1383562237 -2.4824073152290027 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.013576269149780273 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.015976667404174805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.023181438446044922 save missing photos in datou_result : time spend for datou_step_exec : 16.06338357925415 time spend to save output : 0.05768156051635742 total time spend for step 1 : 16.121065139770508 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 4.25system 0:21.82elapsed 84%CPU (0avgtext+0avgdata 139576maxresident)k 408inputs+8936outputs (2major+258170minor)pagefaults 0swaps