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 : 857520 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 : 822>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/857520/ 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.305060625076294 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 Fri Jul 4 10: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/1751616149_857520_1370530275_4ae44c24639316e8fec7bdcc4dc54711.jpg resize: (1080, 1632) 1370530275 -4.140952343881192 treat image : temp/1751616149_857520_1370530264_6deca9b8ea9ccec0d3b5b08aabb14e09.jpg resize: (1080, 1632) 1370530264 -4.140952343881192 treat image : temp/1751616149_857520_1370530178_f92089ccfa5b6fc74bab10193a2ab5fc.jpg resize: (1080, 1632) 1370530178 -5.841265935891638 treat image : temp/1751616149_857520_1370530172_93c19902cff8cc6ad3e8f785349cb2e8.jpg resize: (1080, 1632) 1370530172 -5.841265935891638 treat image : temp/1751616149_857520_1370530112_f1706b2695370e6f82cd3d56ca1c721b.jpg resize: (1080, 1632) 1370530112 -5.819346948063522 treat image : temp/1751616149_857520_1370530095_caacc91bcabb8fac63a64696a03e7ffe.jpg resize: (1080, 1632) 1370530095 -5.819346948063522 treat image : temp/1751616149_857520_1370530022_77d674a5ea08d7743488ddaa6242bfac.jpg resize: (1080, 1632) 1370530022 -6.036095332439738 treat image : temp/1751616149_857520_1370530019_e8b96725c97fae65702d4c5d91ca00f3.jpg resize: (1080, 1632) 1370530019 -6.036095332439738 treat image : temp/1751616149_857520_1370529948_ac9540772238f93ab6a5616fd36a2994.jpg resize: (1080, 1632) 1370529948 -6.012598129462338 treat image : temp/1751616149_857520_1370529943_57da51ed1b8dee6a50393964f9bd72a8.jpg resize: (1080, 1632) 1370529943 -6.012598129462338 treat image : temp/1751616149_857520_1370529853_a758190ae88244d508006f355b3ad20e.jpg resize: (1080, 1632) 1370529853 -5.99931644663151 treat image : temp/1751616149_857520_1370529849_aaed332cc50761d222c13dd7ecaf4751.jpg resize: (1080, 1632) 1370529849 -5.99931644663151 treat image : temp/1751616149_857520_1370529477_a79be7e83565ba40cd8948013c35bc2b.jpg resize: (1080, 1632) 1370529477 -5.181067297927546 treat image : temp/1751616149_857520_1370529347_09a0d90c61436e00b9498afbb9ff1a2d.jpg resize: (1080, 1632) 1370529347 -5.35645994083077 treat image : temp/1751616149_857520_1370529214_e466f58a99041d34a29f48739d3311d6.jpg resize: (1080, 1632) 1370529214 -4.894363179531055 treat image : temp/1751616149_857520_1370529080_1587aaf1ace4c491c8dd87b406d43a17.jpg resize: (1080, 1632) 1370529080 -2.0104870960829904 treat image : temp/1751616149_857520_1370528947_5d26820865ea84ce21c89aaa7df234bc.jpg resize: (1080, 1632) 1370528947 -1.7338594539563064 treat image : temp/1751616149_857520_1370528829_38a1b6767c2b929c08cb2b645d4b8bd9.jpg resize: (1080, 1632) 1370528829 -2.6888528181141425 treat image : temp/1751616149_857520_1370528327_11510e782d7785c9db8aceb98ac65324.jpg resize: (1080, 1632) 1370528327 -1.246609019385067 treat image : temp/1751616149_857520_1370528229_c1d76aa65248804abf74c5ef3b215f12.jpg resize: (1080, 1632) 1370528229 -2.15817323922367 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.01358938217163086 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.0159909725189209 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016770601272583008 save missing photos in datou_result : time spend for datou_step_exec : 16.570124864578247 time spend to save output : 0.05164933204650879 total time spend for step 1 : 16.621774196624756 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 4.42system 0:22.81elapsed 82%CPU (0avgtext+0avgdata 137420maxresident)k 96inputs+9768outputs (2major+255296minor)pagefaults 0swaps