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 : 626273 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 : 490>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/626273/ 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.3484926223754883 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 02:22: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/1747095746_626273_1357760153_60413796d61ff41caea03c20ddfb39a5.jpg resize: (1080, 1632) 1357760153 -4.489352820416655 treat image : temp/1747095746_626273_1357760152_a81af2808661556fac002625ea1809ed.jpg resize: (1080, 1632) 1357760152 -5.005838653343981 treat image : temp/1747095746_626273_1357760151_f2e17b6ff993a976241740637768695e.jpg resize: (1080, 1632) 1357760151 -6.2007168162389705 treat image : temp/1747095746_626273_1357760149_9c4bc28a647642b252a2c45281ba76bc.jpg resize: (1080, 1632) 1357760149 -6.123486320576659 treat image : temp/1747095746_626273_1357760147_a0a85261b7f3937abd7d4a10157cbd75.jpg resize: (1080, 1632) 1357760147 -5.531582802502265 treat image : temp/1747095746_626273_1357760038_13c4bd92708cc6790472104d9d0ea551.jpg resize: (1080, 1632) 1357760038 -1.8351218795416464 treat image : temp/1747095746_626273_1357760011_837fcaf9bf82b8d00e1914db65c85ac5.jpg resize: (1080, 1632) 1357760011 -1.7426701843568784 treat image : temp/1747095746_626273_1357759986_73b99d04e252a8e4af08185737580b49.jpg resize: (1080, 1632) 1357759986 -4.198038203788843 treat image : temp/1747095746_626273_1357759979_6ab8b377208af407c96c4dbd7ffd3c8b.jpg resize: (1080, 1632) 1357759979 -5.4483898889865205 treat image : temp/1747095746_626273_1357759976_0bfe182f9be4aea426195dc32d129957.jpg resize: (1080, 1632) 1357759976 -5.428247605311656 treat image : temp/1747095746_626273_1357759934_47530f00d57f18ab9b14fdf2f46cd495.jpg resize: (1080, 1632) 1357759934 -3.2581891556756934 treat image : temp/1747095746_626273_1357759932_3211d956707f60b6e0148dae3ecee1b2.jpg resize: (1080, 1632) 1357759932 -5.083096601572426 treat image : temp/1747095746_626273_1357759930_d9a342edb7f70e158203c201e47fc121.jpg resize: (1080, 1632) 1357759930 -4.845911953994143 treat image : temp/1747095746_626273_1357759928_ee526df8d566b56481acd7ae890fa9de.jpg resize: (1080, 1632) 1357759928 -1.322928701871127 treat image : temp/1747095746_626273_1357759911_d63edc93c10f3c1f9187d69279b0c24c.jpg resize: (1080, 1632) 1357759911 -4.656754669590164 treat image : temp/1747095746_626273_1357759909_6dcee4d9aae313bea9bd0ec8010902b9.jpg resize: (1080, 1632) 1357759909 -6.488099222537517 treat image : temp/1747095746_626273_1357759905_edf2d0ee736ece4d64c2023856c73996.jpg resize: (1080, 1632) 1357759905 -6.299109762004115 treat image : temp/1747095746_626273_1357759901_1f61bd2d796e4f182c0ec385735a089a.jpg resize: (1080, 1632) 1357759901 -6.274259640068249 treat image : temp/1747095746_626273_1357759898_01559ab52818454ae825e5af1aea786b.jpg resize: (1080, 1632) 1357759898 -6.225336939485615 treat image : temp/1747095746_626273_1357759895_45b0edaa68d2365f423e35dab0baf04d.jpg resize: (1080, 1632) 1357759895 -3.6298518694999027 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.013657331466674805 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.011948347091674805 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0159304141998291 save missing photos in datou_result : time spend for datou_step_exec : 16.047259092330933 time spend to save output : 0.046123504638671875 total time spend for step 1 : 16.093382596969604 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.32user 4.18system 0:20.33elapsed 91%CPU (0avgtext+0avgdata 139332maxresident)k 0inputs+10376outputs (0major+260074minor)pagefaults 0swaps