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 : 822299 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 : 4542>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/822299/ 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 : 3.1565165519714355 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 Jul 30 18:57: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/1753894647_822299_1374453281_afd2709f419f0cc085d9619448262ae4.jpg resize: (1080, 1632) 1374453281 -2.641635346338368 treat image : temp/1753894647_822299_1374453279_52f8c8eb96948aa8c6418ad2a5cd7aa7.jpg resize: (1080, 1632) 1374453279 -2.637882442170441 treat image : temp/1753894647_822299_1374453277_d96a29d410635a2f276e774f7ce47fa8.jpg resize: (1080, 1632) 1374453277 -2.617436861541875 treat image : temp/1753894647_822299_1374453275_06a332621160decf3385376e4e0067fe.jpg resize: (1080, 1632) 1374453275 -2.6373644355910173 treat image : temp/1753894647_822299_1374453273_31f8f56f83cc161d106cbfc49015a590.jpg resize: (1080, 1632) 1374453273 -2.481398978269283 treat image : temp/1753894647_822299_1374453253_4b9a94d06fa77e847f6db51a04b19603.jpg resize: (1080, 1632) 1374453253 -2.136857352808274 treat image : temp/1753894647_822299_1374453251_2b3c100f691e99ec13edd6ebae6a2ea9.jpg resize: (1080, 1632) 1374453251 -2.165088590643754 treat image : temp/1753894647_822299_1374453250_8777c24e3240fef63d0ee9a07af14d9a.jpg resize: (1080, 1632) 1374453250 -2.2116087522172356 treat image : temp/1753894647_822299_1374453249_62d0a9865b7ff8deddba0fe86b9be660.jpg resize: (1080, 1632) 1374453249 -2.7106872839013216 treat image : temp/1753894647_822299_1374453248_fd19e9660ce4cc0885f3b0e78abb7f97.jpg resize: (1080, 1632) 1374453248 -2.4882951590432256 treat image : temp/1753894647_822299_1374453247_c07c6f2a08f0882804cda73f03a37923.jpg resize: (1080, 1632) 1374453247 -2.3885173614003383 treat image : temp/1753894647_822299_1374453230_752addded2eecdfcdbe0d65d054805a2.jpg resize: (1080, 1632) 1374453230 -2.226520594595904 treat image : temp/1753894647_822299_1374453228_082aa42daa58ac64a246d76a582e8a4b.jpg resize: (1080, 1632) 1374453228 -2.6761917691359467 treat image : temp/1753894647_822299_1374453227_77119315620fb063c8776692a70c8e76.jpg resize: (1080, 1632) 1374453227 -2.2127067957207296 treat image : temp/1753894647_822299_1374453226_4b24d23197f9ecaab7769eff70741b09.jpg resize: (1080, 1632) 1374453226 -2.4092689801232496 treat image : temp/1753894647_822299_1374453225_ed200d95111db2c78a1140f574ab349a.jpg resize: (1080, 1632) 1374453225 -2.287164482343988 treat image : temp/1753894647_822299_1374453224_4367352be4744b367090f6475f0aa2e7.jpg resize: (1080, 1632) 1374453224 -2.113272541076338 treat image : temp/1753894647_822299_1374453207_822006818d3f920d882c80bb955155b3.jpg resize: (1080, 1632) 1374453207 -5.859561584306179 treat image : temp/1753894647_822299_1374453206_0a01c44fbe595f71bb61e600f441836e.jpg resize: (1080, 1632) 1374453206 -4.4156193463906135 treat image : temp/1753894647_822299_1374453204_5f634c6e4657aa3bddd5946f5bae8477.jpg resize: (1080, 1632) 1374453204 -5.0506281481430175 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.03527379035949707 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.03577136993408203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03623032569885254 save missing photos in datou_result : time spend for datou_step_exec : 14.487411499023438 time spend to save output : 0.12378311157226562 total time spend for step 1 : 14.611194610595703 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.80user 3.02system 0:19.82elapsed 84%CPU (0avgtext+0avgdata 138136maxresident)k 736inputs+7688outputs (16major+204383minor)pagefaults 0swaps