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 : 3425710 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 : 8670>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3425710/ 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.1720283031463623 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 Sat Jul 5 07:47: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/1751694449_3425710_1370752479_b5353c30199631bb0515aa4e7503b7b2.jpg resize: (1080, 1632) 1370752479 -5.003684635054661 treat image : temp/1751694449_3425710_1370752458_34f2943ac6f3a9d9cdc23f0839771845.jpg resize: (1080, 1632) 1370752458 -4.991978740513256 treat image : temp/1751694449_3425710_1370752446_db8d3c57a5710d11e23264a6682aa796.jpg resize: (1080, 1632) 1370752446 -4.963209171717995 treat image : temp/1751694449_3425710_1370752444_600143e2e4618210eae76cac8e2b7706.jpg resize: (1080, 1632) 1370752444 -4.998400929058664 treat image : temp/1751694449_3425710_1370752442_f77f495fb9659fc75af42a1feb20e516.jpg resize: (1080, 1632) 1370752442 -4.99882960331956 treat image : temp/1751694449_3425710_1370752431_30e6ed5556844744f3c865b1e0c7bd7a.jpg resize: (1080, 1632) 1370752431 -4.997286537255073 treat image : temp/1751694449_3425710_1370752412_9b735d8d6a6a397feb63388392783012.jpg resize: (1080, 1632) 1370752412 -4.988837524684612 treat image : temp/1751694449_3425710_1370752406_81ad8f4aaab4f14e3dc4a803ff90e066.jpg resize: (1080, 1632) 1370752406 -5.003399651959057 treat image : temp/1751694449_3425710_1370752403_359c73cc848dd3d7575511696ceb258b.jpg resize: (1080, 1632) 1370752403 -4.991179887466975 treat image : temp/1751694449_3425710_1370752389_4da7b379189550eea177d375ae4ec1e8.jpg resize: (1080, 1632) 1370752389 -4.9932570134996155 treat image : temp/1751694449_3425710_1370752388_97b8c78fd8b1b1874978e5be73882e9a.jpg resize: (1080, 1632) 1370752388 -5.008243060804981 treat image : temp/1751694449_3425710_1370752386_5c310cf6862659c588b8f45bf6ce3169.jpg resize: (1080, 1632) 1370752386 -5.002819766904602 treat image : temp/1751694449_3425710_1370752366_9079bc4c4acd5200078d4d446db528b4.jpg resize: (1080, 1632) 1370752366 -5.013351933967696 treat image : temp/1751694449_3425710_1370752361_5bb689fef97c710a79ac838f36ad84d2.jpg resize: (1080, 1632) 1370752361 -5.0162521813069665 treat image : temp/1751694449_3425710_1370752345_7808f3b084046e16b334c133b8b43646.jpg resize: (1080, 1632) 1370752345 -4.998311655112371 treat image : temp/1751694449_3425710_1370752341_2e6eee801a10de8f25f66a93ff396a06.jpg resize: (1080, 1632) 1370752341 -5.001926353046157 treat image : temp/1751694449_3425710_1370752338_c84f137df973b441b5e0a5b43346361a.jpg resize: (1080, 1632) 1370752338 -5.003020146266743 treat image : temp/1751694449_3425710_1370752336_2cf9c87c1bf6e77f435ade8272073b5a.jpg resize: (1080, 1632) 1370752336 -5.000830814100271 treat image : temp/1751694449_3425710_1370751796_8fb7c10dbb7158421823ab35bbcf0ed0.jpg resize: (1080, 1632) 1370751796 -5.009783350263595 treat image : temp/1751694449_3425710_1370751757_1878d82a94a8a0a8d3eedeb7dab2d2b0.jpg resize: (1080, 1632) 1370751757 -5.015096190424873 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.014773845672607422 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.06099653244018555 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.07976746559143066 save missing photos in datou_result : time spend for datou_step_exec : 16.525823831558228 time spend to save output : 0.16051793098449707 total time spend for step 1 : 16.686341762542725 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.36user 4.45system 0:22.23elapsed 84%CPU (0avgtext+0avgdata 137244maxresident)k 2688inputs+10088outputs (32major+259606minor)pagefaults 0swaps