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 : 4034567 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 : 8348>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/4034567/ 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.3967652320861816 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 Aug 1 01:57:32 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/1754006250_4034567_1374698675_986af3935fe075ebaa1926dbbc805c03.jpg resize: (1080, 1632) 1374698675 -3.5993345539344768 treat image : temp/1754006250_4034567_1374698673_03949875177461d1736476f9cfda4e4e.jpg resize: (1080, 1632) 1374698673 -4.074310082246072 treat image : temp/1754006250_4034567_1374698672_e788d3091d3d544c5530994f05ca9db8.jpg resize: (1080, 1632) 1374698672 -4.68710841544792 treat image : temp/1754006250_4034567_1374698670_15e4809460161cd6b86a909737c83e89.jpg resize: (1080, 1632) 1374698670 -2.951715144817011 treat image : temp/1754006250_4034567_1374698668_cacdd13c72dad72dd34cab87a033304a.jpg resize: (1080, 1632) 1374698668 -5.738642462441056 treat image : temp/1754006250_4034567_1374698666_d3aa0d1f65fe193b3a4227cc18869d6f.jpg resize: (1080, 1632) 1374698666 -1.4269664296867124 treat image : temp/1754006250_4034567_1374698634_21209d820802cb0c330490c085f23edd.jpg resize: (1080, 1632) 1374698634 -3.123157612201667 treat image : temp/1754006250_4034567_1374698631_5c7e3bf108745b045182cef20a446b04.jpg resize: (1080, 1632) 1374698631 -5.073991682015728 treat image : temp/1754006250_4034567_1374698629_40fca9a0f2e0b2b8eafbc2274432931c.jpg resize: (1080, 1632) 1374698629 -5.459200769146922 treat image : temp/1754006250_4034567_1374698627_eca3bdc050920829d639611e5263deee.jpg resize: (1080, 1632) 1374698627 -5.386455444253973 treat image : temp/1754006250_4034567_1374698625_0671676e4bdfc162963a3592e51ba971.jpg resize: (1080, 1632) 1374698625 -2.943421034527777 treat image : temp/1754006250_4034567_1374698623_899879b07650aae1232636634afbd45c.jpg resize: (1080, 1632) 1374698623 -2.9895235975781653 treat image : temp/1754006250_4034567_1374698516_02760f81a6037c8e0e973b863b8de9fc.jpg resize: (1080, 1632) 1374698516 -3.123157612201667 treat image : temp/1754006250_4034567_1374698514_759f4f908cd9d428da0435ab0053107f.jpg resize: (1080, 1632) 1374698514 -5.073991682015728 treat image : temp/1754006250_4034567_1374698511_2da2536c89d7d62673995e8dc0be734c.jpg resize: (1080, 1632) 1374698511 -5.459200769146922 treat image : temp/1754006250_4034567_1374698510_529e8712d91c6549111b312e7f912c40.jpg resize: (1080, 1632) 1374698510 -5.386455444253973 treat image : temp/1754006250_4034567_1374698508_15f16ea6ecbbe5fdeb86d46e87a0c03d.jpg resize: (1080, 1632) 1374698508 -2.943421034527777 treat image : temp/1754006250_4034567_1374698506_bbc9cf493ac001f45e8e18c62b6e7c56.jpg resize: (1080, 1632) 1374698506 -2.9895235975781653 treat image : temp/1754006250_4034567_1374698470_ba9d5880478130c3194ce18806bbf594.jpg resize: (1080, 1632) 1374698470 -2.2858606567848105 treat image : temp/1754006250_4034567_1374698468_a1e063793cd741d24f72f593db8fe817.jpg resize: (1080, 1632) 1374698468 -4.486763935409387 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.011880159378051758 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.017858266830444336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.09823346138000488 save missing photos in datou_result : time spend for datou_step_exec : 13.564171314239502 time spend to save output : 0.13317537307739258 total time spend for step 1 : 13.697346687316895 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.87user 2.07system 0:20.30elapsed 78%CPU (0avgtext+0avgdata 138936maxresident)k 72inputs+8624outputs (3major+157077minor)pagefaults 0swaps