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 : 165315 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 : 3562>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/165315/ 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.391533374786377 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 Mon May 12 23:57: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/1747087046_165315_1357748157_ed017ea443b8d8c64cfdb8873f4c192d.jpg resize: (1080, 1632) 1357748157 -6.577394020395333 treat image : temp/1747087046_165315_1357748154_3aded2ce254cb2ad08f2b9b1727facb5.jpg resize: (1080, 1632) 1357748154 -6.180085623965877 treat image : temp/1747087046_165315_1357748149_9c65d01c4df2c42c6626c41e491ff1eb.jpg resize: (1080, 1632) 1357748149 -6.346415146734303 treat image : temp/1747087046_165315_1357748145_078cd9eb1372c41da3a7b8c598dd6d12.jpg resize: (1080, 1632) 1357748145 -5.3616051539480205 treat image : temp/1747087046_165315_1357748143_4227e2889517bbd9f5f2aee40b95b242.jpg resize: (1080, 1632) 1357748143 -6.100576290981364 treat image : temp/1747087046_165315_1357748119_8223854646aa59420f45464fd7cb932b.jpg resize: (1080, 1632) 1357748119 -6.3445115130535505 treat image : temp/1747087046_165315_1357748116_1529b636a49bcf70012affda0381bbb3.jpg resize: (1080, 1632) 1357748116 -6.289320551416389 treat image : temp/1747087046_165315_1357748113_4a6d22789b9c67c562bcda7aae329962.jpg resize: (1080, 1632) 1357748113 -6.308935390839992 treat image : temp/1747087046_165315_1357748110_6459ec394dae6d75cdeec63dd5265b9d.jpg resize: (1080, 1632) 1357748110 -5.688277797067825 treat image : temp/1747087046_165315_1357748107_3b08ce9ac809600dda83f3375482ca7f.jpg resize: (1080, 1632) 1357748107 -2.8128554722351953 treat image : temp/1747087046_165315_1357747994_05682ba392ad3d477a02151bac885fbd.jpg resize: (1080, 1632) 1357747994 -4.762672632502723 treat image : temp/1747087046_165315_1357747992_a3134650eccf7996e102473b0f68586c.jpg resize: (1080, 1632) 1357747992 -5.7962629677497235 treat image : temp/1747087046_165315_1357747989_eec03b4df260b7d1100ae62544b148f1.jpg resize: (1080, 1632) 1357747989 -6.474630069515498 treat image : temp/1747087046_165315_1357747943_44f0563fc74036d3d967a3b7558dce79.jpg resize: (1080, 1632) 1357747943 -0.30652790320089845 treat image : temp/1747087046_165315_1357747941_6eec1f0fdca650cbeaebb4bad80228f6.jpg resize: (1080, 1632) 1357747941 -2.194227763272946 treat image : temp/1747087046_165315_1357747939_a8cf745ae0fd8ea10f6d74e24162af2c.jpg resize: (1080, 1632) 1357747939 -3.2566479244754984 treat image : temp/1747087046_165315_1357747917_20df9e1aa13b1794de3d73e0c47a3c79.jpg resize: (1080, 1632) 1357747917 -6.2598692579123405 treat image : temp/1747087046_165315_1357747916_100e823dbb807e5361e4fb675211fa66.jpg resize: (1080, 1632) 1357747916 -6.4857382301772235 treat image : temp/1747087046_165315_1357747914_713a48bcee6d8082158b0605b33062d7.jpg resize: (1080, 1632) 1357747914 -5.8798933052300235 treat image : temp/1747087046_165315_1357747912_6afd110c68500632b158294ce54eed46.jpg resize: (1080, 1632) 1357747912 -6.4613143719312705 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.01604175567626953 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.016035795211791992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017885684967041016 save missing photos in datou_result : time spend for datou_step_exec : 20.53072738647461 time spend to save output : 0.05516552925109863 total time spend for step 1 : 20.585892915725708 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.82user 8.02system 0:24.70elapsed 92%CPU (0avgtext+0avgdata 139644maxresident)k 3504inputs+11288outputs (39major+260508minor)pagefaults 0swaps