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 : 507431 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 : 1750>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/507431/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.087226629257202 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 24 05: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/1753328849_507431_1373458222_acb91cc2a1e63ad0591f570e63020cfc.jpg resize: (1080, 1632) 1373458222 -1.547648207167197 treat image : temp/1753328849_507431_1373458219_44f191b258ed3c6ce923d9346afeac4b.jpg resize: (1080, 1632) 1373458219 -5.01640444436527 treat image : temp/1753328849_507431_1373458216_fa15c604100119e801a844cc536d3097.jpg resize: (1080, 1632) 1373458216 -5.8863462380754035 treat image : temp/1753328849_507431_1373458215_40d2cbd69e8d09d92e43ef33c10a2b55.jpg resize: (1080, 1632) 1373458215 -5.256120589977023 treat image : temp/1753328849_507431_1373458213_e2359e47ce261468a991cedc43607912.jpg resize: (1080, 1632) 1373458213 -4.90091877608399 treat image : temp/1753328849_507431_1373458211_fe1dc96b8c61c16c14edb608a94838a2.jpg resize: (1080, 1632) 1373458211 -5.671141686395228 treat image : temp/1753328849_507431_1373458208_5beada730b33a98ce063c00337fa0aff.jpg resize: (1080, 1632) 1373458208 -3.4343547741434377 treat image : temp/1753328849_507431_1373458206_94d9405a928b91c160c14067b113cac7.jpg resize: (1080, 1632) 1373458206 -4.713752817547092 treat image : temp/1753328849_507431_1373458204_3e267ad9c9a2c72e2e1fbc0e264b0b2d.jpg resize: (1080, 1632) 1373458204 -1.9504107064943152 treat image : temp/1753328849_507431_1373458202_4c47f63dd5f705f52eaf2df38ee7df04.jpg resize: (1080, 1632) 1373458202 -1.9845757124758936 treat image : temp/1753328849_507431_1373458199_2be6e6f23cc334fdd16e6e452d604d50.jpg resize: (1080, 1632) 1373458199 -3.2403659407360395 treat image : temp/1753328849_507431_1373458190_c551e1f6f1c72d062b5475495b387e3a.jpg resize: (1080, 1632) 1373458190 -3.193998817004891 treat image : temp/1753328849_507431_1373458173_92acf4f683f613c829071d732546d6dc.jpg resize: (1080, 1632) 1373458173 -4.561481572941629 treat image : temp/1753328849_507431_1373458170_e0dc76b49b6cee7de288a2fea45cf8d4.jpg resize: (1080, 1632) 1373458170 -5.229651715493271 treat image : temp/1753328849_507431_1373458167_f99424f3317466d483218d8643acea74.jpg resize: (1080, 1632) 1373458167 -5.920569222401434 treat image : temp/1753328849_507431_1373458166_99098f3ab9a694265b64f6fb73cc58d2.jpg resize: (1080, 1632) 1373458166 -5.558922714769274 treat image : temp/1753328849_507431_1373458164_14001edec3e9821f29416e9e0821f9d3.jpg resize: (1080, 1632) 1373458164 -5.629996049421065 treat image : temp/1753328849_507431_1373458160_a04df3b4cd1574ac6839bdc20bb1affd.jpg resize: (1080, 1632) 1373458160 -5.349910997974597 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 : 18 time used for this insertion : 0.011940240859985352 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.011892557144165039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014879941940307617 save missing photos in datou_result : time spend for datou_step_exec : 13.139776468276978 time spend to save output : 0.044046878814697266 total time spend for step 1 : 13.183823347091675 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.56user 3.27system 0:19.40elapsed 81%CPU (0avgtext+0avgdata 137784maxresident)k 64inputs+8344outputs (0major+240708minor)pagefaults 0swaps