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 : 3631884 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 : 1062>100 please execute split_portfolio.py -i 26046294 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3551387'] with mtr_portfolio_ids : ['26046294'] and first list_photo_ids : [] new path : /proc/3631884/ 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.107963800430298 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 Aug 18 13:37:28 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/1755517046_3631884_1377701519_5effda6c833f290540f76dcaedf8cebe.jpg resize: (1080, 1632) 1377701519 -1.4887505781561026 treat image : temp/1755517046_3631884_1377701518_5ba50ab57aafeb84d41aecc84def6dda.jpg resize: (1080, 1632) 1377701518 -1.4887505781561026 treat image : temp/1755517046_3631884_1377701514_d8f263f24a868dd139ed322e173b9191.jpg resize: (1080, 1632) 1377701514 -1.8698791900203646 treat image : temp/1755517046_3631884_1377701513_5ed43196bdff7727c83cce0e006c77d4.jpg resize: (1080, 1632) 1377701513 -1.8698791900203646 treat image : temp/1755517046_3631884_1377701509_e26e5e915f62f1be70b370930427fb08.jpg resize: (1080, 1632) 1377701509 -2.5457021816315253 treat image : temp/1755517046_3631884_1377701508_5111d071e1da77e81e99432e8c898678.jpg resize: (1080, 1632) 1377701508 -2.5457021816315253 treat image : temp/1755517046_3631884_1377701505_3188f6263338547768635ca5d6f3ae00.jpg resize: (1080, 1632) 1377701505 -1.6899315686168424 treat image : temp/1755517046_3631884_1377701503_87959afeae723707a6f19e345d8e2e3a.jpg resize: (1080, 1632) 1377701503 -1.6899315686168424 treat image : temp/1755517046_3631884_1377701500_73b851f256cbc80d9c21d18d7d137c02.jpg resize: (1080, 1632) 1377701500 -1.0290064020639504 treat image : temp/1755517046_3631884_1377701499_82c760c2f31e104cd4c99eb05575d314.jpg resize: (1080, 1632) 1377701499 -1.0290064020639504 treat image : temp/1755517046_3631884_1377701497_0b234c3759c680383e220c95b2d74b85.jpg resize: (1080, 1632) 1377701497 -2.791516275998861 treat image : temp/1755517046_3631884_1377701496_9bdfa4031a2f670d59a77d1591fdec74.jpg resize: (1080, 1632) 1377701496 -2.791516275998861 treat image : temp/1755517046_3631884_1377701491_c748bef5305affe68a9adaac13089542.jpg resize: (1080, 1632) 1377701491 -3.152291915941033 treat image : temp/1755517046_3631884_1377701488_305c9bfd31fbbff5edf9033b4fa73d4b.jpg resize: (1080, 1632) 1377701488 -4.440767173888502 treat image : temp/1755517046_3631884_1377701484_d1fa5b5f9e67fafd86497a881ec332f1.jpg resize: (1080, 1632) 1377701484 -5.188534645435167 treat image : temp/1755517046_3631884_1377701479_a29648139a32f4023eb3cf2ba1b25da6.jpg resize: (1080, 1632) 1377701479 -5.5627455719666115 treat image : temp/1755517046_3631884_1377701473_53a96d986a4faa9dbb0fc78c1636ebfb.jpg resize: (1080, 1632) 1377701473 -5.62241951704404 treat image : temp/1755517046_3631884_1377701469_fcf17815b2df753f51565a9c50d8c226.jpg resize: (1080, 1632) 1377701469 -5.275384534860137 treat image : temp/1755517046_3631884_1377700744_a187277307bd8e9f5387507b02c69a2f.jpg resize: (1080, 1632) 1377700744 -2.0314542027484044 treat image : temp/1755517046_3631884_1377700739_8193432821b41db89cbf23d0d05bcf57.jpg resize: (1080, 1632) 1377700739 -5.353669014426703 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.012764930725097656 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.012073516845703125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014795780181884766 save missing photos in datou_result : time spend for datou_step_exec : 15.765940189361572 time spend to save output : 0.04491424560546875 total time spend for step 1 : 15.810854434967041 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.18user 3.21system 0:19.88elapsed 92%CPU (0avgtext+0avgdata 139948maxresident)k 48inputs+7464outputs (0major+254393minor)pagefaults 0swaps