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 : 3630619 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 : 246>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/3630619/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.043466806411743 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 30 00:47: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/1753829247_3630619_1374374332_888bf92749eb124ef4b54271976fb524.jpg resize: (1080, 1632) 1374374332 -5.587846054314619 treat image : temp/1753829247_3630619_1374374331_0c72c1b0e34ac21f7d901760a868419a.jpg resize: (1080, 1632) 1374374331 -5.581750148234828 treat image : temp/1753829247_3630619_1374374329_1865ec353f3779f4f6d2d9b7398bdc90.jpg resize: (1080, 1632) 1374374329 -5.579577387657873 treat image : temp/1753829247_3630619_1374374328_d6ca1afda7527079a96faa2b79ec544b.jpg resize: (1080, 1632) 1374374328 -5.578396785240333 treat image : temp/1753829247_3630619_1374374327_4bb28a407dd8f0d89063650653dc8dd3.jpg resize: (1080, 1632) 1374374327 -5.57631826550819 treat image : temp/1753829247_3630619_1374374320_07874583995ce282132f43ecc7539eac.jpg resize: (1080, 1632) 1374374320 -5.589322602616837 treat image : temp/1753829247_3630619_1374374300_a914f1a310f4a813076d72f291c374bd.jpg resize: (1080, 1632) 1374374300 -5.57806868234361 treat image : temp/1753829247_3630619_1374374291_b3ccbbd6ec6ebf35c5bb4f444750dc38.jpg resize: (1080, 1632) 1374374291 -5.579179088356058 treat image : temp/1753829247_3630619_1374374288_dcb47e17faf9094ce2fab913bfc2f79f.jpg resize: (1080, 1632) 1374374288 -5.580574821869256 treat image : temp/1753829247_3630619_1374374286_fd52cd2a1576a71bcd32b7ce52811646.jpg resize: (1080, 1632) 1374374286 -5.569509278800551 treat image : temp/1753829247_3630619_1374374284_d5333fc71be9c7ec8b394feff35e8130.jpg resize: (1080, 1632) 1374374284 -5.580587853282241 treat image : temp/1753829247_3630619_1374374283_591bd0beda78b888d601f0cac9c28a7a.jpg resize: (1080, 1632) 1374374283 -5.576044939737716 treat image : temp/1753829247_3630619_1374374256_fe707588cccf45fe4d6713fbc8ca6020.jpg resize: (1080, 1632) 1374374256 -5.580053876216923 treat image : temp/1753829247_3630619_1374374254_dd28a7ba09a40f9d82431bc7a74ddd73.jpg resize: (1080, 1632) 1374374254 -5.579262160333159 treat image : temp/1753829247_3630619_1374374253_5be90937be8221e0ec2f8e7abdddde5d.jpg resize: (1080, 1632) 1374374253 -5.577078496631919 treat image : temp/1753829247_3630619_1374374252_09ff2687587103aacc3f28349b099b1b.jpg resize: (1080, 1632) 1374374252 -5.573489759888005 treat image : temp/1753829247_3630619_1374374250_801147e4d5e6397bb3605892f3124f9d.jpg resize: (1080, 1632) 1374374250 -5.5819830558708645 treat image : temp/1753829247_3630619_1374374249_a3463b7c97d8d0671d284172ac922320.jpg resize: (1080, 1632) 1374374249 -5.583400181250901 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 : 18 time used for this insertion : 0.01355433464050293 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.04395484924316406 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.04991340637207031 save missing photos in datou_result : time spend for datou_step_exec : 12.998344898223877 time spend to save output : 0.11168837547302246 total time spend for step 1 : 13.1100332736969 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.35user 2.93system 0:17.61elapsed 86%CPU (0avgtext+0avgdata 138888maxresident)k 16inputs+10088outputs (19major+229800minor)pagefaults 0swaps