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 : 1187673 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 : 274>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1187673/ 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.2920637130737305 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 Wed May 21 05:52: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/1747799548_1187673_1359962122_1dd2f3a8a6c8964a7e6fa8ba5d4ee825.jpg resize: (1080, 1632) 1359962122 -5.77060605912271 treat image : temp/1747799548_1187673_1359962121_e51ff499cbaa9fabe577600721065f53.jpg resize: (1080, 1632) 1359962121 -5.662219581935825 treat image : temp/1747799548_1187673_1359962118_aa9caad1b8b706cf247a16090e098ead.jpg resize: (1080, 1632) 1359962118 -5.966041133044848 treat image : temp/1747799548_1187673_1359962112_c6d979fd6e88f56dfc40cbd1a7374e8e.jpg resize: (1080, 1632) 1359962112 -4.327284600706681 treat image : temp/1747799548_1187673_1359962103_156c8210dacb669ddc241d85c9d9c47a.jpg resize: (1080, 1632) 1359962103 -4.048226430083915 treat image : temp/1747799548_1187673_1359962077_2f62b9def26870d25a792ef7d4b34376.jpg resize: (1080, 1632) 1359962077 -4.580820231551708 treat image : temp/1747799548_1187673_1359962071_d9af4b0f9987c583bbf65b616860cf22.jpg resize: (1080, 1632) 1359962071 -6.1922469895230305 treat image : temp/1747799548_1187673_1359962069_5ce803f98b73bcaa38533cb7f0ae8f5d.jpg resize: (1080, 1632) 1359962069 -6.1494003456614825 treat image : temp/1747799548_1187673_1359962067_7b2103331ef8560b18c5424205b4a5f2.jpg resize: (1080, 1632) 1359962067 -6.653299332630524 treat image : temp/1747799548_1187673_1359962064_a201c2525d95b9e28577e861bb1bd93e.jpg resize: (1080, 1632) 1359962064 -5.1876649657032425 treat image : temp/1747799548_1187673_1359962062_72a49cb75f0405eacc3ca83b611e9ef2.jpg resize: (1080, 1632) 1359962062 -5.907659247155302 treat image : temp/1747799548_1187673_1359962044_4ca997647236124c643a4d0163b9cbc8.jpg resize: (1080, 1632) 1359962044 -5.406200995996587 treat image : temp/1747799548_1187673_1359962041_62658d249527c66b36153bd871ccb5d4.jpg resize: (1080, 1632) 1359962041 -1.54207006219153 treat image : temp/1747799548_1187673_1359962037_c641c2b5883426168769333f5c11101b.jpg resize: (1080, 1632) 1359962037 -1.5338170732584144 treat image : temp/1747799548_1187673_1359962036_c83a4773a3a6f138210a4330d9886634.jpg resize: (1080, 1632) 1359962036 -2.35713672410923 treat image : temp/1747799548_1187673_1359962022_6403eaa41e3a706e3c87384fb31b3ac8.jpg resize: (1080, 1632) 1359962022 -5.193722171128746 treat image : temp/1747799548_1187673_1359962019_a1c5ec72e520c8b82ec78dd27cecc1cf.jpg resize: (1080, 1632) 1359962019 -5.285337913917616 treat image : temp/1747799548_1187673_1359962017_1ea8c721a13b0ecfe661abf5c7c76047.jpg resize: (1080, 1632) 1359962017 -3.2894058624220706 treat image : temp/1747799548_1187673_1359962014_6c77ea66cea8b40051d0062d99bf7164.jpg resize: (1080, 1632) 1359962014 -5.800711041039234 treat image : temp/1747799548_1187673_1359962011_5fe90df79352a41eab08b62f2937af4b.jpg resize: (1080, 1632) 1359962011 -5.893413190532633 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.013521194458007812 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.014006614685058594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0149993896484375 save missing photos in datou_result : time spend for datou_step_exec : 21.118194103240967 time spend to save output : 0.04784703254699707 total time spend for step 1 : 21.166041135787964 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.93user 8.65system 0:25.52elapsed 92%CPU (0avgtext+0avgdata 136424maxresident)k 64inputs+10288outputs (0major+260009minor)pagefaults 0swaps