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 : 3262124 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 : 7890>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/3262124/ 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.269343137741089 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 Jul 5 06: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/1751689047_3262124_1370742736_6b46e1f68b6f4bbd617c908e47f93799.jpg resize: (1080, 1632) 1370742736 -6.0109298526457815 treat image : temp/1751689047_3262124_1370742731_2873e61b82fecc796f7e268d88a59dae.jpg resize: (1080, 1632) 1370742731 -5.025310182530725 treat image : temp/1751689047_3262124_1370742727_381e1992ed73e48f75a184852474d254.jpg resize: (1080, 1632) 1370742727 -5.563692790960588 treat image : temp/1751689047_3262124_1370742724_d776e53163ddef01b58164e20b1ce73c.jpg resize: (1080, 1632) 1370742724 -5.693075923711302 treat image : temp/1751689047_3262124_1370742719_b961626ceffbd88126e261b54a3367ba.jpg resize: (1080, 1632) 1370742719 -5.90015499877221 treat image : temp/1751689047_3262124_1370742714_69248487750c74666358ea9b097691b1.jpg resize: (1080, 1632) 1370742714 -5.880312289067467 treat image : temp/1751689047_3262124_1370742706_06dd50f9073ae3ad29e741269307e143.jpg resize: (1080, 1632) 1370742706 -5.622608870874482 treat image : temp/1751689047_3262124_1370742704_c9393b2a24ea70c1c5f5a7bf81ba9cb0.jpg resize: (1080, 1632) 1370742704 -5.621693028850406 treat image : temp/1751689047_3262124_1370742703_3718dc825e8e7544b944f1386cb7a2c9.jpg resize: (1080, 1632) 1370742703 -5.142727751531452 treat image : temp/1751689047_3262124_1370742699_51e52162ae47784a9363379afea2a047.jpg resize: (1080, 1632) 1370742699 -2.14701732501708 treat image : temp/1751689047_3262124_1370742696_fecf6cab8df9499f0979d37d1a21b10b.jpg resize: (1080, 1632) 1370742696 -3.167379730678371 treat image : temp/1751689047_3262124_1370742693_b4249da38b840fd81e3613bb21b7a888.jpg resize: (1080, 1632) 1370742693 -3.227985650854595 treat image : temp/1751689047_3262124_1370742683_ab89be96cf1821d8a991070b22ba642c.jpg resize: (1080, 1632) 1370742683 -3.2434031317647807 treat image : temp/1751689047_3262124_1370742680_d3f55964558846bfb5826ac12efc022a.jpg resize: (1080, 1632) 1370742680 -2.9426073097537877 treat image : temp/1751689047_3262124_1370742677_3981c61a988b1551389a46aa546e2b8e.jpg resize: (1080, 1632) 1370742677 -2.9525858900564432 treat image : temp/1751689047_3262124_1370742672_b9bd3794b979d771a0a30ed7dbf6f1e1.jpg resize: (1080, 1632) 1370742672 -4.202056257359597 treat image : temp/1751689047_3262124_1370742667_444141d7073fe7dae47568558e4f2cf5.jpg resize: (1080, 1632) 1370742667 -4.201703809842548 treat image : temp/1751689047_3262124_1370742664_0a8ad9ead0d741b074967a30928ed6b9.jpg resize: (1080, 1632) 1370742664 -5.495419444144509 treat image : temp/1751689047_3262124_1370742574_0d15ae3edb1b38e1bd81b79dc24ccf48.jpg resize: (1080, 1632) 1370742574 -3.0900615555519853 treat image : temp/1751689047_3262124_1370742572_f0aac5e850f3a0637fbcac8f86762402.jpg resize: (1080, 1632) 1370742572 -3.060253899940333 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.016906023025512695 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.026296615600585938 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.026427030563354492 save missing photos in datou_result : time spend for datou_step_exec : 15.290225744247437 time spend to save output : 0.07429289817810059 total time spend for step 1 : 15.364518642425537 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.10user 3.65system 0:20.28elapsed 87%CPU (0avgtext+0avgdata 137252maxresident)k 40inputs+9064outputs (7major+259507minor)pagefaults 0swaps