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 : 1729654 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 : 3427>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1729654/ 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.7283072471618652 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 Fri Aug 22 01:22:31 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/1755818548_1729654_1378368255_98ba80bba8cd05fbebf2926ef9386b32.jpg resize: (1080, 1632) 1378368255 -5.228257774765853 treat image : temp/1755818548_1729654_1378368229_f1f032003a942145027bcfbd878b0f1c.jpg resize: (1080, 1632) 1378368229 -5.228257774765853 treat image : temp/1755818548_1729654_1378368198_5c0b35fcd64526e6528575eab0b2113d.jpg resize: (1080, 1632) 1378368198 -3.876618545220223 treat image : temp/1755818548_1729654_1378368170_04b2ee982cfa8786eb0c6fe5a6977710.jpg resize: (1080, 1632) 1378368170 -3.876618545220223 treat image : temp/1755818548_1729654_1378368134_24cc9a91bde68be3fc445a6b639697ef.jpg resize: (1080, 1632) 1378368134 -3.2921242510180324 treat image : temp/1755818548_1729654_1378368095_2ce1b59463f145706d2f53075c4db02c.jpg resize: (1080, 1632) 1378368095 -3.2921242510180324 treat image : temp/1755818548_1729654_1378368058_096b148c0131f59e950c1d37a5253d01.jpg resize: (1080, 1632) 1378368058 -4.833668085839162 treat image : temp/1755818548_1729654_1378368017_f0b7dfc7f232f036773038f7086512f6.jpg resize: (1080, 1632) 1378368017 -4.833668085839162 treat image : temp/1755818548_1729654_1378367587_1648732c1a33f9c2e5043b221e562a50.jpg resize: (1080, 1632) 1378367587 -5.014938700586584 treat image : temp/1755818548_1729654_1378367585_8bd1e1d73ad6a0630a0fe83e6f2506af.jpg resize: (1080, 1632) 1378367585 -5.026889993041418 treat image : temp/1755818548_1729654_1378367583_358b5250da72b1b15d1830b773e3a8fb.jpg resize: (1080, 1632) 1378367583 -5.263757574633802 treat image : temp/1755818548_1729654_1378367577_ee28227a464652eb03a6bb33c37d8967.jpg resize: (1080, 1632) 1378367577 -3.4874064016457114 treat image : temp/1755818548_1729654_1378367556_9b7c10b02e9636ee3a55576fc0525fac.jpg resize: (1080, 1632) 1378367556 -0.4415668301290325 treat image : temp/1755818548_1729654_1378367532_4ea485f9c515df10ed5c200ed82df944.jpg resize: (1080, 1632) 1378367532 -1.5728968353997512 treat image : temp/1755818548_1729654_1378367031_e7cf49f8bd84b5be995637b706a7b083.jpg resize: (1080, 1632) 1378367031 -1.1341616738387752 treat image : temp/1755818548_1729654_1378367006_160503a59cbe5ac8881eb6391f686c5b.jpg resize: (1080, 1632) 1378367006 -1.616276524265198 treat image : temp/1755818548_1729654_1378366981_edc8d3ac5f14e8c08e1967630918b1a6.jpg resize: (1080, 1632) 1378366981 -5.141080831034931 treat image : temp/1755818548_1729654_1378366955_1dfe882e5bf4aa716745e9b8ee104d98.jpg resize: (1080, 1632) 1378366955 -4.05116688847283 treat image : temp/1755818548_1729654_1378366926_f9b27976f0546cbc0d48a6ac34160fb3.jpg resize: (1080, 1632) 1378366926 -5.725755985215098 treat image : temp/1755818548_1729654_1378366901_76e1119cd7fa5d24882761a79b4a736d.jpg resize: (1080, 1632) 1378366901 -6.029910616664002 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.015009403228759766 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.07791614532470703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.10967254638671875 save missing photos in datou_result : time spend for datou_step_exec : 16.72681999206543 time spend to save output : 0.20738458633422852 total time spend for step 1 : 16.934204578399658 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.96user 5.25system 0:22.14elapsed 86%CPU (0avgtext+0avgdata 138292maxresident)k 112inputs+8912outputs (2major+218981minor)pagefaults 0swaps