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 : 4059599 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 : 3129>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/4059599/ 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.8615238666534424 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 Mon May 12 22:12:30 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/1747080747_4059599_1357731625_a335de08bad5d2341f04f10ef30d6aa5.jpg resize: (1080, 1632) 1357731625 -5.949157192194049 treat image : temp/1747080747_4059599_1357731589_e3ad761660341cf2233cbaf2795ea97e.jpg resize: (1080, 1632) 1357731589 -5.193214959055645 treat image : temp/1747080747_4059599_1357731267_ba41f78041ddceaf8cbca99a3ef368ac.jpg resize: (1080, 1632) 1357731267 -6.007213379702091 treat image : temp/1747080747_4059599_1357731143_79db5c22c43a1d1f041c6e9bb2b9d211.jpg resize: (1080, 1632) 1357731143 -6.001979543794323 treat image : temp/1747080747_4059599_1357731098_ca75ff5c81aa1a18d5a80274fcf0f2a9.jpg resize: (1080, 1632) 1357731098 -5.889791899869871 treat image : temp/1747080747_4059599_1357731022_0ef837978b47a167a09f47e035f3a008.jpg resize: (1080, 1632) 1357731022 -5.6924909915360855 treat image : temp/1747080747_4059599_1357730964_3419f75440f614bb2353c10fb8d6e922.jpg resize: (1080, 1632) 1357730964 -5.231542007275645 treat image : temp/1747080747_4059599_1357730549_234b667683211c424036b0ed9600f7b7.jpg resize: (1080, 1632) 1357730549 -4.043336085285256 treat image : temp/1747080747_4059599_1357730492_c21961462a3d65a33436ab8facf9123f.jpg resize: (1080, 1632) 1357730492 -5.113767709440559 treat image : temp/1747080747_4059599_1357730439_b2bec7d907f6eebff8f25eb0ee67bb7b.jpg resize: (1080, 1632) 1357730439 -2.4371311046972526 treat image : temp/1747080747_4059599_1357730382_060c5ad25113bd4262f487ec527d249f.jpg resize: (1080, 1632) 1357730382 -5.790486583508866 treat image : temp/1747080747_4059599_1357729951_0bca1aa6c4c190093c352508db7734ea.jpg resize: (1080, 1632) 1357729951 -6.132533123817349 treat image : temp/1747080747_4059599_1357729948_50ed1d232358860fee56866e748d2a9e.jpg resize: (1080, 1632) 1357729948 -1.9127667002334072 treat image : temp/1747080747_4059599_1357729912_09ee7cf763ca88ad6b4641a2c7371a16.jpg resize: (1080, 1632) 1357729912 -1.7719536320240588 treat image : temp/1747080747_4059599_1357729791_d92a2901d9184730648217800a13764e.jpg resize: (1080, 1632) 1357729791 -5.783936570497636 treat image : temp/1747080747_4059599_1357729789_b6c33cf4f58f5711e8c16ed4afd74a56.jpg resize: (1080, 1632) 1357729789 -2.9176685993254137 treat image : temp/1747080747_4059599_1357729772_955d50af4a3c58b46349e52771c37b18.jpg resize: (1080, 1632) 1357729772 -4.938351859724734 treat image : temp/1747080747_4059599_1357729763_df61dc589eef0c8dab5fdc5f5e73f1a6.jpg resize: (1080, 1632) 1357729763 -4.997866514494181 treat image : temp/1747080747_4059599_1357729674_0825387b2071c3bbb5b17e9a6c3cccaf.jpg resize: (1080, 1632) 1357729674 -5.786261430623875 treat image : temp/1747080747_4059599_1357729637_860938a4c16eb6fca355ab09d78bb9af.jpg resize: (1080, 1632) 1357729637 -6.017258040129828 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.014761209487915039 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.012519598007202148 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013912677764892578 save missing photos in datou_result : time spend for datou_step_exec : 18.622472524642944 time spend to save output : 0.046061038970947266 total time spend for step 1 : 18.66853356361389 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 6.43system 0:24.24elapsed 88%CPU (0avgtext+0avgdata 139032maxresident)k 17800inputs+10024outputs (117major+258273minor)pagefaults 0swaps