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 : 59765 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 : 4046>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/59765/ 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.63493275642395 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 Thu Jul 17 12:07: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/1752746848_59765_1372396862_f5377f1112359c3448f2254850850850.jpg resize: (1080, 1632) 1372396862 -5.158003479833493 treat image : temp/1752746848_59765_1372396842_fc52905a29a8d985f908de8d0a5e82a0.jpg resize: (1080, 1632) 1372396842 -5.159242350275321 treat image : temp/1752746848_59765_1372396837_a369a2af40c560b83ebcfc2556300209.jpg resize: (1080, 1632) 1372396837 -5.158922654716722 treat image : temp/1752746848_59765_1372396834_ddcb070d4cd1e41f7fe30328678d2e1b.jpg resize: (1080, 1632) 1372396834 -5.1639985580068615 treat image : temp/1752746848_59765_1372396831_eab028661aa1dc2cf5b32792cd5a3282.jpg resize: (1080, 1632) 1372396831 -5.16779519211359 treat image : temp/1752746848_59765_1372396821_feef5140bf0bb138a2449c9641a30a01.jpg resize: (1080, 1632) 1372396821 -5.163896766396571 treat image : temp/1752746848_59765_1372345830_68e788f325ce1e2370e9bd5e176dc05e.jpg resize: (1080, 1632) 1372345830 -3.218037436245632 treat image : temp/1752746848_59765_1372345827_c8f4ce1d136943326ef8db0532433c53.jpg resize: (1080, 1632) 1372345827 -3.2341461092982744 treat image : temp/1752746848_59765_1372345806_45d753586f97fc4388a9ccf418a1e4d5.jpg resize: (1080, 1632) 1372345806 -4.686329694197088 treat image : temp/1752746848_59765_1372345803_43c159cc75c07148130de65a7dcfb813.jpg resize: (1080, 1632) 1372345803 -4.115390007167472 treat image : temp/1752746848_59765_1372345801_ea797106a0b17c69eb9aa91f2cdb13a0.jpg resize: (1080, 1632) 1372345801 -4.119885046145467 treat image : temp/1752746848_59765_1372345799_9c553613635300ba578d3a27ac722ad5.jpg resize: (1080, 1632) 1372345799 -4.1254656582261 treat image : temp/1752746848_59765_1372345798_bd37dd026fbde3fff9945d959195dc83.jpg resize: (1080, 1632) 1372345798 -4.1251083362251695 treat image : temp/1752746848_59765_1372345796_79f7c651ac329a13e9f6153b5d3d83bd.jpg resize: (1080, 1632) 1372345796 -4.124618033986619 treat image : temp/1752746848_59765_1372345768_4872bb1cf5bcd053fd6445a796525f1a.jpg resize: (1080, 1632) 1372345768 -4.690589227139294 treat image : temp/1752746848_59765_1372345755_61a34939583605be417293d5b42b1b0f.jpg resize: (1080, 1632) 1372345755 -5.363894830947463 treat image : temp/1752746848_59765_1372345752_ebd1c42693537e69e3241697874f0472.jpg resize: (1080, 1632) 1372345752 -5.3497565271432626 treat image : temp/1752746848_59765_1372345748_bca548326226ad66d23417b37c3f4dce.jpg resize: (1080, 1632) 1372345748 -4.967282076972275 treat image : temp/1752746848_59765_1372345747_b9bf72e6a277f6ac2a1c423a6f50c681.jpg resize: (1080, 1632) 1372345747 -5.202395597464576 treat image : temp/1752746848_59765_1372345743_6c0a0a474b6d5b9c2b4a395d4890ed57.jpg resize: (1080, 1632) 1372345743 -5.212127848874493 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.036566972732543945 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.03952383995056152 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04041290283203125 save missing photos in datou_result : time spend for datou_step_exec : 14.050659656524658 time spend to save output : 0.13383030891418457 total time spend for step 1 : 14.184489965438843 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.45user 2.98system 0:21.08elapsed 77%CPU (0avgtext+0avgdata 138636maxresident)k 0inputs+9144outputs (15major+259620minor)pagefaults 0swaps