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 : 1294558 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 : 2257>100 please execute split_portfolio.py -i 26665669 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3681293'] with mtr_portfolio_ids : ['26665669'] and first list_photo_ids : [] new path : /proc/1294558/ 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.3797109127044678 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 9 15:02: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/1757422949_1294558_1382779419_a1e80001c1615175be41265cc996e473.jpg resize: (1080, 1632) 1382779419 -5.412028677965591 treat image : temp/1757422949_1294558_1382779417_4e5f7af0e4666151e02bb876166091a0.jpg resize: (1080, 1632) 1382779417 -4.616564881138836 treat image : temp/1757422949_1294558_1382779415_944234d8796708c137d19559409f306a.jpg resize: (1080, 1632) 1382779415 -5.0785429604883365 treat image : temp/1757422949_1294558_1382779401_606701f4b75aa940adb85a658c1fe8b6.jpg resize: (1080, 1632) 1382779401 -2.817597882554579 treat image : temp/1757422949_1294558_1382779396_40ef49da1942e8c219bd2ae8a0fb12a0.jpg resize: (1080, 1632) 1382779396 -5.546253590837742 treat image : temp/1757422949_1294558_1382779388_7f55003a064d603cdf6648f3755c24d4.jpg resize: (1080, 1632) 1382779388 -1.676408698107672 treat image : temp/1757422949_1294558_1382779385_78e7ac4d429ba5779f69a51bc268ca5b.jpg resize: (1080, 1632) 1382779385 -2.2498212681584007 treat image : temp/1757422949_1294558_1382779382_e4bc0a7881e604b7364c7e9738e84d24.jpg resize: (1080, 1632) 1382779382 -2.555689316507486 treat image : temp/1757422949_1294558_1382779380_2c66bc7b5cdf0f5727d141f275add256.jpg resize: (1080, 1632) 1382779380 -3.1752394130648405 treat image : temp/1757422949_1294558_1382779371_b8234b19de4a5ef039bde37b32668d04.jpg resize: (1080, 1632) 1382779371 -1.4954239150767463 treat image : temp/1757422949_1294558_1382779367_d3f4fd1d62d6a615f6c5c8ceb84c6350.jpg resize: (1080, 1632) 1382779367 -4.399780828914111 treat image : temp/1757422949_1294558_1382779365_3eaff1e8217dbc165a216006468eed86.jpg resize: (1080, 1632) 1382779365 -4.799179557980949 treat image : temp/1757422949_1294558_1382779363_0d8f26003db23380a3624f0434f2678d.jpg resize: (1080, 1632) 1382779363 -4.442246843449487 treat image : temp/1757422949_1294558_1382779350_877b700e9387ba747b4dc8e46214b189.jpg resize: (1080, 1632) 1382779350 -4.719611784306673 treat image : temp/1757422949_1294558_1382779338_83f1a2c4cd312742661187aad766efa7.jpg resize: (1080, 1632) 1382779338 -4.849849553243052 treat image : temp/1757422949_1294558_1382779330_f5fc9e5172558fda70dc46dc36d4ad3d.jpg resize: (1080, 1632) 1382779330 -2.5226301407797984 treat image : temp/1757422949_1294558_1382779325_a97bedaf8a624641fa3633776aea7731.jpg resize: (1080, 1632) 1382779325 -5.866638031838715 treat image : temp/1757422949_1294558_1382779321_643f5f39291038ce570e9f8ce4ac67d6.jpg resize: (1080, 1632) 1382779321 -1.678656049025592 treat image : temp/1757422949_1294558_1382779315_8fa986eeb251474075dab0144ac9316b.jpg resize: (1080, 1632) 1382779315 -3.4814672001273017 treat image : temp/1757422949_1294558_1382779308_95bd7358d72a60c73cc50a48f8d9024d.jpg resize: (1080, 1632) 1382779308 -3.6916148196268512 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.01468038558959961 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.012756109237670898 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014315366744995117 save missing photos in datou_result : time spend for datou_step_exec : 14.012386560440063 time spend to save output : 0.04691505432128906 total time spend for step 1 : 14.059301614761353 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.76user 2.74system 0:20.27elapsed 81%CPU (0avgtext+0avgdata 138800maxresident)k 0inputs+8800outputs (14major+250508minor)pagefaults 0swaps