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 : 600384 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 : 5625>100 please execute split_portfolio.py -i 24661193 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3243209'] with mtr_portfolio_ids : ['24661193'] and first list_photo_ids : [] new path : /proc/600384/ 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.3926568031311035 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 Jul 7 21:32: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/1751916746_600384_1371066204_81a1ce0f0d34a0f7a73a5422ef112085.jpg resize: (1080, 1632) 1371066204 -2.2324949063095465 treat image : temp/1751916746_600384_1371066202_39b53bbce6ac7b7c3b5cd7d01dba20e1.jpg resize: (1080, 1632) 1371066202 -2.2296098200623966 treat image : temp/1751916746_600384_1371066199_d8f148f4c2e4f88b630c11530a7aa204.jpg resize: (1080, 1632) 1371066199 -2.2461047896094324 treat image : temp/1751916746_600384_1371066196_5de5744c830005bd20c40cc1b4028d4e.jpg resize: (1080, 1632) 1371066196 -2.245102264217852 treat image : temp/1751916746_600384_1371066193_c0541c8ae781606ed64edd4a1f4c88b6.jpg resize: (1080, 1632) 1371066193 -2.238038551352953 treat image : temp/1751916746_600384_1371066188_300c5a7a9ef3a9d17f1bf583da3bee99.jpg resize: (1080, 1632) 1371066188 -2.2524418403212376 treat image : temp/1751916746_600384_1371066178_6516fd31f162e63a853b998ee36aa475.jpg resize: (1080, 1632) 1371066178 -2.8230024176137047 treat image : temp/1751916746_600384_1371066174_3f452de08ad24f903c096f19f3081841.jpg resize: (1080, 1632) 1371066174 -2.807210994949096 treat image : temp/1751916746_600384_1371066166_fb9ee081efcd901c4bbc8755a15a5f6e.jpg resize: (1080, 1632) 1371066166 -2.782153561348808 treat image : temp/1751916746_600384_1371066163_cc7ec80246ec3ccff4d3347141629c8f.jpg resize: (1080, 1632) 1371066163 -2.800649381690789 treat image : temp/1751916746_600384_1371066151_42284daa37b4fa19607dfa3144bd7b12.jpg resize: (1080, 1632) 1371066151 -2.8379730109041774 treat image : temp/1751916746_600384_1371066143_d731f6a7b9fdb2f5cb8c60bf588b44dd.jpg resize: (1080, 1632) 1371066143 -2.8041551569567047 treat image : temp/1751916746_600384_1371066095_9359efb7f816e9ede147cfb05f6e1af0.jpg resize: (1080, 1632) 1371066095 -2.2241905964865967 treat image : temp/1751916746_600384_1371066093_19da6d44062df22a4fe6bfea9ed9671a.jpg resize: (1080, 1632) 1371066093 -2.2266208067017765 treat image : temp/1751916746_600384_1371066090_af0cdd65beb426c92213a8002f8767fe.jpg resize: (1080, 1632) 1371066090 -2.227574310757517 treat image : temp/1751916746_600384_1371066084_8b23ef3a0a18ffb0b6e2df2f6d61be1a.jpg resize: (1080, 1632) 1371066084 -2.2263956973941883 treat image : temp/1751916746_600384_1371066080_003862c3e3705806666e16bc2a91b2e3.jpg resize: (1080, 1632) 1371066080 -2.2130948456153203 treat image : temp/1751916746_600384_1371066074_05dbb6e116a8ed9edb2cb0c98d220995.jpg resize: (1080, 1632) 1371066074 -2.201555234876413 treat image : temp/1751916746_600384_1371065979_3d94c11a6a75c785c6ca8594f6202463.jpg resize: (1080, 1632) 1371065979 -2.1199912212130716 treat image : temp/1751916746_600384_1371065977_027e3b206aab1ffd080aa59826a71f95.jpg resize: (1080, 1632) 1371065977 -2.135964298062297 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.013554573059082031 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.0118408203125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013940095901489258 save missing photos in datou_result : time spend for datou_step_exec : 14.580395936965942 time spend to save output : 0.04418826103210449 total time spend for step 1 : 14.624584197998047 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.93user 3.08system 0:18.77elapsed 90%CPU (0avgtext+0avgdata 138964maxresident)k 8inputs+6832outputs (2major+254244minor)pagefaults 0swaps