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 : 1275222 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 : 2149>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/1275222/ 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.851219415664673 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 14:47: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/1757422047_1275222_1382778763_e5e126861b56a7850c07776f6b985aa9.jpg resize: (1080, 1632) 1382778763 -2.5627279468115227 treat image : temp/1757422047_1275222_1382778760_1c72f4dd42ffa279dcbc0cfbd6c73d39.jpg resize: (1080, 1632) 1382778760 -1.0105182987809216 treat image : temp/1757422047_1275222_1382778758_3692d72d366c806058ce8e3b628d1497.jpg resize: (1080, 1632) 1382778758 -2.0542929872407893 treat image : temp/1757422047_1275222_1382778756_e0b60e3a3da37ddb1d302d26d0ce23f2.jpg resize: (1080, 1632) 1382778756 -5.285908054929071 treat image : temp/1757422047_1275222_1382778751_1bbf23701daadff3bd8850159a063520.jpg resize: (1080, 1632) 1382778751 -3.921987658250914 treat image : temp/1757422047_1275222_1382778721_aac970dcdc1ab1709b14e6e630e2a948.jpg resize: (1080, 1632) 1382778721 -3.6489459625452807 treat image : temp/1757422047_1275222_1382778716_21a23ab110ddc8f5b6df7414e20430ad.jpg resize: (1080, 1632) 1382778716 -3.6723797779955096 treat image : temp/1757422047_1275222_1382778712_33303d8953d4ceadf7bf231a1e7b6121.jpg resize: (1080, 1632) 1382778712 -3.2152770450891532 treat image : temp/1757422047_1275222_1382778709_e2c64eb50732ca6128cd61eb557e176f.jpg resize: (1080, 1632) 1382778709 -4.196441677847508 treat image : temp/1757422047_1275222_1382778705_2cc2813f4458ebebc483fc00322812ea.jpg resize: (1080, 1632) 1382778705 -3.5214832971854264 treat image : temp/1757422047_1275222_1382778701_beaf2a1ded3c735bde99c3d99a0e0abe.jpg resize: (1080, 1632) 1382778701 -5.337769115386039 treat image : temp/1757422047_1275222_1382778681_de19f15c499d6e84bd2f2231b69c0040.jpg resize: (1080, 1632) 1382778681 -5.732017947301954 treat image : temp/1757422047_1275222_1382778677_e0a8de0a7765b543b8759aaea72a9f00.jpg resize: (1080, 1632) 1382778677 -5.050764041295096 treat image : temp/1757422047_1275222_1382778673_fc92fab92b5afd45e5165641ba878d51.jpg resize: (1080, 1632) 1382778673 -3.937312207181377 treat image : temp/1757422047_1275222_1382778671_7b39d9c306dfb9232ebd9d5cc7c42cc2.jpg resize: (1080, 1632) 1382778671 -1.316642100979154 treat image : temp/1757422047_1275222_1382778669_d2be55e684d7907b483f4e56349d0536.jpg resize: (1080, 1632) 1382778669 -1.7918482742802289 treat image : temp/1757422047_1275222_1382778655_200e6324c0eb3b298caf779043b9b190.jpg resize: (1080, 1632) 1382778655 -1.7522019400074325 treat image : temp/1757422047_1275222_1382778650_00de81429cc70cda778afb4a2f8fff7f.jpg resize: (1080, 1632) 1382778650 -3.5355669936451117 treat image : temp/1757422047_1275222_1382778646_63ae1c9a9a9695dbafc74bc8e6284cfc.jpg resize: (1080, 1632) 1382778646 -4.86567925592248 treat image : temp/1757422047_1275222_1382778642_77e118fe758827e367955d7ef0548098.jpg resize: (1080, 1632) 1382778642 -5.460375854502487 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.012600898742675781 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.013981342315673828 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018311738967895508 save missing photos in datou_result : time spend for datou_step_exec : 14.954253435134888 time spend to save output : 0.04962921142578125 total time spend for step 1 : 15.003882646560669 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 2.80system 0:20.44elapsed 85%CPU (0avgtext+0avgdata 138412maxresident)k 160inputs+8992outputs (0major+259836minor)pagefaults 0swaps