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 : 2613978 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 : 6635>100 please execute split_portfolio.py -i 25155834 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3316381'] with mtr_portfolio_ids : ['25155834'] and first list_photo_ids : [] new path : /proc/2613978/ 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.3408493995666504 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 Sat Aug 2 03:42: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/1754098949_2613978_1374858486_e686dd9aa125a0b95c9fc513e5b10717.jpg resize: (1080, 1632) 1374858486 -5.316948451923174 treat image : temp/1754098949_2613978_1374858482_d3767b807fe8f36815678a161af140a4.jpg resize: (1080, 1632) 1374858482 -2.62659838538634 treat image : temp/1754098949_2613978_1374858461_e1c05eb4a90d7cb947184dda2734dc6f.jpg resize: (1080, 1632) 1374858461 -4.3493991747672 treat image : temp/1754098949_2613978_1374858460_671791c3e1b1b6c972c81bf71b0ce7b2.jpg resize: (1080, 1632) 1374858460 -0.2385452121797834 treat image : temp/1754098949_2613978_1374858459_05faa42b30f2a7cb5f45427ab0ef475a.jpg resize: (1080, 1632) 1374858459 -2.3089651403327554 treat image : temp/1754098949_2613978_1374858457_6e534a8eb8731e8f0b638d0539296ace.jpg resize: (1080, 1632) 1374858457 -1.343623338139745 treat image : temp/1754098949_2613978_1374858382_d4ef412bfb53461da00d42d6165e2911.jpg resize: (1080, 1632) 1374858382 -3.9797733071531627 treat image : temp/1754098949_2613978_1374858379_35e34f3234a776cee302149ac890a038.jpg resize: (1080, 1632) 1374858379 -4.280393375100417 treat image : temp/1754098949_2613978_1374858377_b23afc9ed59d19d7bf8169695aab5630.jpg resize: (1080, 1632) 1374858377 -4.310763384543051 treat image : temp/1754098949_2613978_1374858375_ef6026af7d201ac4fd4d43ceef91493d.jpg resize: (1080, 1632) 1374858375 -4.310790873580126 treat image : temp/1754098949_2613978_1374858373_44d5f7393a9f7d93f7441c68f6ea0670.jpg resize: (1080, 1632) 1374858373 -6.04590458943913 treat image : temp/1754098949_2613978_1374858371_2218e91eb4b8574db9110e473719e523.jpg resize: (1080, 1632) 1374858371 -5.889893320687888 treat image : temp/1754098949_2613978_1374858297_25c5eea511c674d11e667e6f3c1d6ec8.jpg resize: (1080, 1632) 1374858297 -5.294500899962983 treat image : temp/1754098949_2613978_1374858294_db13d14b46a65da9015b096bda37d624.jpg resize: (1080, 1632) 1374858294 -5.228989211256547 treat image : temp/1754098949_2613978_1374858291_e0bed3c9e78fe713c072970a910fa5be.jpg resize: (1080, 1632) 1374858291 -4.788456199430488 treat image : temp/1754098949_2613978_1374858290_524ccce21bea9f63faf791700f3e2bbc.jpg resize: (1080, 1632) 1374858290 -5.258144276603216 treat image : temp/1754098949_2613978_1374858287_aef37a1ea0d5ccffa93c5d6fcd03c924.jpg resize: (1080, 1632) 1374858287 -5.024839440542726 treat image : temp/1754098949_2613978_1374858285_0d3006ad4a271bc62a8e11b814fd90e0.jpg resize: (1080, 1632) 1374858285 -5.447468384482276 treat image : temp/1754098949_2613978_1374858226_52e316bfd504f5da9d64ec69859a4b21.jpg resize: (1080, 1632) 1374858226 -5.294500899962983 treat image : temp/1754098949_2613978_1374858224_6c8208cb77e467c3748f0286317a1a46.jpg resize: (1080, 1632) 1374858224 -5.228989211256547 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.014508485794067383 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.01194453239440918 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015124082565307617 save missing photos in datou_result : time spend for datou_step_exec : 17.03872036933899 time spend to save output : 0.046953439712524414 total time spend for step 1 : 17.085673809051514 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.37user 4.84system 0:23.60elapsed 81%CPU (0avgtext+0avgdata 137520maxresident)k 2160inputs+9096outputs (35major+259612minor)pagefaults 0swaps