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 : 1323459 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 : 1215>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/1323459/ 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.756403923034668 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 Tue May 13 06:17: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/1747109848_1323459_1357770090_b372c87b59ebb716483f9d5e73086458.jpg resize: (1080, 1632) 1357770090 -5.926231706933346 treat image : temp/1747109848_1323459_1357770087_2d9f401dd0cb0e5048fd133563ad4bd2.jpg resize: (1080, 1632) 1357770087 -5.406488345435305 treat image : temp/1747109848_1323459_1357770084_92f6d88eaafe343aa9e9d15c608e7749.jpg resize: (1080, 1632) 1357770084 -2.2281583679375125 treat image : temp/1747109848_1323459_1357770083_f3df90b55c4946d94a16c6dc66579dd2.jpg resize: (1080, 1632) 1357770083 -5.076541957401529 treat image : temp/1747109848_1323459_1357770078_94a6cb9a3f2879bd69716d5b6dc162dc.jpg resize: (1080, 1632) 1357770078 -6.0081146075787375 treat image : temp/1747109848_1323459_1357770057_599ccd20f7ba761c6dd6234e8bee7248.jpg resize: (1080, 1632) 1357770057 -1.6525651644546249 treat image : temp/1747109848_1323459_1357770053_77027d0d09c488bf16ad8830a567ff67.jpg resize: (1080, 1632) 1357770053 -2.503206475648372 treat image : temp/1747109848_1323459_1357770051_e7fe9458ba4798b1c6fdc16b3d1f9441.jpg resize: (1080, 1632) 1357770051 -1.431114899729219 treat image : temp/1747109848_1323459_1357770047_2e1a34e6f0b52b831f32a157074c8c43.jpg resize: (1080, 1632) 1357770047 -5.028758904286304 treat image : temp/1747109848_1323459_1357770027_73fc95d83765a9e5f974beb2dbcb4d6a.jpg resize: (1080, 1632) 1357770027 -2.805769297963206 treat image : temp/1747109848_1323459_1357770024_237a713e7e2c980718db095458480c63.jpg resize: (1080, 1632) 1357770024 -5.138768410614447 treat image : temp/1747109848_1323459_1357770022_931b18151b604520478447b8718ec042.jpg resize: (1080, 1632) 1357770022 -1.8338448166204715 treat image : temp/1747109848_1323459_1357770012_cc7dd8f7c44eb53d9d5e28beb6510057.jpg resize: (1080, 1632) 1357770012 -5.097633178012683 treat image : temp/1747109848_1323459_1357770007_26ffcd04fed976dbe0879d27eb148fdb.jpg resize: (1080, 1632) 1357770007 -5.112159670068641 treat image : temp/1747109848_1323459_1357769994_fcbda622378e30f0f81af847b374b248.jpg resize: (1080, 1632) 1357769994 -5.8131693054273725 treat image : temp/1747109848_1323459_1357769992_9791bcead130ef49d01a126d56f33569.jpg resize: (1080, 1632) 1357769992 -2.763987926438389 treat image : temp/1747109848_1323459_1357769989_e3cea9acf0ed6ca3bb9e7df30a1a2aa1.jpg resize: (1080, 1632) 1357769989 -5.602659581866444 treat image : temp/1747109848_1323459_1357769986_bec445107b879fdeeb7d6305b702986a.jpg resize: (1080, 1632) 1357769986 -5.850888652681064 treat image : temp/1747109848_1323459_1357769984_f8cb7d60e8146b4d4f91473d42f4fd63.jpg resize: (1080, 1632) 1357769984 -6.26627293243762 treat image : temp/1747109848_1323459_1357769981_6d05752c4bd69bf380965ef9b3fa96a2.jpg resize: (1080, 1632) 1357769981 -5.66086354834613 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.014579057693481445 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.23998308181762695 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.27991390228271484 save missing photos in datou_result : time spend for datou_step_exec : 18.212546348571777 time spend to save output : 0.557213306427002 total time spend for step 1 : 18.76975965499878 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.13user 5.54system 0:24.25elapsed 85%CPU (0avgtext+0avgdata 137968maxresident)k 12864inputs+9400outputs (51major+264951minor)pagefaults 0swaps