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 : 2222791 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 : 1107>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/2222791/ 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.39473295211792 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 May 14 10:17: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/1747210648_2222791_1358122759_2af76aebd6412622b7efe941fa69ad06.jpg resize: (1080, 1632) 1358122759 -6.457645818533467 treat image : temp/1747210648_2222791_1358122731_52d6d9390507a5445d5214fd30af9150.jpg resize: (1080, 1632) 1358122731 -3.914481656875814 treat image : temp/1747210648_2222791_1358122705_f95407d0c54bffea699c0c31eafbf402.jpg resize: (1080, 1632) 1358122705 -6.0327209329262965 treat image : temp/1747210648_2222791_1358122674_d1f4c7a8e9e4abf04fa0a9a64f64c215.jpg resize: (1080, 1632) 1358122674 -5.452867330295586 treat image : temp/1747210648_2222791_1358122641_c13872e6ac2bd8bb892bb07fe0fec940.jpg resize: (1080, 1632) 1358122641 -3.4365193415436686 treat image : temp/1747210648_2222791_1358122047_d2fc4bbc4b80ab41822c12d768618b32.jpg resize: (1080, 1632) 1358122047 -3.3234872065646957 treat image : temp/1747210648_2222791_1358121956_015795f3ef57839dbf6e530f61ee0cdf.jpg resize: (1080, 1632) 1358121956 -3.138583589887072 treat image : temp/1747210648_2222791_1358121857_4a3865839640c715ed97e23dca6ab828.jpg resize: (1080, 1632) 1358121857 -4.817553121923963 treat image : temp/1747210648_2222791_1358121797_abc3cc59e45d17ab01ca8ce54930ed08.jpg resize: (1080, 1632) 1358121797 -6.4058764076817285 treat image : temp/1747210648_2222791_1358121714_07f3415e02fde9ddc78079ae544dfb4b.jpg resize: (1080, 1632) 1358121714 -6.421554004988547 treat image : temp/1747210648_2222791_1358121453_1a8a1aa33aac395d70725ae6803ddc50.jpg resize: (1080, 1632) 1358121453 -1.2432535392370931 treat image : temp/1747210648_2222791_1358121346_e2b6cd44e8f638d4b2685daa81cde164.jpg resize: (1080, 1632) 1358121346 -5.756092744589291 treat image : temp/1747210648_2222791_1358121342_ee94d4e71edd2b9bb3e6c8eb41e3b11e.jpg resize: (1080, 1632) 1358121342 -5.729363630490193 treat image : temp/1747210648_2222791_1358121339_06b38272b99ccec23584427074f927a5.jpg resize: (1080, 1632) 1358121339 -3.599474874589645 treat image : temp/1747210648_2222791_1358121335_4aab319d01c3588f5d43ca4cb5134e85.jpg resize: (1080, 1632) 1358121335 -5.3233500822656294 treat image : temp/1747210648_2222791_1358121332_3c5b32ba77c452e5bf74282756139b22.jpg resize: (1080, 1632) 1358121332 -3.9262311762053175 treat image : temp/1747210648_2222791_1358121097_3ec0dfc6e3398a57d62eeb8d259c17a6.jpg resize: (1080, 1632) 1358121097 -3.575292806174277 treat image : temp/1747210648_2222791_1358121067_005b3e176d41a1ae60f0ba64a42d5f13.jpg resize: (1080, 1632) 1358121067 -5.619536599293052 treat image : temp/1747210648_2222791_1358121058_229741c3b20620493552b4937af65c6d.jpg resize: (1080, 1632) 1358121058 -4.976206214479484 treat image : temp/1747210648_2222791_1358121054_aeb68d416f9f3c821836ca54f46fcf82.jpg resize: (1080, 1632) 1358121054 -6.299741122488918 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.013645410537719727 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.013783931732177734 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015991926193237305 save missing photos in datou_result : time spend for datou_step_exec : 17.629857301712036 time spend to save output : 0.047753334045410156 total time spend for step 1 : 17.677610635757446 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.17user 5.03system 0:24.20elapsed 83%CPU (0avgtext+0avgdata 141072maxresident)k 112inputs+10456outputs (3major+250900minor)pagefaults 0swaps