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 : 3356618 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3356618/ 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 : 3.702669858932495 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 Tue Sep 16 18:12:32 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/1758039149_3356618_1383547305_fe12bf442a0b04b1e789c9348fd09d6b.jpg resize: (1080, 1632) 1383547305 -3.109062760607738 treat image : temp/1758039149_3356618_1383547301_a1e06642aaa67bf3eba3294a93df7940.jpg resize: (1080, 1632) 1383547301 -5.596056910306777 treat image : temp/1758039149_3356618_1383547299_c5ef9c86e8a52f05ffcdbac544981fe7.jpg resize: (1080, 1632) 1383547299 -5.801610336620504 treat image : temp/1758039149_3356618_1383547297_922f5c84ae90cb4c0701355ab3202e1b.jpg resize: (1080, 1632) 1383547297 -3.997298171644464 treat image : temp/1758039149_3356618_1383547295_7bb861bad85c42240fae51d569034fa6.jpg resize: (1080, 1632) 1383547295 -5.651782881694775 treat image : temp/1758039149_3356618_1383547266_43606238f4389de6707ff8f54dfda347.jpg resize: (1080, 1632) 1383547266 -3.988234774531569 treat image : temp/1758039149_3356618_1383547263_d151383e2406dac1b92c332cf946a342.jpg resize: (1080, 1632) 1383547263 -5.896875652417839 treat image : temp/1758039149_3356618_1383547259_7c799977ecb01f9a137e534dd1160ace.jpg resize: (1080, 1632) 1383547259 -6.087535688653495 treat image : temp/1758039149_3356618_1383547257_67222eaaa8e83a5746c41d7dbe5f15e3.jpg resize: (1080, 1632) 1383547257 -6.2589315641968994 treat image : temp/1758039149_3356618_1383547256_c55984b94ba514380e662d59ab2ab86d.jpg resize: (1080, 1632) 1383547256 -6.0716322722496905 treat image : temp/1758039149_3356618_1383547252_b45caebe65dadc95160063dc9b754307.jpg resize: (1080, 1632) 1383547252 -5.509503512080349 treat image : temp/1758039149_3356618_1383547228_1230666f87f1a5830df7e555f51ccc03.jpg resize: (1080, 1632) 1383547228 -0.43368472655501067 treat image : temp/1758039149_3356618_1383547227_d4565612129f79d6b013e7fe52279765.jpg resize: (1080, 1632) 1383547227 -3.1794492479341523 treat image : temp/1758039149_3356618_1383547225_450b554a2217cf68c8dec52b090944b8.jpg resize: (1080, 1632) 1383547225 -4.183294200771563 treat image : temp/1758039149_3356618_1383547210_87064b8310fe07f8ed5e1c46c6cf2c65.jpg resize: (1080, 1632) 1383547210 -5.80474043428877 treat image : temp/1758039149_3356618_1383547207_2771a315abd9dfd6abc6e3c061909967.jpg resize: (1080, 1632) 1383547207 -6.003167360590233 treat image : temp/1758039149_3356618_1383547202_33f78327e24c1fc760aa7c66668f8451.jpg resize: (1080, 1632) 1383547202 -5.270429967955367 treat image : temp/1758039149_3356618_1383547198_be594f3643c60fef2ef3962ca4edc68a.jpg resize: (1080, 1632) 1383547198 -6.116576206906361 treat image : temp/1758039149_3356618_1383547194_70a5d8e0012f02e2e735077fdabfe18a.jpg resize: (1080, 1632) 1383547194 -5.995434150234255 treat image : temp/1758039149_3356618_1383547190_8b9f3f6a796f82a1fcc29a9d5fd10c08.jpg resize: (1080, 1632) 1383547190 -4.0943632321012435 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.01601696014404297 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.01386404037475586 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014893531799316406 save missing photos in datou_result : time spend for datou_step_exec : 16.523035287857056 time spend to save output : 0.04980349540710449 total time spend for step 1 : 16.57283878326416 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.84user 4.44system 0:23.41elapsed 82%CPU (0avgtext+0avgdata 140840maxresident)k 152inputs+10648outputs (1major+257610minor)pagefaults 0swaps