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 : 1974008 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 : 6439>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/1974008/ 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.4183554649353027 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 Thu Jul 10 20:17: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/1752171447_1974008_1371518659_17edd75ccbb367b99def7f2f8c42c756.jpg resize: (1080, 1632) 1371518659 -3.5611182358360205 treat image : temp/1752171447_1974008_1371518655_24bdab862de624f28a3c3767c6b63749.jpg resize: (1080, 1632) 1371518655 -3.349487335227183 treat image : temp/1752171447_1974008_1371518648_81ce8a9a717caee1483397a765dfdf64.jpg resize: (1080, 1632) 1371518648 -2.548699259709354 treat image : temp/1752171447_1974008_1371518640_d43b595f155f7d25277254bab28aed13.jpg resize: (1080, 1632) 1371518640 -2.7641652671111197 treat image : temp/1752171447_1974008_1371518572_dbb42bb373694581979546aa947353ea.jpg resize: (1080, 1632) 1371518572 -4.198136324616687 treat image : temp/1752171447_1974008_1371518570_2ef1d92fdf8660a50602f956cfba2f0d.jpg resize: (1080, 1632) 1371518570 -1.6617918609299158 treat image : temp/1752171447_1974008_1371518554_99d38b074e0cfd05984bdced4a24d872.jpg resize: (1080, 1632) 1371518554 -3.464817487597623 treat image : temp/1752171447_1974008_1371518454_ce5ef39f010367cee3e3a9ab5a78d8f1.jpg resize: (1080, 1632) 1371518454 -3.3421067528488053 treat image : temp/1752171447_1974008_1371518401_7bb53700904ab4d1cb5b833e1905d231.jpg resize: (1080, 1632) 1371518401 -3.5491574776556116 treat image : temp/1752171447_1974008_1371518397_bc0d7edecfd7e799e73f233a6ce91e33.jpg resize: (1080, 1632) 1371518397 -2.5830028912700183 treat image : temp/1752171447_1974008_1371518392_f23459f6843204f3a06e30d81647940a.jpg resize: (1080, 1632) 1371518392 -2.331296753327952 treat image : temp/1752171447_1974008_1371518331_7e90708a6f9bfafd35986e4b93490c12.jpg resize: (1080, 1632) 1371518331 -2.6434245599665553 treat image : temp/1752171447_1974008_1371518304_b9edf595a3c5e22847b34f4e86e18e52.jpg resize: (1080, 1632) 1371518304 -5.40674134503847 treat image : temp/1752171447_1974008_1371518300_f6c39045d0dcb5509f001c4c99eb1a3f.jpg resize: (1080, 1632) 1371518300 -4.301011148749764 treat image : temp/1752171447_1974008_1371518120_9bc60a062b238ba027cd38aa7e85b916.jpg resize: (1080, 1632) 1371518120 -4.419510340736608 treat image : temp/1752171447_1974008_1371518105_37be95c73ea83243847cdf1a4f656c6c.jpg resize: (1080, 1632) 1371518105 -2.3723580963799997 treat image : temp/1752171447_1974008_1371518049_76a8155997c4292180be40b7b172f975.jpg resize: (1080, 1632) 1371518049 -3.4796278938538907 treat image : temp/1752171447_1974008_1371518046_0102b16f8b9c78109fd754e317347661.jpg resize: (1080, 1632) 1371518046 -2.4790855220125527 treat image : temp/1752171447_1974008_1371518003_d5911c4edfae61e915fd5a793e152d35.jpg resize: (1080, 1632) 1371518003 -2.6111075424047523 treat image : temp/1752171447_1974008_1371517936_dd93e4c28e676fdb6ea9ab230759b328.jpg resize: (1080, 1632) 1371517936 -5.11137036307103 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.014826536178588867 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.012844562530517578 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017011404037475586 save missing photos in datou_result : time spend for datou_step_exec : 14.614368677139282 time spend to save output : 0.049371957778930664 total time spend for step 1 : 14.663740634918213 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.67user 3.26system 0:19.00elapsed 89%CPU (0avgtext+0avgdata 139844maxresident)k 0inputs+7440outputs (12major+257083minor)pagefaults 0swaps