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 : 3951912 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 : 4452>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3951912/ 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.217495918273926 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 Wed Jul 9 20:37: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/1752086247_3951912_1371430557_c388137b96a4311d5350a85130d39c9e.jpg resize: (1080, 1632) 1371430557 -2.118754392127896 treat image : temp/1752086247_3951912_1371430556_65c782929c89d0df443800605e721588.jpg resize: (1080, 1632) 1371430556 -3.994409089108189 treat image : temp/1752086247_3951912_1371430555_c342eacc3c4775186990fc870019e44a.jpg resize: (1080, 1632) 1371430555 -4.00570949970171 treat image : temp/1752086247_3951912_1371430554_61e6bbdd530a92e81eee58928de87d3d.jpg resize: (1080, 1632) 1371430554 -5.340970553327641 treat image : temp/1752086247_3951912_1371430553_c7e11fd9c95fd091c153291af9c843eb.jpg resize: (1080, 1632) 1371430553 -5.393609699017232 treat image : temp/1752086247_3951912_1371430551_4486f809baa931a6221f1e946ae0e410.jpg resize: (1080, 1632) 1371430551 -5.327838872187831 treat image : temp/1752086247_3951912_1371430549_1145160c65ba6b23d6f7776ae460ea37.jpg resize: (1080, 1632) 1371430549 -4.799362826673282 treat image : temp/1752086247_3951912_1371430548_ec2f5fe5b31515466bcc8a7b4717dde3.jpg resize: (1080, 1632) 1371430548 -4.19014854633248 treat image : temp/1752086247_3951912_1371430547_1afe91ad341f08494e86536867cb252a.jpg resize: (1080, 1632) 1371430547 -4.723515801418539 treat image : temp/1752086247_3951912_1371430546_36b0d38d4a773c5af663143718c7b15f.jpg resize: (1080, 1632) 1371430546 -4.732836409882592 treat image : temp/1752086247_3951912_1371430545_8ddec71471eb9e4c0ce78945764a1c55.jpg resize: (1080, 1632) 1371430545 -4.721522765462285 treat image : temp/1752086247_3951912_1371430544_2d3098fd5f5a498c471b790c3c6a2de9.jpg resize: (1080, 1632) 1371430544 -4.697365052375148 treat image : temp/1752086247_3951912_1371430518_dc2b789aedaa6fce4d4430b9cc66d460.jpg resize: (1080, 1632) 1371430518 -5.2055124065965455 treat image : temp/1752086247_3951912_1371430516_5e3bf90c48c695840ca9e9a8fbc634d3.jpg resize: (1080, 1632) 1371430516 -5.32648473944317 treat image : temp/1752086247_3951912_1371430514_aee82af693ecf0d504f0543dac8831c1.jpg resize: (1080, 1632) 1371430514 -5.31987436152006 treat image : temp/1752086247_3951912_1371430512_d3d1e94ffc7c91fb4fe1e36bd2d2153c.jpg resize: (1080, 1632) 1371430512 -5.036080422651481 treat image : temp/1752086247_3951912_1371430509_6c91fbf42139306fc32236e195acdfb6.jpg resize: (1080, 1632) 1371430509 -5.300832968672585 treat image : temp/1752086247_3951912_1371430508_d474e3fea5e1626e215b19c820d968e4.jpg resize: (1080, 1632) 1371430508 -5.246618685905527 treat image : temp/1752086247_3951912_1371430507_70356708c39da8cd35c14bad8943a457.jpg resize: (1080, 1632) 1371430507 -4.797966108084005 treat image : temp/1752086247_3951912_1371430506_ab6c794a3bf04924ab6b38281c87bc62.jpg resize: (1080, 1632) 1371430506 -5.184696679304675 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.01357722282409668 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.014732599258422852 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015227556228637695 save missing photos in datou_result : time spend for datou_step_exec : 15.262464761734009 time spend to save output : 0.04903078079223633 total time spend for step 1 : 15.311495542526245 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.04user 3.79system 0:19.52elapsed 91%CPU (0avgtext+0avgdata 141088maxresident)k 136inputs+9368outputs (11major+178029minor)pagefaults 0swaps