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 : 3698241 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 : 3996>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/3698241/ 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.5859904289245605 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 18:17: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/1752855449_3698241_1372640205_f36616a86f4552e917e64ddb75c700e1.jpg resize: (1080, 1632) 1372640205 -1.7425573922406106 treat image : temp/1752855449_3698241_1372640203_e87575d9da07bc03434dabe1d7d16c56.jpg resize: (1080, 1632) 1372640203 -2.9722874096816723 treat image : temp/1752855449_3698241_1372640201_b322e6af5f4f55933aad2d8bc47bd3d9.jpg resize: (1080, 1632) 1372640201 -2.9681721873195372 treat image : temp/1752855449_3698241_1372640200_cd4c7a5599696dcaf2fa78102166b33e.jpg resize: (1080, 1632) 1372640200 -2.9804116709494455 treat image : temp/1752855449_3698241_1372640197_52d2ae389272399e20a3b4ac696f6579.jpg resize: (1080, 1632) 1372640197 -1.9732124608965416 treat image : temp/1752855449_3698241_1372640193_e36d7bf1c3c7b46d1f31b99b55e8bff9.jpg resize: (1080, 1632) 1372640193 -2.897769975254783 treat image : temp/1752855449_3698241_1372640166_0e33535fae56c629d46a5cdbe49494d5.jpg resize: (1080, 1632) 1372640166 -5.3610704006326815 treat image : temp/1752855449_3698241_1372640161_e542a0cac44bed995d08ed6d476105bd.jpg resize: (1080, 1632) 1372640161 -5.3403483790847 treat image : temp/1752855449_3698241_1372640158_3d77ffad26b8be1a58e02d7692502306.jpg resize: (1080, 1632) 1372640158 -3.7735692560231455 treat image : temp/1752855449_3698241_1372640155_250a44d9f1c344d9eab6c5325c9797e2.jpg resize: (1080, 1632) 1372640155 -5.364714781558207 treat image : temp/1752855449_3698241_1372640152_48a4d37877fb8330582019b87df40ef5.jpg resize: (1080, 1632) 1372640152 -5.062262560380976 treat image : temp/1752855449_3698241_1372640150_fce92f0dbf7ff716a478a8a4c0d71efb.jpg resize: (1080, 1632) 1372640150 -3.81178908804157 treat image : temp/1752855449_3698241_1372630603_2ffe377bf115e7a71c24b06a0b41816a.jpg resize: (1080, 1632) 1372630603 -5.187355745787831 treat image : temp/1752855449_3698241_1372630601_b33c33e7f47a8b48592c3fb3f5c59810.jpg resize: (1080, 1632) 1372630601 -5.6018789964295825 treat image : temp/1752855449_3698241_1372630598_672151e1d0700ab13588839ebd3f90e1.jpg resize: (1080, 1632) 1372630598 -5.5873155504274905 treat image : temp/1752855449_3698241_1372630595_d60b73cbc340e0dce73c31b126435f6d.jpg resize: (1080, 1632) 1372630595 -5.874048567690153 treat image : temp/1752855449_3698241_1372630591_cd6087502058b6458a5fd5e0ab8b7bef.jpg resize: (1080, 1632) 1372630591 -5.643501227165349 treat image : temp/1752855449_3698241_1372630588_248be95e3402b99d3340bbff029db669.jpg resize: (1080, 1632) 1372630588 -5.955644258967941 treat image : temp/1752855449_3698241_1372630568_8dc817101c8b03578c51d30564422a73.jpg resize: (1080, 1632) 1372630568 -1.8048767913380024 treat image : temp/1752855449_3698241_1372630564_5e62806af4d401dac1ffa1c74866962a.jpg resize: (1080, 1632) 1372630564 -1.8784247052953686 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.01587510108947754 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.011829853057861328 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013440132141113281 save missing photos in datou_result : time spend for datou_step_exec : 19.598517656326294 time spend to save output : 0.04581904411315918 total time spend for step 1 : 19.644336700439453 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 7.51system 0:25.88elapsed 85%CPU (0avgtext+0avgdata 139224maxresident)k 120inputs+8856outputs (13major+255809minor)pagefaults 0swaps