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 : 3941736 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 : 4480>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/3941736/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.2950761318206787 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 Fri Jul 18 19:47:31 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/1752860849_3941736_1372650540_eb9d67cda43ef019e7839e8e351b2e9c.jpg resize: (1080, 1632) 1372650540 -5.023253115514604 treat image : temp/1752860849_3941736_1372650525_81bc1fbaef464e656a14fc5eaafa7828.jpg resize: (1080, 1632) 1372650525 -5.310504700547186 treat image : temp/1752860849_3941736_1372650514_4f700b3aa72ecc477cb14ff68c4f060c.jpg resize: (1080, 1632) 1372650514 -5.31463582317663 treat image : temp/1752860849_3941736_1372650485_9dddfb807c21850fa182dc455c0a5a89.jpg resize: (1080, 1632) 1372650485 -5.462764589240201 treat image : temp/1752860849_3941736_1372650482_e8c8cbfcbcb6711bb200ba7a8668d09a.jpg resize: (1080, 1632) 1372650482 -5.664264511320666 treat image : temp/1752860849_3941736_1372650467_fee487f32203aca1539c0229b04cf944.jpg resize: (1080, 1632) 1372650467 -4.165376398006211 treat image : temp/1752860849_3941736_1372650342_e64d9f3ce0927b8bbd319670ef5a468d.jpg resize: (1080, 1632) 1372650342 -6.0455178924910005 treat image : temp/1752860849_3941736_1372650338_14be726189e281ad00188a88a9096121.jpg resize: (1080, 1632) 1372650338 -4.730678190108531 treat image : temp/1752860849_3941736_1372650335_5a9e4f1ac2c8f7755ef38c627ee96f4a.jpg resize: (1080, 1632) 1372650335 -5.540201836155207 treat image : temp/1752860849_3941736_1372650331_c5fcdbc97bc0789afd2c8b68d38fac2a.jpg resize: (1080, 1632) 1372650331 -5.5300966489517 treat image : temp/1752860849_3941736_1372650323_5b44c8183b394467a2df0c11bc3ed288.jpg resize: (1080, 1632) 1372650323 -5.896122566273011 treat image : temp/1752860849_3941736_1372650317_0ef93543164c5bbe50802c054bff2342.jpg resize: (1080, 1632) 1372650317 -5.465295953549173 treat image : temp/1752860849_3941736_1372650297_19846ac0bad4ffc663c57bc320f1a4a2.jpg resize: (1080, 1632) 1372650297 -3.4683218149605053 treat image : temp/1752860849_3941736_1372650294_86bcae10162db45be52815edecf3abfd.jpg resize: (1080, 1632) 1372650294 -4.926343455761154 treat image : temp/1752860849_3941736_1372650291_9a7161fba5a31dd088f5da5bddd40c7c.jpg resize: (1080, 1632) 1372650291 -5.7547374159327696 treat image : temp/1752860849_3941736_1372650273_9cde3439101507c0a518a35ba604409a.jpg resize: (1080, 1632) 1372650273 -5.7486510008719565 treat image : temp/1752860849_3941736_1372650246_039e0342974fa2a470197b465ab11736.jpg resize: (1080, 1632) 1372650246 -5.762578402929591 treat image : temp/1752860849_3941736_1372650239_07d924a8bccd13ccdede8f19d463284a.jpg resize: (1080, 1632) 1372650239 -5.893310689141467 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 : 18 time used for this insertion : 0.013738870620727539 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012798547744750977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015047073364257812 save missing photos in datou_result : time spend for datou_step_exec : 14.971144914627075 time spend to save output : 0.047510623931884766 total time spend for step 1 : 15.01865553855896 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.68user 3.78system 0:20.53elapsed 85%CPU (0avgtext+0avgdata 139032maxresident)k 112inputs+9680outputs (16major+242475minor)pagefaults 0swaps