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 : 3828751 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 : 4235>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/3828751/ 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.050849676132202 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 Jul 18 19:02:30 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/1752858148_3828751_1372645221_1d18385282c6eb33e76cd94c526fe481.jpg resize: (1080, 1632) 1372645221 -4.600406139474919 treat image : temp/1752858148_3828751_1372645194_41c815ea4befa57e9ba40a8c35079fde.jpg resize: (1080, 1632) 1372645194 -5.116501893042966 treat image : temp/1752858148_3828751_1372645168_cddca0c88b68656b83dcfa90bd01c683.jpg resize: (1080, 1632) 1372645168 -5.093423050060493 treat image : temp/1752858148_3828751_1372645163_4d6e3b53cc07cd1d9fcb60a31bbe7e24.jpg resize: (1080, 1632) 1372645163 -4.108265246827319 treat image : temp/1752858148_3828751_1372645162_a358da6a3aa803184a3446ee7a16eaec.jpg resize: (1080, 1632) 1372645162 -5.493971228364738 treat image : temp/1752858148_3828751_1372645158_00df85e35a8f0a936747f5a5ffe1c010.jpg resize: (1080, 1632) 1372645158 -5.516315394766868 treat image : temp/1752858148_3828751_1372644918_d262ec01788bf2280ff16345419110d7.jpg resize: (1080, 1632) 1372644918 -2.921473002763881 treat image : temp/1752858148_3828751_1372644874_17dcad3eec7a80d9cec4c1a5676c5e00.jpg resize: (1080, 1632) 1372644874 -2.9817427085550228 treat image : temp/1752858148_3828751_1372644794_d417fa8b2b707d3cc783164056ddebd8.jpg resize: (1080, 1632) 1372644794 -1.5557356141646015 treat image : temp/1752858148_3828751_1372644717_efa55de3e1cf6636ba5f0085965d3c1d.jpg resize: (1080, 1632) 1372644717 -3.828406523904564 treat image : temp/1752858148_3828751_1372644648_f067f4c7d5a0484353d5929ca2c7b4ff.jpg resize: (1080, 1632) 1372644648 -2.6515856691646067 treat image : temp/1752858148_3828751_1372644591_24152f1e829b43c83f9e53bd960bbcab.jpg resize: (1080, 1632) 1372644591 -5.125926495398107 treat image : temp/1752858148_3828751_1372644000_43ea444ab47254a1d821c372b2bcf7f3.jpg resize: (1080, 1632) 1372644000 -4.5939023985648 treat image : temp/1752858148_3828751_1372643942_af26434fabf36a6b0e12b3fcb7fe9636.jpg resize: (1080, 1632) 1372643942 -4.651163812571479 treat image : temp/1752858148_3828751_1372643889_d258a35ae0c034deb32ca569c96a4cab.jpg resize: (1080, 1632) 1372643889 -4.650165588047763 treat image : temp/1752858148_3828751_1372643836_485f9528d35502336111fc315e42245a.jpg resize: (1080, 1632) 1372643836 -4.647779227782796 treat image : temp/1752858148_3828751_1372643778_01d3ee874184fed1bb77f4e415134e9c.jpg resize: (1080, 1632) 1372643778 -1.934755936217926 treat image : temp/1752858148_3828751_1372643717_f41dba476a7435cf77ebd1f33b9e263e.jpg resize: (1080, 1632) 1372643717 -2.9327501713548534 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.013521671295166016 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.012072324752807617 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.016011953353881836 save missing photos in datou_result : time spend for datou_step_exec : 15.231367826461792 time spend to save output : 0.04689741134643555 total time spend for step 1 : 15.278265237808228 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.62user 5.31system 0:20.38elapsed 87%CPU (0avgtext+0avgdata 139764maxresident)k 96inputs+7648outputs (5major+240491minor)pagefaults 0swaps