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 : 3592751 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 : 4546>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/3592751/ 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.125910520553589 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 09:02:28 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/1751698946_3592751_1370764810_5d25b39bf0d9bb8751e5f63697fcc20b.jpg resize: (1080, 1632) 1370764810 -2.258434728153047 treat image : temp/1751698946_3592751_1370764767_28a5fa91cf7381255a79e3096ed158c9.jpg resize: (1080, 1632) 1370764767 -2.258434728153047 treat image : temp/1751698946_3592751_1370764693_f85a7ee292a039097ceac0fb3c8c34de.jpg resize: (1080, 1632) 1370764693 -2.2807430178058707 treat image : temp/1751698946_3592751_1370764621_b9fd46acf32a7c4d8b10529a0739bb10.jpg resize: (1080, 1632) 1370764621 -2.2807430178058707 treat image : temp/1751698946_3592751_1370764548_f5e0d9f384546a87d69333aec1b2aa27.jpg resize: (1080, 1632) 1370764548 -2.2736856912195376 treat image : temp/1751698946_3592751_1370764486_1206e4daac156590648bb90772d07c76.jpg resize: (1080, 1632) 1370764486 -2.2736856912195376 treat image : temp/1751698946_3592751_1370764442_c1b7e79fadf7d72aa9fa0ae1b6bb35ce.jpg resize: (1080, 1632) 1370764442 -2.2893693584995116 treat image : temp/1751698946_3592751_1370764413_93ca575c5ecd57f2c3858a4592cbc870.jpg resize: (1080, 1632) 1370764413 -2.2893693584995116 treat image : temp/1751698946_3592751_1370764372_bedd3caf70e457f12ba460111f114330.jpg resize: (1080, 1632) 1370764372 -2.289543837707756 treat image : temp/1751698946_3592751_1370764345_e57740f5b1a72c14edc138309eba5941.jpg resize: (1080, 1632) 1370764345 -2.289543837707756 treat image : temp/1751698946_3592751_1370764298_88e0dba515df5c94c7fa34d526de7788.jpg resize: (1080, 1632) 1370764298 -2.3071174553641725 treat image : temp/1751698946_3592751_1370764271_75f00ed43fdf3e6addab1c5715224419.jpg resize: (1080, 1632) 1370764271 -2.3071174553641725 treat image : temp/1751698946_3592751_1370763977_933dd9999c4958048e7d6f649ac391f6.jpg resize: (1080, 1632) 1370763977 -2.315380216790729 treat image : temp/1751698946_3592751_1370763939_02ee66517716d74a8557745a8521da09.jpg resize: (1080, 1632) 1370763939 -2.38025337705791 treat image : temp/1751698946_3592751_1370763892_2eb960f24fd8be4ed6bcc7843ed0d44a.jpg resize: (1080, 1632) 1370763892 -2.3776075462485458 treat image : temp/1751698946_3592751_1370763857_0d0b58681261a329585db100ef95901c.jpg resize: (1080, 1632) 1370763857 -2.337156843337639 treat image : temp/1751698946_3592751_1370763812_e1880bf535055481d97c49029ba877a8.jpg resize: (1080, 1632) 1370763812 -2.3237976654225005 treat image : temp/1751698946_3592751_1370763749_c0699053abb1df0d90908f97125d7cf1.jpg resize: (1080, 1632) 1370763749 -2.207464335603145 treat image : temp/1751698946_3592751_1370763517_774d7b2c409c27614a93c2419559f7ab.jpg resize: (1080, 1632) 1370763517 -2.2598355903277043 treat image : temp/1751698946_3592751_1370763425_9c816cbeea7055c0f77ee24c7546e1f1.jpg resize: (1080, 1632) 1370763425 -2.221860045876054 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.012612581253051758 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.012942790985107422 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014957666397094727 save missing photos in datou_result : time spend for datou_step_exec : 16.906909227371216 time spend to save output : 0.045882463455200195 total time spend for step 1 : 16.952791690826416 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.99user 5.50system 0:20.48elapsed 95%CPU (0avgtext+0avgdata 136560maxresident)k 80inputs+6736outputs (5major+255886minor)pagefaults 0swaps